From patchwork Tue Mar 5 18:39:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gerecke, Jason" X-Patchwork-Id: 10839873 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A67C6139A for ; Tue, 5 Mar 2019 18:39:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C7762B8A1 for ; Tue, 5 Mar 2019 18:39:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A1612B8C1; Tue, 5 Mar 2019 18:39:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22BFB2B8A1 for ; Tue, 5 Mar 2019 18:39:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726635AbfCESjF (ORCPT ); Tue, 5 Mar 2019 13:39:05 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:32834 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726797AbfCESjF (ORCPT ); Tue, 5 Mar 2019 13:39:05 -0500 Received: by mail-pg1-f196.google.com with SMTP id h11so6228193pgl.0 for ; Tue, 05 Mar 2019 10:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QhMggxgz+a6hCr1gqUETFWVFmDXms/WRvUfSJ60PM1E=; b=adAF3MQyQjX22SWukTypKJxxuZ4wQQ+ZQmW9brUa/rcltQfVYmO8AoyuW2hneN2CUz uvPVtlFJcfJpFKeeREJHV5GTGooMWg+4d7CcJaLwg7Dg2H3fPzOLKmrZQWilnvjwCh0p r+ekqJzarwx1R/+3ga12iAg8WmQy93gSKaHpvKVH6cg2r3aB6LzRMvyDYe+ARlMExCid k91BcHPm1X/8sqFI1kexEmo1SDqmp9W8/Uzu4t71WEP4Qut3VkzN3ACHRWlXxZjtVBkQ FRF4G582BRfFkYoc+VB3TFuW7ehJ9oeM6H9fVYD0ULRMnWMgVpvsesY2avyjwLG/9F+y Lk6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QhMggxgz+a6hCr1gqUETFWVFmDXms/WRvUfSJ60PM1E=; b=o+7JhMh0dXgrZIu7vbK8161hxq3bIFpUMzevjaCUzt7L4IsoToxKiCF7MCURTFCfRf vYLJfYWCbgP7hmQ86fh0HXHGkFveH8qsvjZuaT6gKZTcdZn3whBn/rNA/s+Ku/50YRJp oJwOBS9Jd6gUy/9nXOUI/TC2Xn/crfT3b0fC0FNLpxOijn0fvNWsenai1llxIeFlss/b 45b5Fl9YaCP/b/ZtHxSWBMUM4CzZt7P/s8caD3V/IGPhAuOwqG1k17mUVksPxiXI1RaH pWKdXT2Uq5JWoE7yAMj3VyXoNVEx9cW5BnMwxC+qM5eV/A+/hiJhEutJDF5PnQlcrfP2 h6Eg== X-Gm-Message-State: APjAAAWy1j/T4f3OE93NLgaMeGtU69RFx22VMOpkg0r5FEA5ZH1lrzYL aZcBQ76XbM0b3mX9NwVxmSKDLXpW X-Google-Smtp-Source: APXvYqyRUUP53YU0tUcpgtqgVuLzyNVh9P3ztl4qqHfw88Cj6SewChyu02EPe1EE2xvr3ZhfTL+mWg== X-Received: by 2002:a17:902:8e8b:: with SMTP id bg11mr2582304plb.328.1551811144029; Tue, 05 Mar 2019 10:39:04 -0800 (PST) Received: from wacom-arch2.corp.onewacom.com ([50.225.60.4]) by smtp.gmail.com with ESMTPSA id v9sm16973110pfg.130.2019.03.05.10.39.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 10:39:02 -0800 (PST) From: "Gerecke, Jason" X-Google-Original-From: "Gerecke, Jason" To: linux-input@vger.kernel.org, Dmitry Torokhov Cc: Jason Gerecke Subject: [PATCH] Input: wacom_serial4 - Support for Wacom ArtPad II tablet Date: Tue, 5 Mar 2019 10:39:00 -0800 Message-Id: <20190305183900.11158-1-jason.gerecke@wacom.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gerecke 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 --- drivers/input/tablet/wacom_serial4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/tablet/wacom_serial4.c b/drivers/input/tablet/wacom_serial4.c index 38bfaca48eab..150f9eecaca7 100644 --- a/drivers/input/tablet/wacom_serial4.c +++ b/drivers/input/tablet/wacom_serial4.c @@ -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;