添加一行即可支持,如下所示:
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 7a180b9..7c19934 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -768,7 +768,9 @@ static void mt_remove(struct hid_device *hdev)
}
static const struct hid_device_id mt_devices[] = {
+ { .driver_data = MT_CLS_DEFAULT, HID_USB_DEVICE(0x0eef,0x0005) },
/* 3M panels */
{ .driver_data = MT_CLS_3M,
HID_USB_DEVICE(USB_VENDOR_ID_3M,
识别信息:
[ 40.788000] usb 1-1.1: new full-speed USB device number 3 using nxp-ehci
[ 40.888000] usb 1-1.1: New USB device found, idVendor=0eef, idProduct=0005
[ 40.896000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 40.904000] usb 1-1.1: Product: WaveShare Touchscreen
[ 40.908000] usb 1-1.1: Manufacturer: WaveShare
[ 40.912000] usb 1-1.1: SerialNumber: 2016-11-06
[ 40.924000] input: WaveShare WaveShare Touchscreen as /devices/platform/nxp-ehci/usb1/1-1/1-1.1/1-1.1:1.0/input/input4
[ 40.936000] hid-multitouch 0003:0EEF:0005.0001: input,hidraw0: USB HID v1.11 Device [WaveShare WaveShare Touchscreen] on usb-nxp-ehci-1.1/input0
这样就可以正常使用了。
网友评论