aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorForest Bond <forest.bond@rapidrollout.com>2013-10-21 12:38:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 13:57:19 -0500
commita7a6904f5f39e7aeb3740415900020346e0a9f01 (patch)
tree206f2036778cf750686926e7145a025b821bc2d5 /drivers
parent82a645a3ecd757206d4d6be182d7e47d50a7dd4c (diff)
HID: hid-multitouch: add support for SiS panels
commit a6802e008e19845fd9669511b895f7515ef9c48b upstream. Add support for SiS multitouch panels. Signed-off-by: Forest Bond <forest.bond@rapidrollout.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/Kconfig1
-rw-r--r--drivers/hid/hid-core.c2
-rw-r--r--drivers/hid/hid-ids.h4
-rw-r--r--drivers/hid/hid-multitouch.c8
-rw-r--r--drivers/hid/usbhid/hid-quirks.c2
5 files changed, 17 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 304c02b9e0c8..731240d1c1ef 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -438,6 +438,7 @@ config HID_MULTITOUCH
438 - Pixcir dual touch panels 438 - Pixcir dual touch panels
439 - Quanta panels 439 - Quanta panels
440 - eGalax dual-touch panels, including the Joojoo and Wetab tablets 440 - eGalax dual-touch panels, including the Joojoo and Wetab tablets
441 - SiS multitouch panels
441 - Stantum multitouch panels 442 - Stantum multitouch panels
442 - Touch International Panels 443 - Touch International Panels
443 - Unitec Panels 444 - Unitec Panels
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 86fd33ff9a8d..43831f18e4ca 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1766,6 +1766,8 @@ static const struct hid_device_id hid_have_special_driver[] = {
1766 { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_PS1000) }, 1766 { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_PS1000) },
1767 { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) }, 1767 { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) },
1768 { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_WIRELESS_KBD_MOUSE) }, 1768 { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_WIRELESS_KBD_MOUSE) },
1769 { HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH) },
1770 { HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS817_TOUCH) },
1769 { HID_USB_DEVICE(USB_VENDOR_ID_SKYCABLE, USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER) }, 1771 { HID_USB_DEVICE(USB_VENDOR_ID_SKYCABLE, USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER) },
1770 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_BDREMOTE) }, 1772 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_BDREMOTE) },
1771 { HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) }, 1773 { HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index ae821939730b..76aa9894b463 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -736,6 +736,10 @@
736#define USB_VENDOR_ID_SIGMATEL 0x066F 736#define USB_VENDOR_ID_SIGMATEL 0x066F
737#define USB_DEVICE_ID_SIGMATEL_STMP3780 0x3780 737#define USB_DEVICE_ID_SIGMATEL_STMP3780 0x3780
738 738
739#define USB_VENDOR_ID_SIS2_TOUCH 0x0457
740#define USB_DEVICE_ID_SIS9200_TOUCH 0x9200
741#define USB_DEVICE_ID_SIS817_TOUCH 0x0817
742
739#define USB_VENDOR_ID_SKYCABLE 0x1223 743#define USB_VENDOR_ID_SKYCABLE 0x1223
740#define USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER 0x3F07 744#define USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER 0x3F07
741 745
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 0c55f26f0f61..f79ad2cb3f4a 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1317,6 +1317,14 @@ static const struct hid_device_id mt_devices[] = {
1317 MT_USB_DEVICE(USB_VENDOR_ID_QUANTA, 1317 MT_USB_DEVICE(USB_VENDOR_ID_QUANTA,
1318 USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008) }, 1318 USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008) },
1319 1319
1320 /* SiS panels */
1321 { .driver_data = MT_CLS_DEFAULT,
1322 HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH,
1323 USB_DEVICE_ID_SIS9200_TOUCH) },
1324 { .driver_data = MT_CLS_DEFAULT,
1325 HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH,
1326 USB_DEVICE_ID_SIS817_TOUCH) },
1327
1320 /* Stantum panels */ 1328 /* Stantum panels */
1321 { .driver_data = MT_CLS_CONFIDENCE, 1329 { .driver_data = MT_CLS_CONFIDENCE,
1322 MT_USB_DEVICE(USB_VENDOR_ID_STANTUM, 1330 MT_USB_DEVICE(USB_VENDOR_ID_STANTUM,
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 07345521f421..ae5c63478b92 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -84,6 +84,8 @@ static const struct hid_blacklist {
84 { USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER, HID_QUIRK_NO_INIT_REPORTS }, 84 { USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER, HID_QUIRK_NO_INIT_REPORTS },
85 { USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET }, 85 { USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
86 { USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET }, 86 { USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
87 { USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH, HID_QUIRK_NOGET },
88 { USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS817_TOUCH, HID_QUIRK_NOGET },
87 { USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET }, 89 { USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
88 { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET }, 90 { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET },
89 { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET }, 91 { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET },