diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-26 21:46:10 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-26 21:46:10 +0000 |
| commit | 8b6a8658b1ea5aa358947a488c80eff75295d0fb (patch) | |
| tree | b90badb653ba5e53b3251ea74d2febc601395bd7 /lib/python/Components/NimManager.py | |
| parent | 31ee53b29f079a6e20688e20832896b497b19478 (diff) | |
| download | enigma2-8b6a8658b1ea5aa358947a488c80eff75295d0fb.tar.gz enigma2-8b6a8658b1ea5aa358947a488c80eff75295d0fb.zip | |
add 5V handling for active DVB-T antennas (needs new drivers)
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 8454bbe5..a4bcb80b 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -641,6 +641,8 @@ class NimManager: pass def InitNimManager(nimmgr): + have_terrestrial_tuner = False + config.terrestrial = ConfigSubsection() config.Nims = [] for x in range(nimmgr.nimCount): config.Nims.append(ConfigSubsection()) @@ -765,6 +767,7 @@ def InitNimManager(nimmgr): elif slot.nimType == nimmgr.nimType["DVB-C"]: nim.cable = configElement(cname + "cable", configSelection, 0, nimmgr.cablesList, False); elif slot.nimType == nimmgr.nimType["DVB-T"]: + have_terrestrial_tuner = True list = [] for x in nimmgr.terrestrialsList: list.append(x[0]) @@ -772,6 +775,9 @@ def InitNimManager(nimmgr): else: print "pls add support for this frontend type!" + if have_terrestrial_tuner: + config.terrestrial.enable_5V = configElement("config.terrestrial.enable_5V", configSelection, 1, (("yes", _("Yes")), ("no", _("No"))), True); + nimmgr.sec = SecConfigure(nimmgr) nimmanager = NimManager() |
