Anyone seen these errors?
Apologies for cross-posting - I'll post this on the Gentoo lists as well.
I can't load the firmware on my Hauppauge Nova-T cards under Gentoo 2005, using Gentoo-De ebuilds.
This is weird as I have used these cards successfully under Fedora core 3 with no problems.
The firmware errors occur with either the firmware that comes with the linuxtv-dvb drivers, the extract of the latest ones using get_dvb_firmware script or using a manual conversion of ttlcdacc.dll from the driver disk supplied with the cards.
The logs seem to indicate it is finding the firmware just can't use it.
Also weird is this that all the required modules seem to load OK ?? Have suplied /var/log/messages, lspci, lsmod, dmesg and the output of running vdr manually from the command line.
When running it manually it loads the OSD fine and you can change settings and navigate with no problems. Once it even loaded the firmware and tuned to the strongest channel - though just the once.
Perhaps this is a timeout issue??
Any ideas?
VDR Errors when starting using Gentoo supplied script *****************************************************
May 23 20:21:09 mmc vdr[7427]: VDR version 1.3.24 started May 23 20:21:09 mmc vdr[7427]: loading plugin: /usr/lib/vdr/libvdr- remote.so.1.3.24 May 23 20:21:09 mmc vdr[7427]: loading plugin: /usr/lib/vdr/libvdr- femon.so.1.3.24 May 23 20:21:09 mmc vdr[7427]: loading plugin: /usr/lib/vdr/libvdr- softdevice.so.1.3.24 May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/setup.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/sources.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/diseqc.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/channels.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/timers.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/commands.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/svdrphosts.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/ca.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/remote.conf May 23 20:21:09 mmc vdr[7427]: loading /etc/vdr/keymacros.conf May 23 20:21:09 mmc vdr[7427]: reading EPG data from /video/epg.data May 23 20:21:09 mmc vdr[7427]: probing /dev/dvb/adapter0/frontend0 May 23 20:21:09 mmc tda1004x: found firmware revision 2c -- invalid May 23 20:21:09 mmc tda1004x: waiting for firmware upload (dvb-fe- tda10045.fw)... May 23 20:21:11 mmc tda1004x: firmware upload complete May 23 20:21:11 mmc tda1004x: found firmware revision 2c -- invalid May 23 20:21:11 mmc tda1004x: firmware upload failed May 23 20:21:11 mmc vdr[7427]: probing /dev/dvb/adapter1/frontend0 May 23 20:21:11 mmc vdr[7461]: tuner on device 1 thread started (pid=7461, tid=16386) May 23 20:21:11 mmc vdr[7462]: Section handler thread started (pid=7462, tid=32771) May 23 20:21:11 mmc tda1004x: found firmware revision 2c -- invalid May 23 20:21:11 mmc tda1004x: waiting for firmware upload (dvb-fe- tda10045.fw)... May 23 20:21:13 mmc tda1004x: firmware upload complete May 23 20:21:13 mmc tda1004x: found firmware revision 2c -- invalid May 23 20:21:13 mmc tda1004x: firmware upload failed May 23 20:21:13 mmc vdr[7427]: probing /dev/dvb/adapter2/frontend0 May 23 20:21:13 mmc vdr[7491]: tuner on device 2 thread started (pid=7491, tid=49156) May 23 20:21:13 mmc vdr[7492]: Section handler thread started (pid=7492, tid=65541) May 23 20:21:13 mmc vdr[7494]: tuner on device 3 thread started (pid=7494, tid=81926) May 23 20:21:13 mmc vdr[7427]: found 3 video devices May 23 20:21:13 mmc vdr[7427]: initializing plugin: remote (0.3.3): Remote control May 23 20:21:13 mmc vdr[7427]: initializing plugin: femon (0.8.1): DVB Signal Information Monitor (OSD) May 23 20:21:13 mmc vdr[7427]: initializing plugin: softdevice (0.1.0): A software emulated MPEG2 device May 23 20:21:13 mmc vdr[7495]: Section handler thread started (pid=7495, tid=98311) May 23 20:21:17 mmc rc-scripts: Failed to start vdr.
LSMOD output ************ mmc root # lsmod Module Size Used by md5 3712 1 ipv6 238848 12 sg 30240 0 ohci_hcd 19144 0 analog 10080 0 ns558 4736 0 pcspkr 3236 0 matroxfb_base 27172 1 matroxfb_DAC1064 10688 1 matroxfb_base matroxfb_accel 4288 1 matroxfb_base matroxfb_Ti3026 5696 1 matroxfb_base matroxfb_g450 6336 1 matroxfb_base g450_pll 5440 2 matroxfb_DAC1064,matroxfb_g450 matroxfb_misc 11228 6 matroxfb_base,matroxfb_DAC1064,matroxfb_accel,matroxfb_Ti3026,matroxfb_g450,g450_pll snd_via82xx 23232 0 snd_ac97_codec 73912 1 snd_via82xx snd_pcm 82568 2 snd_via82xx,snd_ac97_codec snd_timer 21380 1 snd_pcm snd_page_alloc 7620 2 snd_via82xx,snd_pcm gameport 3584 3 analog,ns558,snd_via82xx snd_mpu401_uart 6208 1 snd_via82xx snd_rawmidi 20192 1 snd_mpu401_uart snd_seq_device 6988 1 snd_rawmidi i2c_viapro 6544 0 ehci_hcd 30792 0 hci_usb 13256 0 usbmouse 4608 0 usbhid 42688 0 uhci_hcd 29520 0 sata_via 5828 0 libata 41092 1 sata_via skge 33488 0 via_agp 7552 1 evdev 7424 0 budget_ci 13888 0 tda1004x 15364 1 budget_ci budget 9856 0 budget_core 9796 2 budget_ci,budget dvb_ttpci 100200 0 l64781 7812 2 budget,dvb_ttpci saa7146_vv 50560 1 dvb_ttpci video_buf 17412 1 saa7146_vv saa7146 18632 5 budget_ci,budget,budget_core,dvb_ttpci,saa7146_vv ves1820 6148 2 budget,dvb_ttpci stv0299 11784 3 budget_ci,budget,dvb_ttpci tda8083 6532 2 budget,dvb_ttpci stv0297 9408 1 dvb_ttpci sp8870 8076 1 dvb_ttpci ves1x93 7108 2 budget,dvb_ttpci ttpci_eeprom 2752 2 budget_core,dvb_ttpci dvb_core 84200 4 budget_ci,budget,budget_core,dvb_ttpci
LSPCI ***** 0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80) 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge 0000:00:09.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12) 0000:00:0c.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) 0000:00:0e.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) 0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80) 0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 0000:00:10.5 Network controller: VIA Technologies, Inc. VT8237 Integrated Fast Ethernet Controller 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800 South] 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 0000:00:13.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) 0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)
Manual start log ***************** mmc root # vdr -P"softdevice -vo dfb:mga_tv" -P"remote - i /dev/input/event2" -Pbitstreamout -Pmp3 -Pmplayer -Pdvd -Pfemon [softdevice] processing args [softdevice] argv [0] = softdevice [softdevice] argv [1] = -vo [setup-softdevice] alsa device set to: default [setup-softdevice] A/V Offset set to (0) [setup-softdevice] cropping mode set to 0 (none) [setup-softdevice] deinterlace method set to 0 none [softdevice] picture mirroring set to 0 (off) [setup-softdevice] pixel format set to (YUV2) [setup-softdevice] startup aspect set to (4:3 normal) [softdevice] initializing Plugin [softdevice] Initializing Video Out [softdevice] ffmpeg version(0.4.9-pre1) build(4743) [dfb] init (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.22 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2004 convergence GmbH -----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2005-05-21 14:06) (*) Direct/Memcpy: Using MMXEXT optimized memcpy() (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 7639)... (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 7642)... (!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802] (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7643)... (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7644)... (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7645)... (*) DirectFB/Input: Budget-CI dvb ir receiver saa714Linux (3) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7646)... (*) DirectFB/Input: Budget-CI dvb ir receiver saa714Linux (4) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7647)... (*) DirectFB/Input: Budget-CI dvb ir receiver saa714Linux (5) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7648)... (*) DirectFB/Input: Microsoft Microsoft 3-Button MouLinux (6) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Linux Input' (INPUT, 7649)... (*) DirectFB/Input: PC Speaker (7) 0.1 (convergence integrated media GmbH) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 7650)... (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: Matrox G550 0.7 (convergence integrated media GmbH) (*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH) [dfb] RAM: 16777216 bytes [dfb] Accellerated Functions: FillRectange DrawRectange DrawLine FillTriangle Blit StretchBlit All [dfb] Drawing Flags: Blend [dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize SrcColorkey Deinterlace [dfb] Supported video Modes are: 640x480@16 720x576@16 768x576@16 800x600@16 1024x768@16 1280x1024@16 1280x1024@16 1600x1200@16 640x400@16 400x300@16 320x240@16 320x200@16 [dfb] Enumeratig display Layers Layer 2 FBDev Primary Layer Type: graphics Caps: brightness contrast saturation surface [dfb] width = 720, height = 576 [dfb] got fmt = 0x00418c04 bpp = 32 [dfb] Using this layer for OSD: (Matrox CRTC2 Layer - [720x576]) osdSurface:: - videoonly - flipping videoSurface:: - videoonly [dfb] Configuring CooperativeLevel for Overlay [dfb] Configuring CooperativeLevel for OSD [dfb] Using this layer for OSD: Matrox CRTC2 Layer [dfb] Using this layer for Video out: FBDev Primary Layer [dfb] (re)configuring Videolayer to 720 x 576 (720x576) [dfb] creating new surface [dfb] (re)configured 0x00200806 [softdevice] Video Out seems to be OK [softdevice] Initializing Audio Out [softdevice] Audio out seems to be OK [softdevice] A/V devices initialized, now initializing MPEG2 Decoder mp3: filesource /tmp has no includes set mp3: using MPEG Audio Decoder 0.15.1 (beta) mp3: compiled with 0.15.1 (beta) mp3: filesource /tmp has no includes set cSoftDevice::MakePrimaryDevice
Have attached dmesg as well.
Is the firmware in /lib/firmware? Do you have hotplugging and hotplug firmware loading support in your kernel? Have you emerged hotplug?
anthony hornby wrote:
I can't load the firmware on my Hauppauge Nova-T cards under Gentoo 2005, using Gentoo-De ebuilds.
This is weird as I have used these cards successfully under Fedora core 3 with no problems.
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)... tda1004x: firmware upload complete tda1004x: found firmware revision 2c -- invalid
It looks like the firmware format has changed or something like that. Try using the dvb-fe-tda10045.fw from dvb-kernel CVS.
Hi All, thanks to everyone that replied.
Yes I have hotplug enabled in the kernel and the firmware is in /lib/firmware. I have tried linuxtv stable, linuxtv-cvs, technotrend extract using get_dvb_firmware, my firmware from my windows driver CD's - nothing works.
Here's where hotplug is looking - from /etc/hotplug/firmware.agent
<snip> # directory of the firmware files FIRMWARE_DIR=/lib/firmware </snip>
So its looking in the right place.
I have emerged hotplug, I have sysfs mounted:
mmc .xmltv # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 rw 0 0 none /proc proc rw,nodiratime 0 0 none /sys sysfs rw 0 0 none /dev ramfs rw 0 0 none /dev/pts devpts rw 0 0 /dev/hda1 /boot ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 none /proc/bus/usb usbfs rw 0 0
Seems to detect stuff eg
ls /sys/class/dvb/dvb*
/sys/class/dvb/dvb0.demux0: dev /sys/class/dvb/dvb0.dvr0: dev /sys/class/dvb/dvb0.frontend0: dev /sys/class/dvb/dvb0.net0: dev /sys/class/dvb/dvb1.demux0: dev /sys/class/dvb/dvb1.dvr0: dev /sys/class/dvb/dvb1.frontend0: dev /sys/class/dvb/dvb1.net0: dev
mmc .xmltv # cat /sys/devices/platform/i2c-0/name TT-Budget/WinTV-NOVA-T PCI
mmc .xmltv # cat /sys/devices/platform/i2c-1/name TT-Budget/WinTV-NOVA-T PCI
There seems to be some weird looping here though: cat /sys/devices/pci0000:00/0000:00:0c.0/driver/0000:00 :0c.0/driver/0000:00:0c.0/driver/0000:00:0c.0/driver/ and so on .....
Permissions are open: mmc .xmltv # grep -i dvb /etc/udev/permissions.d/50-udev.permissions # DVB dvb:vdr:video:0666 dvb/*:vdr:video:0666 dvb/adapter*/*:vdr:video:0666
Devices get created:
mmc .xmltv # grep -i dvb /etc/udev/rules.d/50-udev.rules # dvb devices KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c", GROUP="video", MODE="0666"
mmc .xmltv # ls -la /dev/dvb/adapter0/* crw-rw-rw- 1 root video 212, 4 May 23 17:10 /dev/dvb/adapter0/demux0 crw-rw-rw- 1 root video 212, 5 May 23 17:10 /dev/dvb/adapter0/dvr0 crw-rw-rw- 1 root video 212, 3 May 23 17:10 /dev/dvb/adapter0/frontend0 crw-rw-rw- 1 root video 212, 7 May 23 17:10 /dev/dvb/adapter0/net0
I have tried the linuxtv-dvb-cvs package in ~x86 - that didn't fix the problem so I went back to a vanilla Gentoo 2.6.11-gentoo-r9 kernel and rebuilt it again.
Oh just to confirm it is a low level driver issue dvbscan can't get a lock either. I know the transponder values are correct.
/usr/bin/dvbscan -o vdr /usr/share/dvb/scan/dvb-t/au-Darwin;
initial transponder 543625000 1 3 0 3 1 1 0 initial transponder 550500000 1 2 0 3 1 2 0 initial transponder 536625000 1 2 0 3 1 2 0 initial transponder 557625000 1 2 0 3 1 2 0
tune to: 543625:I999B7C34D0M64T8G16Y0:T:27500:
WARNING: >>> tuning failed!!!
tune to: 543625:I999B7C34D0M64T8G16Y0:T:27500: (tuning failed)
WARNING: >>> tuning failed!!!
tune to: 550500:I999B7C23D0M64T8G8Y0:T:27500:
WARNING: >>> tuning failed!!!
tune to: 550500:I999B7C23D0M64T8G8Y0:T:27500: (tuning failed)
WARNING: >>> tuning failed!!!
tune to: 536625:I999B7C23D0M64T8G8Y0:T:27500:
WARNING: >>> tuning failed!!!
tune to: 536625:I999B7C23D0M64T8G8Y0:T:27500: (tuning failed)
WARNING: >>> tuning failed!!!
tune to: 557625:I999B7C23D0M64T8G8Y0:T:27500:
WARNING: >>> tuning failed!!!
tune to: 557625:I999B7C23D0M64T8G8Y0:T:27500: (tuning failed)
WARNING: >>> tuning failed!!! ERROR: initial tuning failed dumping lists (0 services) Done.
Any help appreciated.
Anthony.
On Mon, 2005-05-23 at 17:46 +0300, Anssi Hannula wrote:
anthony hornby wrote:
I can't load the firmware on my Hauppauge Nova-T cards under Gentoo 2005, using Gentoo-De ebuilds.
This is weird as I have used these cards successfully under Fedora core 3 with no problems.
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)... tda1004x: firmware upload complete tda1004x: found firmware revision 2c -- invalid
It looks like the firmware format has changed or something like that. Try using the dvb-fe-tda10045.fw from dvb-kernel CVS.
On Mon, 23 May 2005, Anssi Hannula wrote:
anthony hornby wrote:
I can't load the firmware on my Hauppauge Nova-T cards under Gentoo 2005, using Gentoo-De ebuilds.
This is weird as I have used these cards successfully under Fedora core 3 with no problems.
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)... tda1004x: firmware upload complete tda1004x: found firmware revision 2c -- invalid
It looks like the firmware format has changed or something like that. Try using the dvb-fe-tda10045.fw from dvb-kernel CVS.
Recently there was a change in the tda1004x-frontend-driver, which seems to prevent the firmware-loading for the tda10045. Hartmut Hackman provided a patch, which is not in CVS yet, because it's untested
http://www.linuxtv.org/pipermail/linux-dvb/2005-May/002135.html and the following.
I don't know if Gentoo uses daily CVS. If they do, the patch should fix it.
If it solves the problem, please CC the linux-dvb mailing list, too.
HTH, Patrick.
Hi to those that responded, it was a problem with the linuxtv-dvb-cvs drivers.
Reverting to the drivers in the gentoo-sources kernel fixes the problem. haven't tried the cvs patch yet.
Thanks for everyone's help.
Regards Anthony.
On Mon, 2005-05-23 at 17:28 +0200, Patrick Boettcher wrote:
On Mon, 23 May 2005, Anssi Hannula wrote:
anthony hornby wrote:
I can't load the firmware on my Hauppauge Nova-T cards under Gentoo 2005, using Gentoo-De ebuilds.
This is weird as I have used these cards successfully under Fedora core 3 with no problems.
tda1004x: waiting for firmware upload (dvb-fe-tda10045.fw)... tda1004x: firmware upload complete tda1004x: found firmware revision 2c -- invalid
It looks like the firmware format has changed or something like that. Try using the dvb-fe-tda10045.fw from dvb-kernel CVS.
Recently there was a change in the tda1004x-frontend-driver, which seems to prevent the firmware-loading for the tda10045. Hartmut Hackman provided a patch, which is not in CVS yet, because it's untested
http://www.linuxtv.org/pipermail/linux-dvb/2005-May/002135.html and the following.
I don't know if Gentoo uses daily CVS. If they do, the patch should fix it.
If it solves the problem, please CC the linux-dvb mailing list, too.
HTH, Patrick.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr