1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

No longer setting lnb voltage if the frontend is not DVB-S

This commit is contained in:
Klaus Schmidinger 2004-06-05 14:37:26 +02:00
parent 32e9db211d
commit 41c96300f1
3 changed files with 6 additions and 2 deletions

View File

@ -1015,3 +1015,4 @@ Wayne Keer <syphir@syphir.sytes.net>
Marco Schlüßler <marco@lordzodiac.de> Marco Schlüßler <marco@lordzodiac.de>
for fixing handling colors in cDvbSpuPalette::yuv2rgb() for fixing handling colors in cDvbSpuPalette::yuv2rgb()
for fixing setting lnb voltage if the frontend is not DVB-S

View File

@ -2881,3 +2881,5 @@ Video Disk Recorder Revision History
texts (suggested by Sascha Volkenandt). texts (suggested by Sascha Volkenandt).
- The cBitmap::SetXpm() function now ignores unused "none" color entries, which - The cBitmap::SetXpm() function now ignores unused "none" color entries, which
some broken graphics tools write into XPM files (suggested by Sascha Volkenandt). 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbdevice.h"
@ -101,7 +101,8 @@ cDvbTuner::cDvbTuner(int Fd_Frontend, int CardIndex, fe_type_t FrontendType, cCi
useCa = false; useCa = false;
tunerStatus = tsIdle; tunerStatus = tsIdle;
startTime = time(NULL); 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); SetDescription("tuner on device %d", cardIndex + 1);
Start(); Start();
} }