diff options
author | Martyn Welch <martyn.welch@collabora.co.uk> | 2017-02-14 14:17:56 +0000 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-21 15:03:55 +0100 |
commit | c846fe9ce90a5ab0329de7f08d7523fb58c1251e (patch) | |
tree | 23567938bdf66cf682460a158d8bb515be7be493 /drivers/hid/hid-core.c | |
parent | 81bbef23db51c0b450d90607fbbc2ad80ee0d43f (diff) | |
download | linux-stable-c846fe9ce90a5ab0329de7f08d7523fb58c1251e.tar.gz linux-stable-c846fe9ce90a5ab0329de7f08d7523fb58c1251e.tar.bz2 linux-stable-c846fe9ce90a5ab0329de7f08d7523fb58c1251e.zip |
HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens
The Accutouch 2216 is reporting BTN_LEFT/BTN_MOUSE rather than BTM_TOUCH
in it's capabilities, which is what user space expects a touchscreen
device to report. This is causing udev to consider the device to be a
"VMware's USB mouse" rather than as a touchscreen, which results in a
mouse cursor being displayed in Weston.
This patch adds a special driver for the device to correct the
capabilities reported.
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index e9e87d337446..a4cb18ed7b01 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1891,6 +1891,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELO, 0x0009) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELO, 0x0030) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_ACCUTOUCH_2216) }, { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, { HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) }, { HID_USB_DEVICE(USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR) }, |