Greetings, I have an USB TV adapter identified as Hauppauge WinTV HVR 900 (R2) (card=18) and I'm using Fedora 11 with linux kernel vanilla 2.6.30.5 (the last stable as writing). Following the manual at http://www.linuxtv.org/wiki/index.php/Em28xx_devices i've extracted and copied xc3028-v27.fw in /lib/firware then i compiled (make/make install) a freshly cloned v4l-dvb Now when the device is plugged there is a kernel oops, I'm missing something or is it a bug? In attachment the relevant part of dmesg, thank you in advance for any help, -- Fab
[ 229.803582] usb usb1: usb resume [ 229.803589] ehci_hcd 0000:00:03.3: resume root hub [ 229.823020] hub 1-0:1.0: hub_resume [ 229.823044] ehci_hcd 0000:00:03.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT [ 229.823050] hub 1-0:1.0: port 4: status 0501 change 0001 [ 229.924032] hub 1-0:1.0: state 7 ports 6 chg 0010 evt 0000 [ 229.924042] hub 1-0:1.0: port 4, status 0501, change 0000, 480 Mb/s [ 229.975318] ehci_hcd 0000:00:03.3: port 4 high speed [ 229.975325] ehci_hcd 0000:00:03.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT [ 230.026025] usb 1-4: new high speed USB device using ehci_hcd and address 2 [ 230.077301] ehci_hcd 0000:00:03.3: port 4 high speed [ 230.077308] ehci_hcd 0000:00:03.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT [ 230.140551] usb 1-4: default language 0x0409 [ 230.145427] usb 1-4: New USB device found, idVendor=2040, idProduct=6502 [ 230.145431] usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 230.145436] usb 1-4: Product: WinTV HVR-900 [ 230.145439] usb 1-4: SerialNumber: 4028523360 [ 230.145553] usb 1-4: uevent [ 230.145580] usb 1-4: usb_probe_device [ 230.145585] usb 1-4: configuration #1 chosen from 1 choice [ 230.147806] usb 1-4: uevent [ 230.148353] usb 1-4: adding 1-4:1.0 (config #1, interface 0) [ 230.148395] usb 1-4:1.0: uevent [ 230.148623] drivers/usb/core/inode.c: creating file '002' [ 231.222616] Linux video capture interface: v2.00 [ 231.295647] em28xx 1-4:1.0: usb_probe_interface [ 231.295653] em28xx 1-4:1.0: usb_probe_interface - got id [ 231.295661] em28xx: New device WinTV HVR-900 @ 480 Mbps (2040:6502, interface 0, class 0) [ 231.295868] em28xx #0: chip ID is em2882/em2883 [ 231.433837] em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 02 65 d0 12 5c 03 82 1e 6a 18 [ 231.433852] em28xx #0: i2c eeprom 10: 00 00 24 57 66 07 01 00 00 00 00 00 00 00 00 00 [ 231.433865] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b e0 00 00 [ 231.433878] em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 01 01 00 00 00 00 [ 231.433890] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 231.433903] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 231.433915] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 34 00 30 00 [ 231.433928] em28xx #0: i2c eeprom 70: 32 00 38 00 35 00 32 00 33 00 33 00 36 00 30 00 [ 231.433940] em28xx #0: i2c eeprom 80: 00 00 1e 03 57 00 69 00 6e 00 54 00 56 00 20 00 [ 231.433953] em28xx #0: i2c eeprom 90: 48 00 56 00 52 00 2d 00 39 00 30 00 30 00 00 00 [ 231.433966] em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89 [ 231.433978] em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 60 63 [ 231.433991] em28xx #0: i2c eeprom c0: 1e f0 74 02 01 00 01 79 69 00 00 00 00 00 00 00 [ 231.434014] em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 28 89 [ 231.434027] em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 60 63 [ 231.434040] em28xx #0: i2c eeprom f0: 1e f0 74 02 01 00 01 79 69 00 00 00 00 00 00 00 [ 231.434055] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xc3373fdd [ 231.434058] em28xx #0: EEPROM info: [ 231.434061] em28xx #0: AC97 audio (5 sample rates) [ 231.434063] em28xx #0: 500mA max power [ 231.434067] em28xx #0: Table at 0x24, strings=0x1e82, 0x186a, 0x0000 [ 231.434836] em28xx #0: Identified as Hauppauge WinTV HVR 900 (R2) (card=18) [ 231.436387] tveeprom 1-0050: Hauppauge model 65018, rev B2C0, serial# 1991520 [ 231.436393] tveeprom 1-0050: tuner model is Xceive XC3028 (idx 120, type 71) [ 231.436398] tveeprom 1-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xd4) [ 231.436403] tveeprom 1-0050: audio processor is None (idx 0) [ 231.436407] tveeprom 1-0050: has radio [ 231.441378] tvp5150 1-005c: chip found @ 0xb8 (em28xx #0) [ 231.449647] tuner 1-0061: chip found @ 0xc2 (em28xx #0) [ 231.474454] xc2028 1-0061: creating new instance [ 231.474459] xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner [ 231.474473] usb 1-4: firmware: requesting xc3028-v27.fw [ 231.583982] xc2028 1-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7 [ 231.617020] xc2028 1-0061: Loading firmware for type=BASE MTS (5), id 0000000000000000. [ 232.478291] xc2028 1-0061: Loading firmware for type=MTS (4), id 000000000000b700. [ 232.492660] xc2028 1-0061: Loading SCODE for type=MTS LCD NOGD MONO IF SCODE HAS_IF_4500 (6002b004), id 000000000000b700. [ 232.652163] input: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:03.3/usb1/1-4/input/input6 [ 232.652512] em28xx #0: Config register raw data: 0xd0 [ 232.653506] em28xx #0: AC97 vendor ID = 0xffffffff [ 232.653884] em28xx #0: AC97 features = 0x6a90 [ 232.653888] em28xx #0: Empia 202 AC97 audio processor detected [ 232.658220] usb 1-4: uevent [ 232.658284] usb usb1: uevent [ 232.702891] BUG: unable to handle kernel NULL pointer dereference at 00000002 [ 232.702905] IP: [<c1267324>] i2c_master_send+0xa/0x43 [ 232.702921] *pde = 00000000 [ 232.702926] Oops: 0000 [#1] SMP [ 232.702931] last sysfs file: /sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/input/input6/capabilities/sw [ 232.702937] Modules linked in: tuner_xc2028 tuner tvp5150 em28xx(+) ir_common v4l2_common videodev v4l1_compat videobuf_vmalloc videobuf_core tveeprom bridge stp bnep sco l2cap bluetooth p4_clockmod speedstep_lib snd_intel8x0 snd_intel8x0m snd_ac97_codec ath5k sis900 ac97_bus sis_agp i2c_sis96x mii wmi pata_sis [last unloaded: scsi_wait_scan] [ 232.702974] [ 232.702979] Pid: 2198, comm: modprobe Not tainted (2.6.30.5-fab #1) Aspire 3500 [ 232.702984] EIP: 0060:[<c1267324>] EFLAGS: 00010282 CPU: 0 [ 232.702988] EIP is at i2c_master_send+0xa/0x43 [ 232.702992] EAX: 00000000 EBX: 00000002 ECX: 00000002 EDX: f653bcfe [ 232.702996] ESI: 00000000 EDI: 00000030 EBP: f653bcf4 ESP: f653bce0 [ 232.703000] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 232.703005] Process modprobe (pid: 2198, ti=f653a000 task=f7379860 task.ti=f653a000) [ 232.703006] Stack: [ 232.703006] 00000042 f653bd00 fa36af5e f6504f60 00000000 f653bd0c fa38313f 30020000 [ 232.703006] f6504f60 00000000 00000030 f653bd20 fa38367e f6504f60 f64ec800 fa3836c3 [ 232.703006] f653bd28 fa3836d1 f653bd44 fa36a8f7 00000000 f64ec830 f64ec800 00000000 [ 232.703006] Call Trace: [ 232.703006] [<fa36af5e>] ? em28xx_write_regs+0x1a/0x4c [em28xx] [ 232.703006] [<fa38313f>] ? tvp5150_write+0x47/0x6f [tvp5150] [ 232.703006] [<fa38367e>] ? tvp5150_selmux+0x67/0xac [tvp5150] [ 232.703006] [<fa3836c3>] ? tvp5150_s_routing+0x0/0x12 [tvp5150] [ 232.703006] [<fa3836d1>] ? tvp5150_s_routing+0xe/0x12 [tvp5150] [ 232.703006] [<fa36a8f7>] ? em28xx_wake_i2c+0x6b/0xaa [em28xx] [ 232.703006] [<fa36a734>] ? em28xx_usb_probe+0x6a3/0x7fb [em28xx] [ 232.703006] [<c123abed>] ? usb_probe_interface+0x110/0x156 [ 232.703006] [<c11ed14b>] ? driver_probe_device+0x79/0xed [ 232.703006] [<c11ed202>] ? __driver_attach+0x43/0x5f [ 232.703006] [<c11eca04>] ? bus_for_each_dev+0x3d/0x67 [ 232.703006] [<c11ed024>] ? driver_attach+0x14/0x16 [ 232.703006] [<c11ed1bf>] ? __driver_attach+0x0/0x5f [ 232.703006] [<c11ecda9>] ? bus_add_driver+0x8f/0x1ba [ 232.703006] [<c1155ec8>] ? kset_find_obj+0x23/0x4e [ 232.703006] [<c11ed42f>] ? driver_register+0x79/0xe0 [ 232.703006] [<c123a9bd>] ? usb_register_driver+0x66/0xc0 [ 232.703006] [<fa37a018>] ? em28xx_module_init+0x18/0x3c [em28xx] [ 232.703006] [<c1001137>] ? do_one_initcall+0x4a/0x115 [ 232.703006] [<fa37a000>] ? em28xx_module_init+0x0/0x3c [em28xx] [ 232.703006] [<c13a28ce>] ? notifier_call_chain+0x26/0x48 [ 232.703006] [<c103c821>] ? __blocking_notifier_call_chain+0x40/0x4c [ 232.703006] [<c10497f3>] ? sys_init_module+0x86/0x18b [ 232.703006] [<c10030d4>] ? sysenter_do_call+0x12/0x28 [ 232.703006] Code: f0 83 e0 10 83 c8 01 66 89 45 ee 89 f0 e8 d7 f6 ff ff 83 f8 01 0f 45 d8 83 c4 0c 89 d8 5b 5e 5d c3 55 89 e5 56 53 89 cb 83 ec 0c <66> 8b 48 02 8b 70 18 66 89 4d ec 8b 00 b9 01 00 00 00 89 55 f4 [ 232.703006] EIP: [<c1267324>] i2c_master_send+0xa/0x43 SS:ESP 0068:f653bce0 [ 232.703006] CR2: 0000000000000002 [ 232.703327] ---[ end trace b8ea13b8ef62b36b ]---