Re: [Linuxwacom-devel] [PATCH] Use hid blacklist in usbmouse/usbkbd

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

 



Hi Pascal,

There is a less intrusive way to handle this for any reasonably modern
2.6 kernel...  see the check_driver script in the Debian package.

It's called from udev when the device is plugged and if it is a wacom
tablet, it will repossess it from any other driver and bind it to the
wacom one.

We had a more brutal hack that did this for 2.4 too, but this method
is I believe the recommended one now (or at least supported without
further kernel patching since about 2.6.13-ish).

hth!
Ron


On Mon, Nov 26, 2007 at 11:58:08AM +0100, Pascal Terjan wrote:
> Hi,
> Some devices are blacklisted in hid-quirks, but still get handled by
> usbmouse/usbkbd.
> 
> That means that if usbmouse is already loaded when a wacom tablet gets
> plugged it, it will take it.
> 
> This patch fixes this behaviour by using hid's blacklist in usbmouse
> and usbkbd, but I don't know much about interactions between hid and
> usbmouse/usbkbd so I'm not sure this is the correct way to do it.
> 
> So, please voice you opinion :)


-
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux