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 b2) (prog-if 00 [VGA controller]) Subsystem: eVga.com. Corp. Device b039 Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11 Memory at f7000000 (32-bit, non-prefetchable) [size=16M] Memory at e8000000 (32-bit, prefetchable) [size=128M] Expansion ROM at fc000000 [disabled] [size=64K] Capabilities: [60] Power Management version 2 Kernel modules: rivafb, nvidiafb
01:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) Subsystem: Hauppauge computer works Inc. Nova-S-Plus DVB-S Flags: medium devsel, IRQ 17 Memory at fb000000 (32-bit, non-prefetchable) [size=16M] Capabilities: [44] Vital Product Data <?> Capabilities: [4c] Power Management version 2 Kernel modules: cx8800
01:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05) Subsystem: Hauppauge computer works Inc. Device 9202 Flags: medium devsel, IRQ 17 Memory at fa000000 (32-bit, non-prefetchable) [size=16M] Capabilities: [4c] Power Management version 2 Kernel modules: cx88-alsa
01:07.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05) Subsystem: Hauppauge computer works Inc. Device 9202 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at f9000000 (32-bit, non-prefetchable) [size=16M] Capabilities: [4c] Power Management version 2 Kernel driver in use: cx88-mpeg driver manager Kernel modules: cx8802
01:07.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05) Subsystem: Hauppauge computer works Inc. Device 9202 Flags: bus master, medium devsel, latency 32, IRQ 10 Memory at f8000000 (32-bit, non-prefetchable) [size=16M] Capabilities: [4c] Power Management version 2
I did following to install the new DVB driver and VDR: # Download DVB driver hg clone http://linuxtv.org/hg/v4l-dvb
# Patch DVB driver wget ftp://ftp.cadsoft.de/vdr/Developer/v4l-dvb-header-fix.diff cd v4l-dvb/linux/ patch -p1 -i ../../v4l-dvb-header-fix.diff
# Build DVB driver cd .. make make install
# Unload all DVB drivers make unload
# Load required DVB drivers modprobe budget_ci modprobe dvb_ttpci
# Build VDR wget ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.7.7.tar.bz2 tar -xjf vdr-1.7.7.tar.bz2 cd vdr-1.7.7/ cp Make.config.template Make.config
add: DVBDIR=/usr/local/src/v4l-dvb/linux to Make.config
cd ../v4l-dvb/linux/include/linux/ ln -s /usr/src/linux/include/linux/compiler.h cd -
make
# Modify runvdr: # Add following lines to function LoadDriver: modprobe dvb_ttpci modprobe budget_ci modprobe cx88_dvb # Add following lines to function UnloadDriver: cd /usr/local/src/v4l-dvb/v4l make unload cd -
# Start VDR ./runvdr
best regards Martin Neuditschko