From: Dennis Wassenberg <dennis.wassenberg@secunet.com>
To: "Pali Rohár" <pali.rohar@gmail.com>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Masaki Ota" <masaki.ota@jp.alps.com>,
"Takashi Iwai" <tiwai@suse.de>,
"Kees Cook" <keescook@chromium.org>,
"Nir Perry" <nirperry@gmail.com>
Cc: <linux-input@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] Input: ALPS - add support for 73 03 28 devices (Thinkpad L570)
Date: Fri, 23 Mar 2018 15:23:55 +0100 [thread overview]
Message-ID: <7d5077ef-c185-c6b1-d602-df8d9f7dade3@secunet.com> (raw)
The Lenovo Thinkpad L570 uses V8 protocol.
Add 0x73 0x03 0x28 devices to use V8 protovol which makes
trackstick and mouse buttons work with Lenovo Thinkpad L570.
Signed-off-by: Dennis Wassenberg <dennis.wassenberg@secunet.com>
---
drivers/input/mouse/alps.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index dbe57da..5523d4e 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -136,6 +136,8 @@
{ { 0x73, 0x02, 0x0a }, { ALPS_PROTO_V2, 0xf8, 0xf8, 0 } },
{ { 0x73, 0x02, 0x14 }, { ALPS_PROTO_V2, 0xf8, 0xf8, ALPS_FW_BK_2 } }, /* Ahtec Laptop */
{ { 0x73, 0x02, 0x50 }, { ALPS_PROTO_V2, 0xcf, 0xcf, ALPS_FOUR_BUTTONS } }, /* Dell Vostro 1400 */
+ { { 0x73, 0x03, 0x28 }, { ALPS_PROTO_V8, 0x18, 0x18,
+ ALPS_DUALPOINT | ALPS_DUALPOINT_WITH_PRESSURE | ALPS_BUTTONPAD } }, /* Lenovo L570 */
};
static const struct alps_protocol_info alps_v3_protocol_data = {
--
1.9.1
next reply other threads:[~2018-03-23 14:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 14:23 Dennis Wassenberg [this message]
2018-03-23 14:33 ` [PATCH] Input: ALPS - add support for 73 03 28 devices (Thinkpad L570) Pali Rohár
2018-03-27 13:56 ` Dennis Wassenberg
2018-03-28 0:24 ` Masaki Ota
2018-03-28 7:37 ` Pali Rohár
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=7d5077ef-c185-c6b1-d602-df8d9f7dade3@secunet.com \
--to=dennis.wassenberg@secunet.com \
--cc=dmitry.torokhov@gmail.com \
--cc=keescook@chromium.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masaki.ota@jp.alps.com \
--cc=nirperry@gmail.com \
--cc=pali.rohar@gmail.com \
--cc=tiwai@suse.de \
/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).