Hi, Thank very much Alan and Greg, As you requested me attach the usbmon logs from attach to detach of my device , same is attached to this mail and below is the one cat /proc/bus/usb/devices Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 11 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=ffff ProdID=0000 Rev= 0.01 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbmouse E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms please suggest me what exactly is going wrong, and I guess this because of my device speed i.e Spd=12 do u think this speed is not handled by usbmouse.c module Appreciate your kindness Thanks & Regards Kumar > --- On Thu, 7/30/09, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > wrote: > > > From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > > Subject: Re: urb->status is -84 (EILSEQ) > > To: "vijay manchala" <manchala07@xxxxxxxxx> > > Cc: linux-usb@xxxxxxxxxxxxxxx > > Date: Thursday, July 30, 2009, 8:43 PM > > On Wed, 29 Jul 2009, vijay manchala > > wrote: > > > > > Hi > > > > > > I saw earlier mailing lists which says about > the > > releasing the hid driver using "unbind", > > > > > > so what I did here now is, " echo -n > > /sys/bus/usb/driver/usbhid/bind" from the command > line > > > > > > Then I compiled the usbmouse.c as it is whithout > > changing anything of that file. Now I got usbmouse.ko > > module. > > > Next I inserted that module using insmod > usbmouse.ko. > > > > > > Then I went back to /sys/bus/usb/devices/ and > given > > the command > > > " echo -n 4-1.1.1 > > > /sys/bus/usb/drivers/usbmouse/bind > > > > > > So now the mouse device is regsistered with > usbmouse > > > > > > cat /proc/bus/usb/devices/ gives the below out > put > > > > > > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA > > > I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 > > Prot=02 Driver=usbmouse > > > > > > But when I see the dmesg and cat /proc/kmsg > mesagges > > continuosly usb_mouse_irq is getting called without > > even any mouse clicks > > > > > > when I saw the status of urb->status it > > is -84 (EILSEQ) > > > > > > and usbmon capture is showed below one > > > <URB Tag> <Timestamp> <Event > Type> > > <Address> > > > f02e5c80 150582594 S Ii:4:010:1 -115:8 4 < > > > f02e5c80 150606583 C Ii:4:010:1 -84:8 0 > > > f02e5c80 150606601 S Ii:4:010:1 -115:8 4 < > > > f02e5c80 150630578 C Ii:4:010:1 -84:8 0 > > > f02e5c80 150630594 S Ii:4:010:1 -115:8 4 < > > > f02e5c80 150654576 C Ii:4:010:1 -84:8 0 ... > > > ... > > > above message is continuously recieving after > > binding the device > > > > > > But am able to reicieve the device details > properly > > like vendor id , product id and all remaining things > > > > > > > > > Is any thing wrong am doing or my approach itself > not > > correct. > > > Please suggest me in this regard what am missing > in > > usbmouse.c to get it work properly. > > > > In general nothing is wrong (although you should not > use > > usbmouse > > because usbhid is much better). -84 indicates a > > hardware or firmware > > problem, not a software problem. > > > > Perhaps if you provided a complete usbmon log > (starting > > from before you > > detach usbhid) the answer would be clear. > > > > Alan Stern > > > > -- > > To unsubscribe from this list: send the line > "unsubscribe > > linux-usb" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > >
f7bbb800 2169665702 S Ii:001:01 -115 2 < f7bbb800 2169666947 C Ii:001:01 0 1 = 02 f7bbb800 2169666949 S Ii:001:01 -115 2 < f6cadb00 2169684767 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169684776 C Ci:001:00 0 4 = 01010100 f6cadb00 2169684778 S Co:001:00 s 23 01 0010 0001 0000 0 f6cadb00 2169684782 C Co:001:00 0 0 f6cadb00 2169684787 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169684791 C Ci:001:00 0 4 = 01010000 f6cadb00 2169710733 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169710739 C Ci:001:00 0 4 = 01010000 f6cadb00 2169736722 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169736728 C Ci:001:00 0 4 = 01010000 f6cadb00 2169762721 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169762727 C Ci:001:00 0 4 = 01010000 f6cadb00 2169788712 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169788717 C Ci:001:00 0 4 = 01010000 f6cadb00 2169788728 S Co:001:00 s 23 03 0004 0001 0000 0 f6cadb00 2169788732 C Co:001:00 0 0 f6cadb00 2169839715 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169839736 C Ci:001:00 0 4 = 03010000 f6cadb00 2169890712 S Co:001:00 s 23 01 0014 0001 0000 0 f6cadb00 2169890715 C Co:001:00 0 0 f6cadb00 2169890724 S Ci:000:00 s 80 06 0100 0000 0040 64 < f6cadb00 2169894727 C Ci:000:00 0 8 = 12011001 00000008 f6cadb00 2169894759 S Co:001:00 s 23 03 0004 0001 0000 0 f6cadb00 2169894764 C Co:001:00 0 0 f6cadb00 2169945725 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6cadb00 2169945746 C Ci:001:00 0 4 = 03010000 f6cadb00 2169996709 S Co:001:00 s 23 01 0014 0001 0000 0 f6cadb00 2169996712 C Co:001:00 0 0 f6cadb00 2169996714 S Co:000:00 s 00 05 000a 0000 0000 0 f6cadb00 2169999721 C Co:000:00 0 0 f6cadb00 2170012726 S Ci:010:00 s 80 06 0100 0000 0012 18 < f6cadb00 2170018720 C Ci:010:00 0 18 = 12011001 00000008 ffff0000 01000000 0001 f6cadb00 2170018753 S Ci:010:00 s 80 06 0200 0000 0009 9 < f6cadb00 2170023718 C Ci:010:00 0 9 = 09022200 010100a0 32 f6cadb00 2170023746 S Ci:010:00 s 80 06 0200 0000 0022 34 < f6cadb00 2170031719 C Ci:010:00 0 34 = 09022200 010100a0 32090400 00010301 02000921 00010001 22320007 05810304 f6cadb00 2170031897 S Co:010:00 s 00 09 0001 0000 0000 0 f6cadb00 2170034719 C Co:010:00 0 0 f6cadb00 2170034797 S Co:010:00 s 21 0a 0000 0000 0000 0 f6cadb00 2171544660 C Co:010:00 0 0 f6cadb00 2171544681 S Ci:010:00 s 81 06 2200 0000 0032 50 < f6cadb00 2171581656 C Ci:010:00 0 50 = 05010902 a1010901 a1000509 19012903 15002501 95037501 81029501 75058101 f6cad780 2171582371 S Ii:010:01 -115 3 < f6cade80 2171587067 S Ci:001:00 s a3 00 0000 0002 0004 4 < f6cade80 2171587074 C Ci:001:00 0 4 = 00010000 f6cad780 2171602655 C Ii:010:01 -108 0 f6cadb00 2171607040 S Co:010:00 s 01 0b 0000 0000 0000 0 f6cadb00 2171620659 C Co:010:00 -32 0 f7b9c280 2171620690 S Co:010:00 s 02 01 0000 0081 0000 0 f7b9c280 2171660651 C Co:010:00 0 0 7389a80 2213491932 S Ii:010:01 -115 4 < f7389a80 2213515928 C Ii:010:01 -84 0 f7389a80 2213515930 S Ii:010:01 -115 4 < f7389a80 2213539927 C Ii:010:01 -84 0 f7389a80 2213539929 S Ii:010:01 -115 4 < f7389a80 2213563926 C Ii:010:01 -84 0 f7389a80 2213563928 S Ii:010:01 -115 4 < f7389a80 2213587924 C Ii:010:01 -84 0 f7389a80 2213587926 S Ii:010:01 -115 4 < f7389a80 2213611923 C Ii:010:01 -84 0 f7389a80 2213611925 S Ii:010:01 -115 4 < f7389a80 2213635924 C Ii:010:01 -84 0 f7389a80 2213635927 S Ii:010:01 -115 4 < f7389a80 2213659921 C Ii:010:01 -84 0 f7389a80 2213659924 S Ii:010:01 -115 4 < f7389a80 2213683920 C Ii:010:01 -84 0 f7389a80 2213683923 S Ii:010:01 -115 4 < f7389a80 2213707919 C Ii:010:01 -84 0 f7389a80 2213707921 S Ii:010:01 -115 4 < f7389a80 2213731918 C Ii:010:01 -84 0 f7389a80 2213731920 S Ii:010:01 -115 4 < f7389a80 2213755917 C Ii:010:01 -84 0 f7389a80 2213755919 S Ii:010:01 -115 4 < f7389a80 2213779916 C Ii:010:01 -84 0 f7389a80 2213779919 S Ii:010:01 -115 4 < f7389a80 2213803916 C Ii:010:01 -84 0 f7389a80 2213803918 S Ii:010:01 -115 4 < f7389a80 2213827917 C Ii:010:01 -84 0 f7389a80 2213827920 S Ii:010:01 -115 4 < f7389a80 2213851913 C Ii:010:01 -84 0 f7389a80 2213851916 S Ii:010:01 -115 4 < f7389a80 2214187900 C Ii:010:01 -84 0 f7389a80 2214187902 S Ii:010:01 -115 4 < f7389a80 2214211898 C Ii:010:01 -84 0 f7389a80 2214211901 S Ii:010:01 -115 4 < f7389a80 2214235899 C Ii:010:01 -84 0 f7389a80 2214235902 S Ii:010:01 -115 4 < f7bbb800 2214238722 C Ii:001:01 0 1 = 02 f7bbb800 2214238730 S Ii:001:01 -115 2 < f02fc200 2214238747 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fc200 2214238755 C Ci:001:00 0 4 = 00010300 f02fc200 2214238758 S Co:001:00 s 23 01 0010 0001 0000 0 f02fc200 2214238761 C Co:001:00 0 0 f02fc200 2214238764 S Co:001:00 s 23 01 0011 0001 0000 0 f02fc200 2214238767 C Co:001:00 0 0 f7389a80 2214239893 C Ii:010:01 -108 0 f02fcb00 2214250268 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fcb00 2214250277 C Ci:001:00 0 4 = 00010000 f02fcb00 2214275705 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fcb00 2214275715 C Ci:001:00 0 4 = 00010000 f02fcb00 2214301962 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fcb00 2214301968 C Ci:001:00 0 4 = 00010000 f02fcb00 2214327944 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fcb00 2214327950 C Ci:001:00 0 4 = 00010000 f02fcb00 2214353944 S Ci:001:00 s a3 00 0000 0001 0004 4 < f02fcb00 2214353949 C Ci:001:00 0 4 = 00010000 f7bbb800 2216485739 C Ii:001:01 -2 0