urb->status is -84 (EILSEQ)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




Thanks & Regards
Kumar 






--- On Mon, 7/27/09, Greg KH <greg@xxxxxxxxx> wrote:

> From: Greg KH <greg@xxxxxxxxx>
> Subject: Re: bipassing USBHID driver with udev rule
> To: "vijay manchala" <manchala07@xxxxxxxxx>
> Cc: linux-hotplug@xxxxxxxxxxxxxxx
> Date: Monday, July 27, 2009, 8:24 PM
> On Sun, Jul 26, 2009 at 12:30:28PM
> -0700, vijay manchala wrote:
> > 
> > Hi,
> > 
> > I need some understanding regarding usbHID driver 
> > 
> > I had  one device called  footpedal usb
> device,  when I connected that
> > device to the HOST machine RHEL , default usbHID
> driver is detecting
> > my footpedal  i,e  usbhid driver.
> > 
> > Actually
> > I dont want usbHID driver to detect foot pedal
> device,  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.
> 
> Then just send a patch adding your device to the HID
> blacklist in the
> driver.  That will keep it from being loaded.
> 
> good luck,
> 
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-hotplug" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


      
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux