Input: wacom_serial4 - add support for Wacom ArtPad II tablet
authorJason Gerecke <jason.gerecke@wacom.com>
Sat, 9 Mar 2019 23:32:13 +0000 (15:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 9 Mar 2019 23:57:18 +0000 (15:57 -0800)
Tablet initially begins communicating at 9600 baud, so this command
should be used to connect to the device:

    $ inputattach --daemon --baud 9600 --wacom_iv /dev/ttyS0

https://github.com/linuxwacom/xf86-input-wacom/issues/40

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_serial4.c

index 38bfaca48eab188cd50404428976a2e1661a172b..150f9eecaca706b887cbddbe122e71fe274a350a 100644 (file)
@@ -187,6 +187,7 @@ enum {
        MODEL_DIGITIZER_II      = 0x5544, /* UD */
        MODEL_GRAPHIRE          = 0x4554, /* ET */
        MODEL_PENPARTNER        = 0x4354, /* CT */
+       MODEL_ARTPAD_II         = 0x4B54, /* KT */
 };
 
 static void wacom_handle_model_response(struct wacom *wacom)
@@ -245,6 +246,7 @@ static void wacom_handle_model_response(struct wacom *wacom)
                wacom->flags = F_HAS_STYLUS2 | F_HAS_SCROLLWHEEL;
                break;
 
+       case MODEL_ARTPAD_II:
        case MODEL_DIGITIZER_II:
                wacom->dev->name = "Wacom Digitizer II";
                wacom->dev->id.version = MODEL_DIGITIZER_II;