Skip to content

Commit 92566c0

Browse files
flying-elephantgregkh
authored andcommitted
HID: wacom: Modify pen IDs
commit f0d17d6 upstream. The pen ID, 0x80842, was not the correct ID for wacom driver to treat. The ID was corrected to 0x8842. Also, 0x4200 was not the expected ID used on any Wacom device. Therefore, 0x4200 was removed. Signed-off-by: Tatsunosuke Tobita <[email protected]> Signed-off-by: Tatsunosuke Tobita <[email protected]> Fixes: bfdc750 ("HID: wacom: add three styli to wacom_intuos_get_tool_type") Cc: [email protected] #6.2 Reviewed-by: Ping Cheng <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b8774d3 commit 92566c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/hid/wacom_wac.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,13 +714,12 @@ static int wacom_intuos_get_tool_type(int tool_id)
714714
case 0x8e2: /* IntuosHT2 pen */
715715
case 0x022:
716716
case 0x200: /* Pro Pen 3 */
717-
case 0x04200: /* Pro Pen 3 */
718717
case 0x10842: /* MobileStudio Pro Pro Pen slim */
719718
case 0x14802: /* Intuos4/5 13HD/24HD Classic Pen */
720719
case 0x16802: /* Cintiq 13HD Pro Pen */
721720
case 0x18802: /* DTH2242 Pen */
722721
case 0x10802: /* Intuos4/5 13HD/24HD General Pen */
723-
case 0x80842: /* Intuos Pro and Cintiq Pro 3D Pen */
722+
case 0x8842: /* Intuos Pro and Cintiq Pro 3D Pen */
724723
tool_type = BTN_TOOL_PEN;
725724
break;
726725

0 commit comments

Comments
 (0)