From: Artem Borisov <dedsa2002@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: jikos@kernel.org, Artem Borisov <dedsa2002@gmail.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Henrik Rydberg <rydberg@bitmath.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] HID: alps: Add AUI1657 device ID
Date: Mon, 6 Apr 2020 03:55:15 +0400 [thread overview]
Message-ID: <20200405235517.18203-1-dedsa2002@gmail.com> (raw)
This device is used on Lenovo V130-15IKB variants and uses
the same registers as U1.
Signed-off-by: Artem Borisov <dedsa2002@gmail.com>
---
drivers/hid/hid-alps.c | 1 +
drivers/hid/hid-ids.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c
index fa704153cb00..c2a2bd528890 100644
--- a/drivers/hid/hid-alps.c
+++ b/drivers/hid/hid-alps.c
@@ -802,6 +802,7 @@ static int alps_probe(struct hid_device *hdev, const struct hid_device_id *id)
break;
case HID_DEVICE_ID_ALPS_U1_DUAL:
case HID_DEVICE_ID_ALPS_U1:
+ case HID_DEVICE_ID_ALPS_1657:
data->dev_type = U1;
break;
default:
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b18b13147a6f..324fddb37e27 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -81,7 +81,7 @@
#define HID_DEVICE_ID_ALPS_U1 0x1215
#define HID_DEVICE_ID_ALPS_T4_BTNLESS 0x120C
#define HID_DEVICE_ID_ALPS_1222 0x1222
-
+#define HID_DEVICE_ID_ALPS_1657 0x121E
#define USB_VENDOR_ID_AMI 0x046b
#define USB_DEVICE_ID_AMI_VIRT_KEYBOARD_AND_MOUSE 0xff10
--
2.26.0
next reply other threads:[~2020-04-05 23:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 23:55 Artem Borisov [this message]
2020-04-05 23:55 ` [PATCH 2/2] HID: alps: Refactor axis resolution logic Artem Borisov
2020-04-09 22:21 ` Jiri Kosina
2020-04-09 23:00 ` Artem Borisov
2020-04-10 0:28 ` Masaki Ota
2020-04-10 0:47 ` Jiri Kosina
2020-04-10 2:03 ` Xiaojian Cao
2020-04-10 1:03 ` Xiaojian Cao
2020-04-10 1:50 ` Masaki Ota
2020-04-10 2:28 ` Xiaojian Cao
[not found] ` <CAMr=fxLXT2fMdhmnfj3ZH2Ptc50nvMVU0nAvW-3fw-wAKb9rYQ@mail.gmail.com>
[not found] ` <OSAPR01MB305753C5B0DD35DE7001436DC8DB0@OSAPR01MB3057.jpnprd01.prod.outlook.com>
2020-04-15 9:16 ` Artem Borisov
2020-04-15 9:54 ` Xiaojian Cao
2020-04-15 10:14 ` Artem Borisov
2020-04-16 8:52 ` Xiaojian Cao
2020-04-16 10:57 ` Artem Borisov
2020-04-15 12:54 ` Jiri Kosina
2020-04-16 8:10 ` Xiaojian Cao
2020-04-14 9:23 ` [PATCH 1/2] HID: alps: Add AUI1657 device ID Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200405235517.18203-1-dedsa2002@gmail.com \
--to=dedsa2002@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@bitmath.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).