Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: wacom - add support for digitizer in Lenovo W700

Signed-off-by: Ajay Ramaswamy <ajay@ramaswamy.net>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Ajay Ramaswamy and committed by
Dmitry Torokhov
7b4b3068 ab4e0192

+8
+1
drivers/input/tablet/wacom.h
··· 103 103 MODULE_LICENSE(DRIVER_LICENSE); 104 104 105 105 #define USB_VENDOR_ID_WACOM 0x056a 106 + #define USB_VENDOR_ID_LENOVO 0x17ef 106 107 107 108 struct wacom { 108 109 dma_addr_t data_dma;
+7
drivers/input/tablet/wacom_wac.c
··· 1444 1444 { "Wacom Bamboo 2FG 4x5 SE", WACOM_PKGLEN_BBFUN, 14720, 9200, 1023, 63, BAMBOO_PT }; 1445 1445 static struct wacom_features wacom_features_0xDB = 1446 1446 { "Wacom Bamboo 2FG 6x8 SE", WACOM_PKGLEN_BBFUN, 21648, 13530, 1023, 63, BAMBOO_PT }; 1447 + static const struct wacom_features wacom_features_0x6004 = 1448 + { "ISD-V4", WACOM_PKGLEN_GRAPHIRE, 12800, 8000, 255, 0, TABLETPC }; 1447 1449 1448 1450 #define USB_DEVICE_WACOM(prod) \ 1449 1451 USB_DEVICE(USB_VENDOR_ID_WACOM, prod), \ 1452 + .driver_info = (kernel_ulong_t)&wacom_features_##prod 1453 + 1454 + #define USB_DEVICE_LENOVO(prod) \ 1455 + USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \ 1450 1456 .driver_info = (kernel_ulong_t)&wacom_features_##prod 1451 1457 1452 1458 const struct usb_device_id wacom_ids[] = { ··· 1531 1525 { USB_DEVICE_WACOM(0xE2) }, 1532 1526 { USB_DEVICE_WACOM(0xE3) }, 1533 1527 { USB_DEVICE_WACOM(0x47) }, 1528 + { USB_DEVICE_LENOVO(0x6004) }, 1534 1529 { } 1535 1530 }; 1536 1531 MODULE_DEVICE_TABLE(usb, wacom_ids);