From: vijay manchala Date: Thu, 30 Jul 2009 05:57:14 +0000 Subject: urb->status is -84 (EILSEQ) Message-Id: <975650.89911.qm@web110716.mail.gq1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi=20 I saw earlier mailing lists which says about the releasing the hid driver = using "unbind",=20 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.=20 Next I inserted that module using insmod usbmouse.ko. Then I went back to /sys/bus/usb/devices/ and given the command=20 " echo -n 4-1.1.1 > /sys/bus/usb/drivers/usbmouse/bind So now the mouse device is regsistered with usbmouse=20 cat /proc/bus/usb/devices/ gives the below out put=20 C:* #Ifs=3D 1 Cfg#=3D 1 Atr=A0 MxPwr=100mA I:* If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=03(HID ) Sub=01 Prot=02 Driver=3Dusbmo= use 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)=20 and usbmon capture is showed below one=20
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 , produc= t id and all remaining things=20 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 wo= rk properly. Thanks & Regards Kumar=20 --- On Mon, 7/27/09, Greg KH wrote: > From: Greg KH > Subject: Re: bipassing USBHID driver with udev rule > To: "vijay manchala" > Cc: linux-hotplug@vger.kernel.org > Date: Monday, July 27, 2009, 8:24 PM > On Sun, Jul 26, 2009 at 12:30:28PM > -0700, vijay manchala wrote: > >=20 > > Hi, > >=20 > > I need some understanding regarding usbHID driver=20 > >=20 > > I had=A0 one device called=A0 footpedal usb > device,=A0 when I connected that > > device to the HOST machine RHEL , default usbHID > driver is detecting > > my footpedal=A0 i,e=A0 usbhid driver. > >=20 > > Actually > > I dont want usbHID driver to detect foot pedal > device,=A0 it would have > > been nice if there was just a nice simple way of > stopping the kernel > > usbHID driver from getting in the way, I want this > pedal detected by > > my own modified mouse driver. >=20 > Then just send a patch adding your device to the HID > blacklist in the > driver.=A0 That will keep it from being loaded. >=20 > good luck, >=20 > greg k-h > -- > To unsubscribe from this list: send the line "unsubscribe > linux-hotplug" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at=A0 http://vger.kernel.org/majordomo-info.html >=20 =20