aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-10-06 09:43:35 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-10-06 09:43:35 +0200
commitfe72b7929c2f0b5dbac3040b303d195923735fc8 (patch)
tree6234f695e635e88d448993243ce0b01caf58efbb /lib/python/Components/NimManager.py
parent0edde94c71828b4cbb95bbfb7011b6b966562742 (diff)
downloadenigma2-fe72b7929c2f0b5dbac3040b303d195923735fc8.tar.gz
enigma2-fe72b7929c2f0b5dbac3040b303d195923735fc8.zip
fixes bug #593
use i2c_device from /proc/bus/nim_sockets for automatic cable scan
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index f934ed50..67a1abc8 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -769,6 +769,9 @@ class NimManager:
def getNim(self, slotid):
return self.nim_slots[slotid]
+
+ def getI2CDevice(self, slotid):
+ return self.nim_slots[slotid].getI2C()
def getNimListOfType(self, type, exception = -1):
# returns a list of indexes for NIMs compatible to the given type, except for 'exception'