Re: HID device question.

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

 



On Mon, Aug 29, 2011 at 09:39:53PM -0700, Chris Furlough wrote:
> >On Mon, Aug 29, 2011 at 09:35:18PM -0700, Chris Furlough wrote:
> >>*sigh*  It SEEMS to simple.  What's wrong with this?
> >
> >You forgot to add your device to the HID blacklist so that it wouldn't
> >bind to the device first?
> >
> >>I insmod the driver, and I get "my_init called".  Then, I insert the
> >>device, and it gets assigned to usbhid.
> >
> >Wait, that's correct, why do you think it isn't?  The usbhid core still
> >controls your device, and then your driver hooks into the hid callbacks.
> 
> I thought my probe function would get called.  Since I only got the
> init message, I thought that to be incorrect.
> 
> Also, how do I add a DEVICE to the blacklist, and not the whole HID
> driver?

Look at the large HID blacklist :)

greg k-h
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux