From: Stefan Pluecken Date: Fri, 11 Nov 2005 22:05:26 +0000 (+0000) Subject: make it compatible with 7020 again (should be removed in the final version) X-Git-Tag: 2.6.0~5319 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/3d054bf2cc5942ca6e15c8944b4d927d85903713 make it compatible with 7020 again (should be removed in the final version) --- diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index b8debd81..022b9095 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -637,9 +637,9 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where) if (res) return res; #if HAVE_DVB_API_VERSION < 3 - eDebug("tuning to %d mhz", parm.Frequency/1000); + eDebug("tuning to %d mhz", parm.Frequency/100); #else - eDebug("tuning to %d mhz", parm.frequency/1000); + eDebug("tuning to %d mhz", parm.frequency/100); #endif break; } 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()