diff options
-rw-r--r-- | drivers/input/tablet/wacom_wac.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index cc6c917e1164..2ea0d2e55a4e 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "wacom_wac.h" | 15 | #include "wacom_wac.h" |
16 | #include "wacom.h" | 16 | #include "wacom.h" |
17 | #include <linux/input/mt.h> | 17 | #include <linux/input/mt.h> |
18 | #include <linux/hid.h> | ||
18 | 19 | ||
19 | /* resolution for penabled devices */ | 20 | /* resolution for penabled devices */ |
20 | #define WACOM_PL_RES 20 | 21 | #define WACOM_PL_RES 20 |
@@ -1486,6 +1487,11 @@ static const struct wacom_features wacom_features_0x6004 = | |||
1486 | USB_DEVICE(USB_VENDOR_ID_WACOM, prod), \ | 1487 | USB_DEVICE(USB_VENDOR_ID_WACOM, prod), \ |
1487 | .driver_info = (kernel_ulong_t)&wacom_features_##prod | 1488 | .driver_info = (kernel_ulong_t)&wacom_features_##prod |
1488 | 1489 | ||
1490 | #define USB_DEVICE_DETAILED(prod, class, sub, proto) \ | ||
1491 | USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_WACOM, prod, class, \ | ||
1492 | sub, proto), \ | ||
1493 | .driver_info = (kernel_ulong_t)&wacom_features_##prod | ||
1494 | |||
1489 | #define USB_DEVICE_LENOVO(prod) \ | 1495 | #define USB_DEVICE_LENOVO(prod) \ |
1490 | USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \ | 1496 | USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \ |
1491 | .driver_info = (kernel_ulong_t)&wacom_features_##prod | 1497 | .driver_info = (kernel_ulong_t)&wacom_features_##prod |
@@ -1548,7 +1554,13 @@ const struct usb_device_id wacom_ids[] = { | |||
1548 | { USB_DEVICE_WACOM(0xC5) }, | 1554 | { USB_DEVICE_WACOM(0xC5) }, |
1549 | { USB_DEVICE_WACOM(0xC6) }, | 1555 | { USB_DEVICE_WACOM(0xC6) }, |
1550 | { USB_DEVICE_WACOM(0xC7) }, | 1556 | { USB_DEVICE_WACOM(0xC7) }, |
1551 | { USB_DEVICE_WACOM(0xCE) }, | 1557 | /* |
1558 | * DTU-2231 has two interfaces on the same configuration, | ||
1559 | * only one is used. | ||
1560 | */ | ||
1561 | { USB_DEVICE_DETAILED(0xCE, USB_CLASS_HID, | ||
1562 | USB_INTERFACE_SUBCLASS_BOOT, | ||
1563 | USB_INTERFACE_PROTOCOL_MOUSE) }, | ||
1552 | { USB_DEVICE_WACOM(0xD0) }, | 1564 | { USB_DEVICE_WACOM(0xD0) }, |
1553 | { USB_DEVICE_WACOM(0xD1) }, | 1565 | { USB_DEVICE_WACOM(0xD1) }, |
1554 | { USB_DEVICE_WACOM(0xD2) }, | 1566 | { USB_DEVICE_WACOM(0xD2) }, |