[linux-dvb] [PATCH] cx23885 analog TV and audio support for HVR-1500

Tim Lucas lucastim at gmail.com
Tue Sep 9 01:22:58 CEST 2008


On Fri, Sep 5, 2008 at 7:31 AM, Tim Lucas <lucastim at gmail.com> wrote:

> > Why doesn't the driver load if you force it with card=X? What does dmesg
>> show?
>> >
>> > - Steve
>>
>> I followed your instructions modprobe cx23885 debug=1 says operation not
>> permitted
>> Then I tried sudo modprobe cx23885 debug=1 and it says the process was
>> killed
>> This is the output from dmeg.
>>
>> 589.243831] cx23885: no version for "snd_pcm_new" found: kernel tainted.
>> [  589.245284] cx23885 driver version 0.0.1 loaded
>> [  589.245628] ACPI: PCI Interrupt Link [APC6] enabled at IRQ 16
>> [  589.245632] ACPI: PCI Interrupt 0000:08:00.0[A] -> Link [APC6] -> GSI
>> 16 (level, low) -> IRQ 16
>> [  589.245750] cx23885[0]/0: cx23885_dev_setup() Memory configured for
>> PCIe bridge type 885
>> [  589.245752] cx23885[0]/0: cx23885_init_tsport(portno=2)
>> [  589.245759] CORE cx23885[0]: subsystem: 18ac:d618, board: Hauppauge
>> WinTV-HVR1500 [card=6,insmod option]
>> [  589.245761] cx23885[0]/0: cx23885_pci_quirks()
>> [  589.245763] cx23885[0]/0: cx23885_dev_setup() tuner_type = 0x47
>> tuner_addr = 0x61
>> [  589.245765] cx23885[0]/0: cx23885_dev_setup() radio_type = 0x0
>> radio_addr = 0x0
>> [  589.245766] cx23885[0]/0: cx23885_reset()
>> [  589.345825] cx23885[0]/0: cx23885_sram_channel_setup() Configuring
>> channel [VID A]
>> [  589.345837] cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel
>> [ch2]
>> [  589.345838] cx23885[0]/0: cx23885_sram_channel_setup() Configuring
>> channel [TS1 B]
>> [  589.345850] cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel
>> [ch4]
>> [  589.345852] cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel
>> [ch5]
>> [  589.345853] cx23885[0]/0: cx23885_sram_channel_setup() Configuring
>> channel [TS2 C]
>> 589.345866] cx23885[0]/0: cx23885_sram_channel_setup() Configuring channel
>> [TV Audio]
>> [  589.345880] cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel
>> [ch8]
>> [  589.345882] cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel
>> [ch9]
>> [  589.355776] cx23885[0]: i2c bus 0 registered
>> [  589.355793] cx23885[0]: i2c bus 1 registered
>> [  589.355810] cx23885[0]: i2c bus 2 registered
>> [  589.382427] tveeprom 5-0050: Encountered bad packet header [ff].
>> Corrupt or not a Hauppauge eeprom.
>> [  589.382431] cx23885[0]: warning: unknown hauppauge model #0
>> [  589.382432] cx23885[0]: hauppauge eeprom: model=0
>> [  589.388510] cx25840' 7-0044: cx25  0-21 found @ 0x88 (cx23885[0])
>> [  589.395552] tuner' 5-0064: chip found @ 0xc8 (cx23885[0])
>> [  589.398231] tuner' 6-0064: chip found @ 0xc8 (cx23885[0])
>> [  589.400298] cx23885[0]/0: registered device video0 [v4l2]
>> [  589.400351] Unable to handle kernel NULL pointer dereference at
>> 0000000000000008 RIP:
>> [  589.400353]  [<ffffffff881f5f89>] :snd:snd_device_new+0x59/0xb0
>> [  589.400363] PGD 7105a067 PUD 7c727067 PMD 0
>> [  589.400366] Oops: 0002 [1] SMP
>> [  589.400368] CPU 0
>> [  589.400369] Modules linked in: tuner cx25840 cx23885(F) af_packet ipv6
>> cpufreq_ondemand cpufreq_stats cpuf
>> q_userspace freq_table cpufreq_powersave cpufreq_conservative video output
>> container dock sbs sbshc battery ipt
>> able_filter ip_tables x_tables ac sbp2 lp compat_ioctl32 nvidia(P)
>> videodev v4l1_compat cx2341x videobuf_dma_sg
>>  v4l2_common btcx_risc tveeprom videobuf_dvb dvb_core videobuf_core
>> snd_hda_intel snd_pcm_oss snd_mixer_oss snd
>> _pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi
>> snd_rawmidi snd_seq_midi_event snd_seq ser
>> io_raw snd_timer snd_seq_device psmouse snd button i2c_nforce2 i2c_core
>> parport_pc parport shpchp pci_hotplug e
>> vdev soundcore pcspkr ext3 jbd mbcache usbhid hid sd_mod sg sr_mod cdrom
>> sata_nv ehci_hcd ohci1394 ohci_hcd pat
>> a_acpi pata_amd usbcore ieee1394 forcedeth ata_generic libata scsi_mod
>> thermal processor fan fbcon tileblit fon
>> t bitblit softcursor fuse
>> [  589.400408] Pid: 17811, comm: modprobe Tainted: PF
>> 2.6.24-21-generic #1
>> [  589.400409] RIP: 0010:[<ffffffff881f5f89>]  [<ffffffff881f5f89>]
>> :snd:snd_device_new+0x59/0xb0
>> [  589.400416] RSP: 0018:ffff810073235aa8  EFLAGS: 00010282
>> [  589.400417] RAX: 0000000000000000 RBX: ffffffff88c7dd20 RCX:
>> 0000000000000000
>> [  589.400418] RDX: ffff810071048e40 RSI: 0000000000000000 RDI:
>> ffff810071048e80
>> [  589.400420] RBP: 0000000000001003 R08: 0000000000000000 R09:
>> ffff810071048e40
>> [  589.400421] R10: 0000000000000000 R11: ffffffff803bcc30 R12:
>> ffff81007212d000
>> [  589.400423] R13: ffffffff8821a620 R14: ffff810073235b20 R15:
>> ffffffff88265e48
>> [  589.400424] FS:  00007f379fe496e0(0000) GS:ffffffff805b9000(0000)
>> knlGS:0000000000000000
>> [  589.400426] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>> [  589.400427] CR2: 0000000000000008 CR3: 0000000073137000 CR4:
>> 00000000000006e0
>> [  589.400429] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
>> 0000000000000000
>> [  589.400430] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
>> 0000000000000400
>> [  589.400432] Process modprobe (pid: 17811, threadinfo ffff810073234000,
>> task ffff81007c53c7e0)
>> [  589.400433] Stack:  ffff81007212d000 ffff81007212d000 ffff810073235b08
>> ffffffff88c7dd20
>> [  589.400436]  ffffffff88266648 ffffffff88215128 ffff81007b6d1e58
>> ffff81007212d400
>> [  589.400439]  0000000000000018 ffff81007212d458 0000000000000001
>> ffffffff88264c12
>> [  589.400441] Call Trace:
>> [  589.400448]  [<ffffffff88215128>] :snd_timer:snd_timer_new+0x128/0x180
>> [  589.400457]  [<ffffffff88264c12>]
>> :snd_pcm:snd_pcm_timer_init+0x52/0x1a0
>> [  589.400465]  [<ffffffff8825b7dd>]
>> :snd_pcm:snd_pcm_dev_register+0xfd/0x220
>> [  589.400470]  [<ffffffff802f88a8>] create_proc_entry+0x58/0xa0
>> [  589.400480]  [<ffffffff881f5c9f>]
>> :snd:snd_device_register_all+0x2f/0x60
>> [  589.400487]  [<ffffffff881f0b8b>] :snd:snd_card_register+0x3b/0x390
>> [  589.400493]  [<ffffffff8825b9e3>] :snd_pcm:snd_pcm_new+0xe3/0x140
>> [  589.400505]  [<ffffffff88c6f306>]
>> :cx23885:cx23885_audio_initdev+0x156/0x1d0
>> [  589.400512]  [<ffffffff88c66a52>]
>> :cx23885:cx23885_video_register+0x1d2/0x2f0
>> [  589.400520]  [<ffffffff88c644d0>]
>> :cx23885:cx23885_tuner_callback+0x0/0xf0
>> [  589.400526]  [<ffffffff881e1f8a>]
>> :i2c_core:i2c_clients_command+0x2a/0xe0
>> [  589.400534]  [<ffffffff88c6aef7>] :cx23885:cx23885_initdev+0x927/0xb00
>> [  589.400537]  [<ffffffff8034a172>] kobject_get+0x12/0x20
>> [  589.400542]  [<ffffffff8035e4b8>] pci_device_probe+0xf8/0x170
>> [  589.400548]  [<ffffffff803bfd7c>] driver_probe_device+0x9c/0x1b0
>> [  589.400552]  [<ffffffff803c0049>] __driver_attach+0xc9/0xd0
>> [  589.400556]  [<ffffffff803bff80>] __driver_attach+0x0/0xd0
>> [  589.400558]  [<ffffffff803befbd>] bus_for_each_dev+0x4d/0x80
>> [  589.400564]  [<ffffffff803bf3cc>] bus_add_driver+0xac/0x220
>> [  589.400567]  [<ffffffff8035e739>] __pci_register_driver+0x69/0xb0
>> [  589.400572]  [<ffffffff80263e0e>] sys_init_module+0x18e/0x1a90
>> [  589.400586]  [<ffffffff882f2550>]
>> :videobuf_core:videobuf_mmap_free+0x0/0x40
>> [  589.400593]  [<ffffffff8020c37e>] system_call+0x7e/0x83
>> [  589.400600]
>> [  589.400600]
>> [  589.400601] Code: 48 89 50 08 48 89 02 48 8d 83 50 01 00 00 48 89 93 50
>> 01 00
>> [  589.400607] RIP  [<ffffffff881f5f89>] :snd:snd_device_new+0x59/0xb0
>> [  589.400613]  RSP <ffff810073235aa8>
>> [  589.400614] CR2: 0000000000000008
>> [  589.400615] ---[ end trace 5a3db5147eff6869 ]---
>>
>
> > On Sat, Sep 6, 2008 at 2:24 PM, Tim Lucas <lucastim at gmail.com> wrote:
> > Did you get this message?  I didn't know if you or anyone else had any
insight into this problem.

I am still trying to resolve this issue.  Loading the HVR1500 driver does
not work.  You can check the dmesg above and I think the problems start at
the line

[  589.382427] tveeprom 5-0050: Encountered bad packet header [ff]. Corrupt
or not a Hauppauge eeprom.

I would still like to try to get analog support working for my DViCO
FusionHDTV7 Dual Express.  This seemed like my best prospect.


-- 
--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080908/37392423/attachment.htm 


More information about the linux-dvb mailing list