When "Disable 5V" is clicked, it runs the function
Code: Alles auswählen
void eFrontend::setTerrestrialAntennaVoltage(bool state)
{
if (type != eSystemInfo::feTerrestrial)
return;
#if HAVE_DVB_API_VERSION < 3
int secfd=::open(SEC_DEV, O_RDWR);
if (secfd<0)
{
eDebug("open secfd failed(%m)");
return;
}
if ( ::ioctl(secfd, SEC_SET_VOLTAGE, state ? SEC_VOLTAGE_OFF : SEC_VOLTAGE_13) < 0 )
eDebug("SEC_SET_VOLTAGE (-T) failed (%m)");
::close(secfd);
#endif
}
If i telnet to the dreambox, pressing "Disable 5V" with the remote causes the following error message to be printed in the console: "open secfd failed(No such device)".
Considering the source, this fault has to be generated here:
Code: Alles auswählen
int secfd=::open(SEC_DEV, O_RDWR);
if (secfd<0)
{
eDebug("open secfd failed(%m)");
return;
}
Code: Alles auswählen
#define SEC_DEV "/dev/dvb/card0/sec0"
I've checked /dev/dvb/card0/sec0 and it does exist in the filesystem.
But I need help from here
The strange thing is that if I use an old image like gemini 3.1, +5V works and is sent to the antenna. But on the newer images and CVS, I get "no such device" and always 0V.
Any help in solving this matter would be greatly appreciated, because I can't figure out why this doesn't work. Also, feel free to answer in german if that's easier. Ich kann Deutsch ganz gut lesen, aber nicht so gut schreiben.