From faea9fed916712f0bc1bae0ba405d4d99ac4f401 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Mar 2004 14:47:46 +0100 Subject: Now explicitly turning on the LNB power at startup --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ dvbdevice.c | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 05fcd76b..1f722319 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -514,6 +514,8 @@ Oliver Endriss for suggesting to add 'repeat' function keys '7' and '9' for fixing handling rc key learning in case cRemote::Initialize() returns 'false' for suggesting to change the default "Lifetime" to 99 + for pointing out that the LNB power needs to be explicitly turned on at startup, + because newer drivers don't do this any more Reinhard Walter Buchner for adding some satellites to 'sources.conf' diff --git a/HISTORY b/HISTORY index fdafdfd5..6bd77457 100644 --- a/HISTORY +++ b/HISTORY @@ -2743,3 +2743,5 @@ Video Disk Recorder Revision History cSchedule::Events() that returns the list of events directly. - Avoiding occasional bad responsiveness to user interaction caused by assigning events to timers. +- Now explicitly turning on the LNB power at startup, because newer drivers don't + do this any more (thanks to Oliver Endriss for pointing this out). diff --git a/dvbdevice.c b/dvbdevice.c index 8ed62e1f..6e1d7f95 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.82 2004/02/24 10:12:13 kls Exp $ + * $Id: dvbdevice.c 1.83 2004/03/14 14:47:46 kls Exp $ */ #include "dvbdevice.h" @@ -101,6 +101,7 @@ 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 SetDescription("tuner on device %d", cardIndex + 1); Start(); } -- cgit v1.2.3