Re: [PATCH] Input: add appleir USB driver

From: Tino Keitel
Date: Fri May 16 2008 - 03:26:57 EST


On Fri, May 16, 2008 at 09:19:39 +0200, Jiri Kosina wrote:
> On Thu, 15 May 2008, Tino Keitel wrote:
>
> > Does setting the quirks to 0 lead to the creation of a HID device
> > immediately?
>
> The easiest way is either to handle this in the early stage, i.e. specify
> 'quirks' module parameter during the module insertion.
>
> Other possibility is to detach the driver from the device using 'unbind'
> functionality of sysfs. libusb has a call for this too.

Thanks for the hint.

So I guess that the LIRC driver should be extended to watch out for a
USB device with the prober vendor/device ID and unbind it before usage,
right?

This wouldn't help users who use the current LIRC with a kernel that
has the HID ignore quirk enabled by default, though (i.e., it would be
a regression).

Regards,
Tino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/