From patchwork Wed Jul 23 12:42:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolai Kondrashov X-Patchwork-Id: 4610361 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E195F9F37C for ; Wed, 23 Jul 2014 12:43:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1AE00201BB for ; Wed, 23 Jul 2014 12:43:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 50532201BA for ; Wed, 23 Jul 2014 12:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbaGWMna (ORCPT ); Wed, 23 Jul 2014 08:43:30 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:50368 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752388AbaGWMna (ORCPT ); Wed, 23 Jul 2014 08:43:30 -0400 Received: by mail-wg0-f51.google.com with SMTP id b13so1086505wgh.10 for ; Wed, 23 Jul 2014 05:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vr4A8LqEj7bZSWl3fRgMn9kMMDE1t0DHT1HeFXFWZoo=; b=FnIiCZGJnGMW1bUONkUhQ6OCk8sG4ca5g7+AZCos/Kmh+Hiukh8q0to/2j9IMks1Es 5Ag5P3mYGSDqIfOxBGgifw8Z4mzZjcB8I8x4CV5EKVk59r2KEY1Y6RtLcUq0G4kNrSe3 cq6VQxM2Y83V92vYSNrObOILa73RiGNLLLXuNi75zj+AyUS3yTT6beg+sF7/58r9ZA75 zc8zkwCx7rcQfrfMLuVh6RFyeWL2ppOu4nCizO8ijjoQjTY6+BLkwcBSb6nqd21OeA0x PP7dXC4pnOElmQSkWTlzMc2bnFZboCjHmoNxXfok14QaKoudc2cdXQfdzXM5PHPQ4QHN qIIg== X-Received: by 10.180.87.199 with SMTP id ba7mr2668334wib.49.1406119405894; Wed, 23 Jul 2014 05:43:25 -0700 (PDT) Received: from gimli.redhat.com (a88-114-29-97.elisa-laajakaista.fi. [88.114.29.97]) by mx.google.com with ESMTPSA id fw4sm8806681wib.19.2014.07.23.05.43.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Jul 2014 05:43:25 -0700 (PDT) From: Nikolai Kondrashov To: Jiri Kosina Cc: linux-input@vger.kernel.org, DIGImend-devel , Nikolai Kondrashov Subject: [PATCH 5/5] hid: huion: Handle tablets with UC-Logic vendor ID Date: Wed, 23 Jul 2014 15:42:58 +0300 Message-Id: <1406119378-24551-6-git-send-email-spbnick@gmail.com> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1406119378-24551-1-git-send-email-spbnick@gmail.com> References: <1406119378-24551-1-git-send-email-spbnick@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Benjamin Tissoires --- drivers/hid/hid-huion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-huion.c b/drivers/hid/hid-huion.c index e6f5338..1006c2a 100644 --- a/drivers/hid/hid-huion.c +++ b/drivers/hid/hid-huion.c @@ -247,6 +247,7 @@ static int huion_raw_event(struct hid_device *hdev, struct hid_report *report, 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_UCLOGIC, USB_DEVICE_ID_HUION_TABLET) }, { } }; MODULE_DEVICE_TABLE(hid, huion_devices);