All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolai Kostrigin <nickel@altlinux.org>
To: unlisted-recipients:; (no To-header on input)
Cc: nickel@altlinux.org, benjamin.tissoires@redhat.com,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Colin Ian King <colin.king@canonical.com>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2
Date: Mon,  8 Feb 2021 10:52:03 +0300	[thread overview]
Message-ID: <20210208075205.3784059-1-nickel@altlinux.org> (raw)

ThinkPad L13 Gen2 has both touchpad and trackpoint.
PNP: LEN2146 PNP0f13
With the default protocol (elantech-smbus) trackpoint is not operating,
while touchpad does. Changing to elantech renders both operational.

Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
---
 drivers/input/mouse/elantech.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 90f8765f9efc..c4c3fa5828d8 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1776,6 +1776,7 @@ static const char * const i2c_blacklist_pnp_ids[] = {
 	 * These are known to not be working properly as bits are missing
 	 * in elan_i2c.
 	 */
+	"LEN2146", /* ThinkPad L13 Gen2 */
 	NULL
 };
 
-- 
2.29.2


             reply	other threads:[~2021-02-08  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08  7:52 Nikolai Kostrigin [this message]
2021-02-08  8:06 ` [PATCH] Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2 Benjamin Tissoires
2021-02-08  8:45   ` Nikolai Kostrigin

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=20210208075205.3784059-1-nickel@altlinux.org \
    --to=nickel@altlinux.org \
    --cc=benjamin.tissoires@redhat.com \
    --cc=colin.king@canonical.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gustavoars@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.