diff options
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | dvbdevice.c | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 49bff58b..0c3b3b11 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1015,3 +1015,4 @@ Wayne Keer <syphir@syphir.sytes.net> Marco Schlüßler <marco@lordzodiac.de> for fixing handling colors in cDvbSpuPalette::yuv2rgb() + for fixing setting lnb voltage if the frontend is not DVB-S @@ -2881,3 +2881,5 @@ Video Disk Recorder Revision History texts (suggested by Sascha Volkenandt). - The cBitmap::SetXpm() function now ignores unused "none" color entries, which some broken graphics tools write into XPM files (suggested by Sascha Volkenandt). +- No longer setting lnb voltage if the frontend is not DVB-S (thanks to Marco + Schlüßler). diff --git a/dvbdevice.c b/dvbdevice.c index cb143a6d..5f50cde1 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.86 2004/05/23 10:11:42 kls Exp $ + * $Id: dvbdevice.c 1.87 2004/06/05 14:35:36 kls Exp $ */ #include "dvbdevice.h" @@ -101,7 +101,8 @@ cDvbTuner::cDvbTuner(int Fd_Frontend, int CardIndex, fe_type_t FrontendType, cCi useCa = false; tunerStatus = tsIdle; startTime = time(NULL); - CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power + if (frontendType == FE_QPSK) + CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, SEC_VOLTAGE_13)); // must explicitly turn on LNB power SetDescription("tuner on device %d", cardIndex + 1); Start(); } |