From: Ping Cheng Date: Fri, 26 Aug 2022 21:34:02 +0000 (-0700) Subject: HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs X-Git-Tag: baikal/aarch64/sdk5.10~49 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=a89f570a5b9e46f807d5d56772fff9864c2d4d30;p=kernel.git HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs commit 6db2bff4c2ce607d6c86e093a18c2207825df1e6 upstream. Add the new PIDs to wacom_wac.c to support the new model in the Intuos Pro series. Signed-off-by: Ping Cheng Tested-by: Aaron Armstrong Skomra Signed-off-by: Jiri Kosina Cc: Ping Cheng Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 5284348e592d8..6fbdffaadb9b0 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -4840,6 +4840,10 @@ static const struct wacom_features wacom_features_0x3c6 = static const struct wacom_features wacom_features_0x3c8 = { "Wacom Intuos BT M", 21600, 13500, 4095, 63, INTUOSHT3_BT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4 }; +static const struct wacom_features wacom_features_0x3dd = + { "Wacom Intuos Pro S", 31920, 19950, 8191, 63, + INTUOSP2S_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7, + .touch_max = 10 }; static const struct wacom_features wacom_features_HID_ANY_ID = { "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID }; @@ -5019,6 +5023,7 @@ const struct hid_device_id wacom_ids[] = { { BT_DEVICE_WACOM(0x393) }, { BT_DEVICE_WACOM(0x3c6) }, { BT_DEVICE_WACOM(0x3c8) }, + { BT_DEVICE_WACOM(0x3dd) }, { USB_DEVICE_WACOM(0x4001) }, { USB_DEVICE_WACOM(0x4004) }, { USB_DEVICE_WACOM(0x5000) },