Re: [vdr] ERROR (dvbdevice.c,762): Bad file descriptor

2009-05-15 Thread Klaus Schmidinger
On 14.05.2009 08:24, Martin Neuditschko wrote:
 What do you mean with primary device? I use a Hauppauge Nova-S-Plus DVB-S 
 card
 (it's the only DVB card in the system).

The primary device is the one your tv set is connected to.
It actually replays live tv and recordings. If you only have
budget cards and don't use this system for live viewing or
replaying, these error messages should be gone with the checks
I mentioned. I've added them for the next version.

Klaus

 On Sat, May 09, 2009 at 06:55:28PM +0200, Klaus Schmidinger wrote:
 On 05/05/09 20:33, Martin Neuditschko wrote:
 Hello,

 I upgraded VDR from 1.6.0 to 1.7.7 (including DVB drivers). The VDR
 is running and working correctly as I can say this after 30 minutes of 
 testing.

 But I get this strange error message each second after startup of VDR:

   ERROR (dvbdevice.c,762): Bad file descriptor
 I assume your system has no real primary device for replay, right?

 I'll add a check for fd_video being a valid file handle to this function.

 You can put

 if (fd_video = 0) {
...
}

 around the code that uses fd_video.

 Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR (dvbdevice.c,762): Bad file descriptor

2009-05-14 Thread Martin Neuditschko
What do you mean with primary device? I use a Hauppauge Nova-S-Plus DVB-S card
(it's the only DVB card in the system).

Thanks for the code.

regards
Martin


On Sat, May 09, 2009 at 06:55:28PM +0200, Klaus Schmidinger wrote:
 On 05/05/09 20:33, Martin Neuditschko wrote:
  Hello,
  
  I upgraded VDR from 1.6.0 to 1.7.7 (including DVB drivers). The VDR
  is running and working correctly as I can say this after 30 minutes of 
  testing.
  
  But I get this strange error message each second after startup of VDR:
  
ERROR (dvbdevice.c,762): Bad file descriptor
 
 I assume your system has no real primary device for replay, right?
 
 I'll add a check for fd_video being a valid file handle to this function.
 
 You can put
 
 if (fd_video = 0) {
...
}
 
 around the code that uses fd_video.
 
 Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR (dvbdevice.c,762): Bad file descriptor

2009-05-09 Thread Klaus Schmidinger
On 05/05/09 20:33, Martin Neuditschko wrote:
 Hello,
 
 I upgraded VDR from 1.6.0 to 1.7.7 (including DVB drivers). The VDR
 is running and working correctly as I can say this after 30 minutes of 
 testing.
 
 But I get this strange error message each second after startup of VDR:
 
   ERROR (dvbdevice.c,762): Bad file descriptor

I assume your system has no real primary device for replay, right?

I'll add a check for fd_video being a valid file handle to this function.

You can put

if (fd_video = 0) {
   ...
   }

around the code that uses fd_video.

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] ERROR (dvbdevice.c,762): Bad file descriptor

2009-05-05 Thread Martin Neuditschko
Hello,

I upgraded VDR from 1.6.0 to 1.7.7 (including DVB drivers). The VDR
is running and working correctly as I can say this after 30 minutes of testing.

But I get this strange error message each second after startup of VDR:

  ERROR (dvbdevice.c,762): Bad file descriptor

syslog output:

May  5 20:02:08 lacus vdr: [21229] VDR version 1.7.7 started
May  5 20:02:08 lacus vdr: [21229] codeset is 'UTF-8' - known
May  5 20:02:08 lacus vdr: [21229] found 0 locales in ./locale
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'deu,ger'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'slv,slo'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'ita'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'dut,nla,nld'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'por'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'fra,fre'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'nor'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'fin,suo'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'pol'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'esl,spa'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'ell,gre'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'sve,swe'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'rom,rum'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'hun'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'cat,cln'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'rus'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'hrv'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'est'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'dan'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'cze,ces'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'tur'
May  5 20:02:08 lacus vdr: [21229] no locale for language code 'ukr'
May  5 20:02:08 lacus vdr: [21229] loading /video/setup.conf
May  5 20:02:08 lacus vdr: [21229] loading /video/sources.conf
May  5 20:02:08 lacus vdr: [21229] loading /video/diseqc.conf
May  5 20:02:08 lacus vdr: [21229] loading /video/channels.conf
May  5 20:02:08 lacus vdr: [21229] loading /video/svdrphosts.conf
May  5 20:02:08 lacus vdr: [21229] loading /video/keymacros.conf
May  5 20:02:08 lacus vdr: [21230] video directory scanner thread started 
(pid=21229, tid=21230)
May  5 20:02:08 lacus vdr: [21231] video directory scanner thread started 
(pid=21229, tid=21231)
May  5 20:02:08 lacus vdr: [21231] video directory scanner thread ended 
(pid=21229, tid=21231)
May  5 20:02:08 lacus vdr: [21229] reading EPG data from /video/epg.data
May  5 20:02:08 lacus vdr: [21230] video directory scanner thread ended 
(pid=21229, tid=21230)
May  5 20:02:08 lacus vdr: [21229] probing /dev/dvb/adapter0/frontend0
May  5 20:02:08 lacus vdr: [21229] device 1 provides DVB-S (Conexant 
CX24123/CX24109)
May  5 20:02:08 lacus vdr: [21233] tuner on device 1 thread started (pid=21229, 
tid=21233)
May  5 20:02:08 lacus vdr: [21234] section handler thread started (pid=21229, 
tid=21234)
May  5 20:02:08 lacus vdr: [21229] found 1 video device
May  5 20:02:08 lacus vdr: [21229] setting primary device to 1
May  5 20:02:08 lacus vdr: [21229] device 1 has no MPEG decoder
May  5 20:02:08 lacus vdr: [21229] assuming manual start of VDR
May  5 20:02:08 lacus vdr: [21229] SVDRP listening on port 2001
May  5 20:02:08 lacus vdr: [21229] setting current skin to sttng
May  5 20:02:08 lacus vdr: [21229] loading /video/themes/sttng-default.theme
May  5 20:02:08 lacus vdr: [21235] KBD remote control thread started 
(pid=21229, tid=21235)
May  5 20:02:08 lacus vdr: [21229] remote control KBD - learning keys
May  5 20:02:08 lacus vdr: [21229] ERROR: no OSD provider available - using 
dummy OSD!
May  5 20:02:18 lacus vdr: [21229] switching to channel 1
May  5 20:02:18 lacus vdr: [21229] setting watchdog timer to 60 seconds
May  5 20:02:18 lacus vdr: [21229] ERROR (dvbdevice.c,762): Bad file descriptor
May  5 20:02:18 lacus vdr: [21229] OSD size changed to 480x324 @ 4:3
May  5 20:02:18 lacus vdr: [21229] ERROR: no OSD provider available - using 
dummy OSD!
May  5 20:02:18 lacus vdr: [21229] ERROR (dvbdevice.c,762): Bad file descriptor
May  5 20:02:20 lacus syslog-ng[2862]: last message repeated 164 times
May  5 20:02:20 lacus vdr: [21229] connect from 127.0.0.1, port 48027 - accepted
May  5 20:02:20 lacus vdr: [21229] ERROR (dvbdevice.c,762): Bad file descriptor
May  5 20:02:20 lacus vdr: [21229] ERROR (dvbdevice.c,762): Bad file descriptor
May  5 20:02:20 lacus vdr: [21229] closing SVDRP connection
May  5 20:02:20 lacus vdr: [21229] ERROR (dvbdevice.c,762): Bad file descriptor
May  5 20:02:20 lacus syslog-ng[2862]: last message repeated 29 times


lspci -v
01:06.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] 
(rev