On Monday 08 August 2005 07:27 pm, Alan Stern wrote:
> On Mon, 8 Aug 2005, prakash wrote:
> > Hi,
> >
> > I am a newbie to usb driver.... my kernel version is 2.6.12-4.
> > I m trying to add isochronous endpoint in Bluetty driver. I have added
> > some codes (taken from hci_usb.c) to findout isochronous endpoint. Now
> > this kernel module identifies my USB dongle . I am facing the following
> > problems,
> >
> > 1. Once Module is loaded, i m removing the Dongle from PC...
> > Module is unloaded without any problem i guess.. then next time when i
> > plugin the dongle, my system is Hanging ... I dont know why .... I
> > think i m missing something when disconnecting the modules...
> >
> > 2. when i m removing the module using
> > rmmod bluetty, system hangs ... sometimes i m getting "journal commit I/O
> > error" .....
> >
> > I have pasted my log messages... i have attached bluetty.c
> > code also ...
> >
> > Aug 8 15:01:24 localhost kernel: usb_unlink_urb() is deprecated for
> > synchronous unlinks.
> > Use usb_kill_urb() instead.
> > Aug 8 15:01:24 localhost kernel: Badness in usb_unlink_urb at
> > drivers/usb/core/urb.c:461
> > Aug 8 15:01:24 localhost kernel: [<c02cfee2>] usb_unlink_urb+0x92/0xa0
> > Aug 8 15:01:24 localhost kernel: [<e0b3d415>]
> > usb_bluetooth_disconnect+0x125/0x1f0 [bluet
> > ty]
> > Aug 8 15:01:24 localhost kernel: [<c02c8fd8>]
> > usb_unbind_interface+0x68/0x70 Aug 8 15:01:24 localhost kernel:
> > [<c027da56>]
> > device_release_driver+0x66/0x70
> > Aug 8 15:01:24 localhost kernel: [<c027da89>] driver_detach+0x29/0x40
> > Aug 8 15:01:24 localhost kernel: [<c027df7b>]
> > bus_remove_driver+0x5b/0xa0 Aug 8 15:01:24 localhost kernel:
> > [<c027e4ab>] driver_unregister+0xb/0x20 Aug 8 15:01:24 localhost kernel:
> > [<c02c90c4>] usb_deregister+0x34/0x50 Aug 8 15:01:24 localhost kernel:
> > [<e0b3d6e2>] usb_bluetooth_exit+0x22/0x70 [bluetty]
> > Aug 8 15:01:24 localhost kernel: [<c012fce7>]
> > sys_delete_module+0x127/0x170 Aug 8 15:01:24 localhost kernel:
> > [<c0147d5a>] unmap_vma_list+0x1a/0x30 Aug 8 15:01:24 localhost kernel:
> > [<c01480ca>] do_munmap+0xfa/0x130 Aug 8 15:01:24 localhost kernel:
> > [<c0102e2f>] sysenter_past_esp+0x54/0x75
>
> You should take these warnings from the kernel seriously. Call
> usb_kill_urb instead of usb_unlink_urb when you want to do a synchronous
> unlink.
>
Hi, i have changed them too... i think kernle is crashing in some
point.... I want to know whether i m releasing the device and handling
interface properly. I think Bulk in and out points are in one Interface and
iso in and out in other. Am i going in the correct path ????? ....
> Alan Stern
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> [email protected]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel