HID: Ignore D-WAV/eGalax devices handled by usbtouchscreen
authorForest Bond <forest.bond@rapidrollout.com>
Tue, 6 Nov 2012 18:41:22 +0000 (13:41 -0500)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Nov 2012 10:51:28 +0000 (11:51 +0100)
commit729b814acec20db66fc891b5392cb653ad6598ef
tree23f65f09462fbe5301824459e2f5bdde9f63c33d
parent537b6643dcb0ff7f47b21debd7bc3346b1456a44
HID: Ignore D-WAV/eGalax devices handled by usbtouchscreen

Previously, both usbhid and usbtouchscreen would bind to D-WAV devices
with class HID and protocol None, so they would be claimed by whichever
driver was loaded first.  Some of these devices do in fact work with
usbhid, but not all of them do.  OTOH they all work with usbtouchscreen
as of commit 037a833ed05a86d01ea27a2c32043b86c549be1b ("Input:
usbtouchscreen - initialize eGalax devices").  So we ignore them in
usbhid to prevent getting in the way of usbtouchscreen and claiming an
interface that we may not be able to do anything useful with.

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h