diff options
author | Masatoshi Hoshikawa <hoshikawa@xiroku.com> | 2012-01-04 21:53:46 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-01-05 09:49:21 -0500 |
commit | 11576c6114c3b6505aea2e0c988bedb856a0e20c (patch) | |
tree | c686c986dc6dcc0d0becd2b9fa1d21dd718fb134 /drivers/hid | |
parent | c4fad877cd0efb51d8180ae2eaa791c99c92051c (diff) |
HID: hid-multitouch: add support 9 new Xiroku devices
This patch adds support for the Xiroku Inc. panels (SPX/MPX/CSR/etc.).
Signed-off-by: Masatoshi Hoshikawa <hoshikawa@xiroku.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/Kconfig | 1 | ||||
-rw-r--r-- | drivers/hid/hid-core.c | 9 | ||||
-rw-r--r-- | drivers/hid/hid-ids.h | 11 | ||||
-rw-r--r-- | drivers/hid/hid-multitouch.c | 29 |
4 files changed, 50 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e95b07cff038..ef111b4ae97c 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -358,6 +358,7 @@ config HID_MULTITOUCH | |||
358 | - Touch International Panels | 358 | - Touch International Panels |
359 | - Unitec Panels | 359 | - Unitec Panels |
360 | - XAT optical touch panels | 360 | - XAT optical touch panels |
361 | - Xiroku optical touch panels | ||
361 | 362 | ||
362 | If unsure, say N. | 363 | If unsure, say N. |
363 | 364 | ||
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 2f8ad34a6a91..2b87609def38 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -1555,6 +1555,15 @@ static const struct hid_device_id hid_have_special_driver[] = { | |||
1555 | { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, | 1555 | { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, |
1556 | { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, | 1556 | { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
1557 | { HID_USB_DEVICE(USB_VENDOR_ID_XAT, USB_DEVICE_ID_XAT_CSR) }, | 1557 | { HID_USB_DEVICE(USB_VENDOR_ID_XAT, USB_DEVICE_ID_XAT_CSR) }, |
1558 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_SPX) }, | ||
1559 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_MPX) }, | ||
1560 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_CSR) }, | ||
1561 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_SPX1) }, | ||
1562 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_MPX1) }, | ||
1563 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_CSR1) }, | ||
1564 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_SPX2) }, | ||
1565 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_MPX2) }, | ||
1566 | { HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_CSR2) }, | ||
1558 | { HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE) }, | 1567 | { HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE) }, |
1559 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, | 1568 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, |
1560 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) }, | 1569 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) }, |
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index efd2fdacc393..f140edff944b 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -724,6 +724,17 @@ | |||
724 | #define USB_VENDOR_ID_XAT 0x2505 | 724 | #define USB_VENDOR_ID_XAT 0x2505 |
725 | #define USB_DEVICE_ID_XAT_CSR 0x0220 | 725 | #define USB_DEVICE_ID_XAT_CSR 0x0220 |
726 | 726 | ||
727 | #define USB_VENDOR_ID_XIROKU 0x1477 | ||
728 | #define USB_DEVICE_ID_XIROKU_SPX 0x1006 | ||
729 | #define USB_DEVICE_ID_XIROKU_MPX 0x1007 | ||
730 | #define USB_DEVICE_ID_XIROKU_CSR 0x100e | ||
731 | #define USB_DEVICE_ID_XIROKU_SPX1 0x1021 | ||
732 | #define USB_DEVICE_ID_XIROKU_CSR1 0x1022 | ||
733 | #define USB_DEVICE_ID_XIROKU_MPX1 0x1023 | ||
734 | #define USB_DEVICE_ID_XIROKU_SPX2 0x1024 | ||
735 | #define USB_DEVICE_ID_XIROKU_CSR2 0x1025 | ||
736 | #define USB_DEVICE_ID_XIROKU_MPX2 0x1026 | ||
737 | |||
727 | #define USB_VENDOR_ID_YEALINK 0x6993 | 738 | #define USB_VENDOR_ID_YEALINK 0x6993 |
728 | #define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K 0xb001 | 739 | #define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K 0xb001 |
729 | 740 | ||
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index c3154af28132..5aada1219971 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -854,6 +854,35 @@ static const struct hid_device_id mt_devices[] = { | |||
854 | HID_USB_DEVICE(USB_VENDOR_ID_XAT, | 854 | HID_USB_DEVICE(USB_VENDOR_ID_XAT, |
855 | USB_DEVICE_ID_XAT_CSR) }, | 855 | USB_DEVICE_ID_XAT_CSR) }, |
856 | 856 | ||
857 | /* Xiroku */ | ||
858 | { .driver_data = MT_CLS_DEFAULT, | ||
859 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
860 | USB_DEVICE_ID_XIROKU_SPX) }, | ||
861 | { .driver_data = MT_CLS_DEFAULT, | ||
862 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
863 | USB_DEVICE_ID_XIROKU_MPX) }, | ||
864 | { .driver_data = MT_CLS_DEFAULT, | ||
865 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
866 | USB_DEVICE_ID_XIROKU_CSR) }, | ||
867 | { .driver_data = MT_CLS_DEFAULT, | ||
868 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
869 | USB_DEVICE_ID_XIROKU_SPX1) }, | ||
870 | { .driver_data = MT_CLS_DEFAULT, | ||
871 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
872 | USB_DEVICE_ID_XIROKU_MPX1) }, | ||
873 | { .driver_data = MT_CLS_DEFAULT, | ||
874 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
875 | USB_DEVICE_ID_XIROKU_CSR1) }, | ||
876 | { .driver_data = MT_CLS_DEFAULT, | ||
877 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
878 | USB_DEVICE_ID_XIROKU_SPX2) }, | ||
879 | { .driver_data = MT_CLS_DEFAULT, | ||
880 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
881 | USB_DEVICE_ID_XIROKU_MPX2) }, | ||
882 | { .driver_data = MT_CLS_DEFAULT, | ||
883 | HID_USB_DEVICE(USB_VENDOR_ID_XIROKU, | ||
884 | USB_DEVICE_ID_XIROKU_CSR2) }, | ||
885 | |||
857 | { } | 886 | { } |
858 | }; | 887 | }; |
859 | MODULE_DEVICE_TABLE(hid, mt_devices); | 888 | MODULE_DEVICE_TABLE(hid, mt_devices); |