[linux-dvb] My USB composite device.

lwtbenben lwtbenben at 163.com
Tue Jul 24 03:05:34 CEST 2007


>> Hi, everyone
>>     Dose Linux USB subsystem give any support about USB composite device?
>>     What should I do to drive my USB tv card which uses a composite USB
>> device?
>>
>you can have a look at:
>http://mcentral.de/wiki/index.php/Em2880#Devices
>most analogue TV devices support composite there.

Hi, Markus
    Thank you so much.
    But the problem is what should I do to mutex my driver, I mean ATV and DTV.
    I have a module now and when I insmod it to my Ubuntu system, the system came out with this fault:
[ 1189.045275] BUG: unable to handle kernel paging request at virtual address 243cb88c
[ 1189.045283]  printing eip:
[ 1189.045287] e0c38826
[ 1189.045290] *pde = 00000000
[ 1189.045295] Oops: 0000 [#1]
[ 1189.045298] SMP 
[ 1189.045303] Modules linked in: snd_usb_audio snd_usb_lib snd_hwdep au8502 dvb_usb_stk1150 dvb_usb dvb_core dvb_pll binfmt_misc rfcomm l2cap bluetooth ppdev acpi_cpufreq cpufreq_stats cpufreq_powersave cpufreq_userspace cpufreq_ondemand freq_table cpufreq_conservative dev_acpi pcc_acpi sony_acpi tc1100_wmi dock asus_acpi container sbs i2c_ec ac button backlight video battery ipv6 nls_utf8 ntfs af_packet lp fuse snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device sky2 nvidia(P) snd soundcore snd_page_alloc iTCO_wdt iTCO_vendor_support agpgart i2c_core pcspkr psmouse serio_raw parport_pc parport shpchp pci_hotplug evdev tsdev ext3 jbd mbcache sg sd_mod generic ahci ata_generic ehci_hcd ata_piix libata scsi_mod uhci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor vesafb capability commoncap
[ 1189.045466] CPU:    0
[ 1189.045468] EIP:    0060:[<e0c38826>]    Tainted: P      VLI
[ 1189.045471] EFLAGS: 00010296   (2.6.20-15-generic #2)
[ 1189.045491] EIP is at usb_free_stream_buffers+0x16/0x40 [dvb_usb]
[ 1189.045498] eax: d186933f   ebx: de226b3c   ecx: de22686c   edx: d18695c0
[ 1189.045505] esi: de226b3c   edi: de226000   ebp: 00000001   esp: dfe59e80
[ 1189.045511] ds: 007b   es: 007b   ss: 0068
[ 1189.045517] Process khubd (pid: 2041, ti=dfe58000 task=de725030 task.ti=dfe58000)
[ 1189.045522] Stack: de226bf0 de226bf0 e0c38c2e de226bf0 de226000 e0c3739e e0c5a90b df8f9418 
[ 1189.045540]        e0c5b420 ffffffed e0c37430 df8f9418 e0c5b420 df8f9400 e088cd20 d833e000 
[ 1189.045556]        df8f9418 e0c5b450 df8f9490 d833e058 c02578a8 df8f9418 df8f9418 c0257dd3 
[ 1189.045572] Call Trace:
[ 1189.045587]  [<e0c38c2e>] usb_urb_exit+0x3e/0x50 [dvb_usb]
[ 1189.045609]  [<e0c3739e>] dvb_usb_exit+0x3e/0xa0 [dvb_usb]
[ 1189.045637]  [<e0c37430>] dvb_usb_device_exit+0x30/0x50 [dvb_usb]
[ 1189.045666]  [<e088cd20>] usb_unbind_interface+0x50/0xa0 [usbcore]
[ 1189.045710]  [<c02578a8>] __device_release_driver+0x68/0xa0
[ 1189.045728]  [<c0257dd3>] device_release_driver+0x23/0x40
[ 1189.045739]  [<c025721c>] bus_remove_device+0x5c/0x90
[ 1189.045756]  [<c0255672>] device_del+0x152/0x1b0
[ 1189.045785]  [<e088a1ee>] usb_disable_device+0x7e/0xe0 [usbcore]
[ 1189.045828]  [<e0886597>] usb_disconnect+0x97/0x130 [usbcore]
[ 1189.045915]  [<e08872ff>] hub_thread+0x26f/0xc20 [usbcore]
[ 1189.046049]  [<c013adf0>] autoremove_wake_function+0x0/0x50
[ 1189.046095]  [<e0887090>] hub_thread+0x0/0xc20 [usbcore]
[ 1189.046122]  [<c013ac3a>] kthread+0xba/0xf0
[ 1189.046138]  [<c013ab80>] kthread+0x0/0xf0
[ 1189.046155]  [<c01044c7>] kernel_thread_helper+0x7/0x10

    I am troubled with this issue for a long time, It seems that I do not mutex my driver properly.  Could you give me some advice???

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070724/3b1c8fe0/attachment.htm 


More information about the linux-dvb mailing list