diff options
-rw-r--r-- | drivers/hid/Kconfig | 1 | ||||
-rw-r--r-- | drivers/hid/hid-core.c | 1 | ||||
-rw-r--r-- | drivers/hid/hid-ids.h | 3 | ||||
-rw-r--r-- | drivers/hid/hid-multitouch.c | 8 |
4 files changed, 13 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 996ae3ac3244..8058cf1ba83c 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -313,6 +313,7 @@ config HID_MULTITOUCH | |||
313 | - Cypress TrueTouch panels | 313 | - Cypress TrueTouch panels |
314 | - Hanvon dual touch panels | 314 | - Hanvon dual touch panels |
315 | - IrTouch Infrared USB panels | 315 | - IrTouch Infrared USB panels |
316 | - PenMount dual touch panels | ||
316 | - Pixcir dual touch panels | 317 | - Pixcir dual touch panels |
317 | - 'Sensing Win7-TwoFinger' panel by GeneralTouch | 318 | - 'Sensing Win7-TwoFinger' panel by GeneralTouch |
318 | - eGalax dual-touch panels, including the | 319 | - eGalax dual-touch panels, including the |
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index c3d66269ed7d..6e31b9f93329 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -1438,6 +1438,7 @@ static const struct hid_device_id hid_have_special_driver[] = { | |||
1438 | { HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_18) }, | 1438 | { HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_18) }, |
1439 | { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) }, | 1439 | { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) }, |
1440 | { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) }, | 1440 | { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) }, |
1441 | { HID_USB_DEVICE(USB_VENDOR_ID_PENMOUNT, USB_DEVICE_ID_PENMOUNT_PCI) }, | ||
1441 | { HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) }, | 1442 | { HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) }, |
1442 | { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) }, | 1443 | { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) }, |
1443 | { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) }, | 1444 | { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) }, |
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index d485894ff4db..252aebae5701 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -484,6 +484,9 @@ | |||
484 | #define USB_VENDOR_ID_PANTHERLORD 0x0810 | 484 | #define USB_VENDOR_ID_PANTHERLORD 0x0810 |
485 | #define USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK 0x0001 | 485 | #define USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK 0x0001 |
486 | 486 | ||
487 | #define USB_VENDOR_ID_PENMOUNT 0x14e1 | ||
488 | #define USB_DEVICE_ID_PENMOUNT_PCI 0x3500 | ||
489 | |||
487 | #define USB_VENDOR_ID_PETALYNX 0x18b1 | 490 | #define USB_VENDOR_ID_PETALYNX 0x18b1 |
488 | #define USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE 0x0037 | 491 | #define USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE 0x0037 |
489 | 492 | ||
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 6005e7888b14..51b5d272458f 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -89,6 +89,7 @@ struct mt_class { | |||
89 | #define MT_CLS_EGALAX 5 | 89 | #define MT_CLS_EGALAX 5 |
90 | #define MT_CLS_STANTUM 6 | 90 | #define MT_CLS_STANTUM 6 |
91 | #define MT_CLS_3M 7 | 91 | #define MT_CLS_3M 7 |
92 | #define MT_CLS_CONFIDENCE 8 | ||
92 | 93 | ||
93 | #define MT_DEFAULT_MAXCONTACT 10 | 94 | #define MT_DEFAULT_MAXCONTACT 10 |
94 | 95 | ||
@@ -156,6 +157,8 @@ struct mt_class mt_classes[] = { | |||
156 | .sn_move = 2048, | 157 | .sn_move = 2048, |
157 | .sn_width = 128, | 158 | .sn_width = 128, |
158 | .sn_height = 128 }, | 159 | .sn_height = 128 }, |
160 | { .name = MT_CLS_CONFIDENCE, | ||
161 | .quirks = MT_QUIRK_VALID_IS_CONFIDENCE }, | ||
159 | 162 | ||
160 | { } | 163 | { } |
161 | }; | 164 | }; |
@@ -584,6 +587,11 @@ static const struct hid_device_id mt_devices[] = { | |||
584 | HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS, | 587 | HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS, |
585 | USB_DEVICE_ID_IRTOUCH_INFRARED_USB) }, | 588 | USB_DEVICE_ID_IRTOUCH_INFRARED_USB) }, |
586 | 589 | ||
590 | /* PenMount panels */ | ||
591 | { .driver_data = MT_CLS_CONFIDENCE, | ||
592 | HID_USB_DEVICE(USB_VENDOR_ID_PENMOUNT, | ||
593 | USB_DEVICE_ID_PENMOUNT_PCI) }, | ||
594 | |||
587 | /* PixCir-based panels */ | 595 | /* PixCir-based panels */ |
588 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID, | 596 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID, |
589 | HID_USB_DEVICE(USB_VENDOR_ID_HANVON, | 597 | HID_USB_DEVICE(USB_VENDOR_ID_HANVON, |