[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924913: trackpad on L480 unusable after upgrade to testing



On Mon, Mar 18, 2019 at 12:43:10PM +0100, Alois Schlögl wrote:
> On 3/18/19 12:20 PM, Romain Perier wrote:
> > Hello,
> >
> > On Mon, Mar 18, 2019 at 11:27:41AM +0100, Alois Schlögl wrote:
> >> Source: linux
> >> Severity: normal
> >>
> >> Dear Maintainer,
> >>
> >>    On a Lenovo L480 laptop, I've upgraded Debian from 9 (stretch) to 10
> >> (testing).
> >>    After the upgrade, the touchpad and the trackpoint was not usable
> >> anymore.
> >>
> >>
> >>    This already has some bug report here,
> >>    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803600
> >>
> >>    As a workaround, one can run the command,
> >>        sudo sh -c 'echo -n "elantech">
> >> /sys/bus/serio/devices/serio1/protocol'
> >>    in order to use the touchpad. However, on a GUI Interface and without
> >>    an external mouse, it's impossible to apply this workaround
> >>   (switching to the terminal <CTRL>-<ALT>F1, login, and run the command
> >> above might work)
> >>
> >>    I expect to be able to use the touchpad just out of the box, not needing
> >>    to run the above workaround
> >>
> > Could you :
> >
> > - Test with the last kernel uploaded to unstable (4.19.0-4:4.19.28) and confirm or
> >   not is the problem still exists ?
> 
> 
> Dear Romain
> 
> 
> I upgraded the kernel and rebooted:
> 
> schloegl@debian10:~$ uname -a
> Linux debian10 4.19.0-4-amd64 #1 SMP Debian 4.19.28-2 (2019-03-15)
> x86_64 GNU/Linux
> 
> 
> With this kernel the trackpoint is working, the trackpad is still not
> usable.
> 
> (This improves the situation because now at least one pointer device is
> available).
> 
>

Good, we did some progress :)

> > - According to the bug on launchpad and to the fix pushed upstream, the
> >   fix seems to be an hardware quirks, could you give me the output of the
> >   following command :
> >   $ /sys/bus/serio/devices/serio1/firmware_id
> 
> 
> root@debian10:~# cat /sys/bus/serio/devices/serio1/firmware_id
> PNP: LEN2036 PNP0f13
> 

Could you test the patch attached to this reply ?
(if you don't know how to do this, I can provide support)

Regards,
Romain
From 79f7fa6db07e2ddb985c560ef48b5a33ddcaffd7 Mon Sep 17 00:00:00 2001
From: Romain Perier <romain.perier@gmail.com>
Date: Mon, 18 Mar 2019 13:36:00 +0100
Subject: [PATCH] Input: elantech - disable elan-i2c for L480

The current implementation of elan_i2c is known to not support this
laptop. Until this is fixed correctly, proceed like for P52 and P72
and disable elan_i2c for the devices we know are not behaving properly.

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924913

Fixes: df077237cf55 (Input: elantech - detect new ICs and setup Host Notify for them)
Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 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 a7f8b1614559..faeda9cba813 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1781,6 +1781,7 @@ static const char * const i2c_blacklist_pnp_ids[] = {
 	 * These are known to not be working properly as bits are missing
 	 * in elan_i2c.
 	 */
+	"LEN2036", /* Thinkpad L480 */
 	"LEN2131", /* ThinkPad P52 w/ NFC */
 	"LEN2132", /* ThinkPad P52 */
 	"LEN2133", /* ThinkPad P72 w/ NFC */
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


Reply to: