Stop usbhid from claiming usb device on hotplug

Greg KH greg at kroah.com
Sat May 30 03:39:46 EDT 2015


On Sat, May 30, 2015 at 01:43:20AM -0400, Armin Moradi wrote:
> >> I'm writing a kernel module, but probe() is never called since usbhid
> >> claims the usb device as soon as the device is plugged in.
> >
> > What type of module for what type of device?  And why do you want to
> > override the hid driver from binding to it?
> >
> > thanks,
> >
> > greg k-h
> 
> I'm just learning about device drivers, so I'm writing a dummy usb
> device driver. I've pasted the code here (I hope the formatting is
> correct):

This was for a challenge that doesn't want you to ask in public, sorry,
I'm not going to answer it.

best of luck,

greg k-h



More information about the Kernelnewbies mailing list