From patchwork Mon Jul 23 09:11:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrus Lien X-Patchwork-Id: 1226751 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 264303FD4F for ; Mon, 23 Jul 2012 09:12:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751476Ab2GWJL7 (ORCPT ); Mon, 23 Jul 2012 05:11:59 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:54960 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041Ab2GWJL7 (ORCPT ); Mon, 23 Jul 2012 05:11:59 -0400 Received: by yhmm54 with SMTP id m54so5207281yhm.19 for ; Mon, 23 Jul 2012 02:11:58 -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:x-mailer; bh=RpRpm5DV3NgXGm/yMYPraK6AfGfrMRn4ZLNTg6EEWSc=; b=SPF/3Tj43KUty8tHBmMIApxn3lQ/wfFk4bjUZH6LRtwh8RGpCmXPgnF24z4IqUpqL0 EhqYIik0fS8+LzBGOEO6l5GjieiKbRZugLwXMlEtLBqMcWxWKksJB5XKErMCFosKxxYk LO5fPuvCU1rmHdXiKm1/S4Z3HsUvpgktGxJrHXhcullyIK8vWQ08/DMxNQ+nlVOgw0WD 4zzQ1GVJu+Kb8bxZ3Y9bRl4MYdZyP8v78bWnb5LEPUNkn3Qe1O3D80/4qau5OJWuzM2d aF6aT6+MLQRm/aL5GK8au4JI8SjbqTQ+TTGI1S6NikNGW4NfwSzEC3tMNpULppHjYwDG +ioA== Received: by 10.66.77.7 with SMTP id o7mr29267374paw.37.1343034718210; Mon, 23 Jul 2012 02:11:58 -0700 (PDT) Received: from localhost ([210.242.151.101]) by mx.google.com with ESMTPS id wf7sm9597082pbc.34.2012.07.23.02.11.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 02:11:57 -0700 (PDT) From: cyruslien@gmail.com To: Jiri Kosina , linux-input@vger.kernel.org Cc: Cyrus Lien Subject: [PATCH] HID: add ASUS AIO keyboard model AK1D Date: Mon, 23 Jul 2012 17:11:51 +0800 Message-Id: <1343034711-11396-1-git-send-email-cyruslien@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Cyrus Lien Add Asus All-In-One PC keyboard model AK1D. BugLink: https://bugs.launchpad.net/bugs/1027789 Signed-off-by: Cyrus Lien --- drivers/hid/hid-chicony.c | 1 + drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-chicony.c b/drivers/hid/hid-chicony.c index b99af34..a2abb8e 100644 --- a/drivers/hid/hid-chicony.c +++ b/drivers/hid/hid-chicony.c @@ -60,6 +60,7 @@ static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, static const struct hid_device_id ch_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) }, + { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) }, { } }; MODULE_DEVICE_TABLE(hid, ch_devices); diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 4c87276..b767914 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1521,6 +1521,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS) }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) }, + { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_AK1D) }, { HID_USB_DEVICE(USB_VENDOR_ID_CREATIVELABS, USB_DEVICE_ID_PRODIKEYS_PCMIDI) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 3203923..dcfeb3c 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -208,6 +208,7 @@ #define USB_DEVICE_ID_CHICONY_MULTI_TOUCH 0xb19d #define USB_DEVICE_ID_CHICONY_WIRELESS 0x0618 #define USB_DEVICE_ID_CHICONY_WIRELESS2 0x1123 +#define USB_DEVICE_ID_CHICONY_AK1D 0x1125 #define USB_VENDOR_ID_CHUNGHWAT 0x2247 #define USB_DEVICE_ID_CHUNGHWAT_MULTITOUCH 0x0001