Keyboards freeze after modprobe saa7134 card=81 tuner=54

I have recently been experimenting with Gigabyte GT-PTV-TAF-RH hybrid tv card. As far as i could find out it uses Philips SAA7131E decoder and it has Philips 8275A tuner. There is also some chip which I couldn’t identify marked TDA10046A. After looking for information about it I found out that I need to load the saa7134 module with options card=81 or tiger2 reference and tuner=54 for 8275A and that I need to place dvb-fe-tda10046.fw file into /lib/firmware. So I got the firmware and started playing with the card.I couldn’t get any DVB-T reception, but analogue TV and radio worked fine.

Today while adjusting antenna I managed to get something on correct frequency using w_scan . After that, I lost signal and sometime later all I could get on analogue side was blank screen.
So I tried to put my TV card into a different slot, to see what would happen. That is when my main problem started.

I tried to load drivers with modprobe saa7134 card=81 tuner=54, and keyboards would freeze, with mouse working fine. The system wouldn’t shut down also. So I reinstalled opensuse 11.1 and returned TV card to where it was. After reinstalling I noticed that my soundcard wasn’t showing in lspci. So I swapped the TV and sound card and sound card is now working fine as far as I could see, but I am still having same problem with TV card. Here is dmesg output after modprobing TV card (shortened, so it would fit post length limit)


saa7130/34: v4l2 driver version 0.2.14 loaded
saa7133[0]: found at 0000:01:08.0, rev: 209, irq: 18, latency: 32, mmio: 0xe5009000
saa7133[0]: subsystem: 1458:9002, board: Philips Tiger reference design [card=81,insmod option]
resource map sanity check conflict  0xe5009000 0xe5009fff 0xe5009000 0xe50097ff 0000:01:08.0
------------ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:156 __ioremap_caller+0x89/0x39a()
Modules linked in: saa7134(+) ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit xt_physdev bridge binfmt_misc stp bnep rfcomm sco snd_pcm_oss snd_mixer_oss snd_seq_midi snd_emu10k1_synth l2cap snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack ip_tables ip6table_filter ip6_tables x_tables ipv6 fuse ext3 jbd mbcache loop dm_mod snd_emu10k1 snd_rawmidi snd_ac97_codec ac97_bus snd_pcm joydev snd_seq_device ppdev snd_timer ir_common snd_page_alloc snd_util_mem videodev snd_hwdep rtc_cmos v4l1_compat rtc_core compat_ioctl32 parport_serial snd rtc_lib v4l2_common videobuf_dma_sg emu10k1_gp nvidia(PX) soundcore videobuf_core gameport tveeprom skge pcspkr ohci1394 ieee1394 parport_pc floppy sg parport hci_usb(N) nvidia_agp usbhid sr_mod button hid agpgart btusb i2c_nforce2 cdrom shpchp forcedeth ff_memless pci_hotplug i2c_core bluetooth sd_mod crc_t10dif ehci_hcd ohci_hcd usbcore edd xfs fan ide_pci_generic amd74xx ide_core ata_generic sata_sil pata_amd libata scsi_mod dock thermal processor thermal_sys hwmon [last unloaded: saa7134]
Supported: No
Pid: 4340, comm: modprobe Tainted: P        W 2.6.27.7-9-pae #1
 <c0106570>] dump_trace+0x6b/0x249
 <c01070a5>] show_trace+0x20/0x39
 <c035175f>] dump_stack+0x71/0x76
 <c012ddf8>] warn_on_slowpath+0x4d/0x70
 <c0119cfc>] __ioremap_caller+0x89/0x39a
 <c011a11f>] ioremap_nocache+0x18/0x1c
 <f8c21f19>] saa7134_initdev+0x490/0x8ec [saa7134]
 <c0243622>] pci_device_probe+0xa3/0xe4
 <c02afe96>] really_probe+0xd7/0x1de
 <c02b0072>] __driver_attach+0x37/0x55
 <c02af751>] bus_for_each_dev+0x31/0x57
 <c02afc48>] driver_attach+0x16/0x18
 <c02af14a>] bus_add_driver+0xec/0x21b
 <c02b01e5>] driver_register+0x85/0xe2
 <c024384a>] __pci_register_driver+0x3c/0x6a
 <c010112b>] _stext+0x3b/0x127
 <c015001a>] sys_init_module+0x8a/0x19e
 <c0104c9b>] sysenter_do_call+0x12/0x2f
 <ffffe430>] 0xffffe430
 =======================
--- end trace 7d3fa117fcbd0b78 ]---
saa7133[0]: board init: gpio is c000000
saa7133[0]: i2c eeprom 00: 58 14 02 90 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 03 08 ff 00 c1 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 50 ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner' 2-004b: chip found @ 0x96 (saa7133[0])
tda829x 2-004b: setting tuner address to 61
tda829x 2-004b: type set to tda8290+75a
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0

If I remember correctly after last line saa7134 would load firmware while everything was working correctly.

Hi
You probably need to reset the escd in the BIOS so it picks up the irq
change as you have changed pci slots.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 1 day 11:08, 1 user, load average: 0.08, 0.63, 0.45
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Thank you for your reply!

It didn’t work :frowning:

I just found out that the problem is firmware related. I tried to load the saa7134 module without firmware and it loaded normally and complained about the lack of firmware. I tried to give it the firmware for tda10045 and it was accepted. My keyboards freeze for a few seconds when loading 10045 firmware, but after that everything is fine.

However I am unable to access http://www.lifeview.com.tw/ which, according to get_dvb_firmware script hosts tda10046 firmware (apparently there are two versions circulating on the net: 20 and 29 and as far as i can see 29 is from lifeview, and 20 is from techotrend). The location of TT_PCI_2.19h_28_11_2006.zip has apparently changed, as I was unable to get it from TechnoTrend AG . The firmware for 10045 could be downloaded from the same site. Could someone else try to access those sites, just to see if it’s problem on my side?

Unfortunately I can’t remember how my firmware got corrupted.

Hi
It’s available here;
http://www.technotrend.com/2959/-_PC_Products.html


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 1 day 13:28, 1 user, load average: 0.62, 0.37, 0.26
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Thank you very much for that link. I found TT’s site very confusing!

So the line in get_dvb_firmware that says

my $url = "http://technotrend-online.com/download/software/219/$sourcefile";

should be changed to

my $url = "http://www.technotrend.com/Dokumente/87/software/219/$sourcefile";

right?

Hi
Sorry I missed your post :frowning: Yes that would be correct. Or just download
it to the local machine?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 2 days 10:03, 2 users, load average: 0.35, 0.25, 0.27
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Well, thanks again!

Now all that needs to be done is to wait for maintainers of get_dvb_firmware to update the scrips, so others wouldn’t have same problems as me.