Now explicitly turning on the LNB power at startup

This commit is contained in:
Klaus Schmidinger 2004-03-14 14:47:46 +01:00
parent 3901e9e3e3
commit faea9fed91
3 changed files with 6 additions and 1 deletions

View File

@ -514,6 +514,8 @@ Oliver Endriss <o.endriss@gmx.de>
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 <rw.buchner@freenet.de>
for adding some satellites to 'sources.conf'

View File

@ -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).

View File

@ -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();
}