X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/38ff0ca06ff4cdf7ff7d94211f4be533c53dcc83..3d054bf2cc5942ca6e15c8944b4d927d85903713:/lib/python/Components/NimManager.py diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index f04d076d..53c6b62c 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -132,7 +132,14 @@ class NimManager: nimfile = tryOpen("/proc/bus/nim_sockets") if nimfile == "": - return self.nimType["empty/unknown"] + # FIXME: remove this in the final version + # check if we have a device for 7020 comp?atibility reasons + try: + open("/dev/dvb/card0/frontend" + str(slotID)) + return self.nimType["DVB-S"] + except IOError: + return self.nimType["empty/unknown"] + while 1: line = nimfile.readline()