浏览代码

HID: huion: Handle tablets with UC-Logic vendor ID

Add handling of Huion tablets with UC-Logic vendor ID, but the same
product ID to hid-huion driver. A Huion H580 was seen using it.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Nikolai Kondrashov 11 年之前
父节点
当前提交
3f1f333232
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/hid/hid-huion.c

+ 1 - 0
drivers/hid/hid-huion.c

@@ -243,6 +243,7 @@ static int huion_raw_event(struct hid_device *hdev, struct hid_report *report,
 
 
 static const struct hid_device_id huion_devices[] = {
 static const struct hid_device_id huion_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HUION, USB_DEVICE_ID_HUION_TABLET) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HUION, USB_DEVICE_ID_HUION_TABLET) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_HUION_TABLET) },
 	{ }
 	{ }
 };
 };
 MODULE_DEVICE_TABLE(hid, huion_devices);
 MODULE_DEVICE_TABLE(hid, huion_devices);