summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-05 14:37:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-05 14:37:26 +0200
commit41c96300f13fc1b3b709e0162d3dea3c6c7cf968 (patch)
tree652dbcbe86ede6bd2836ef5b90472b276295c293
parent32e9db211d15676861ed005a07fc96ede6cef275 (diff)
downloadvdr-41c96300f13fc1b3b709e0162d3dea3c6c7cf968.tar.gz
vdr-41c96300f13fc1b3b709e0162d3dea3c6c7cf968.tar.bz2
No longer setting lnb voltage if the frontend is not DVB-S
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c5
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
diff --git a/HISTORY b/HISTORY
index c3109669..7b66dc58 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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();
}