FS#63525 - ThinkPad X380 Yoga Touchpad / New Kernel Disables Click Methods

Attached to Project: Arch Linux
Opened by Matthew Hague (yourealwaysbe) - Thursday, 22 August 2019, 12:15 GMT
Last edited by freswa (frederik) - Saturday, 22 February 2020, 20:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

In Kernel 5.2.9, the Elan Touchpad on my ThinkPad X380 no longer reports any click methods. In Kernel 5.2.8 both "button areas" and "clickfinger" are available.

This appears to be down to the elan_i2c driver, which is used in 5.2.9, but not in 5.2.8, where psmouse serio1 elantech appears instead.

This can be seen with

```
$ libinput list-devices
```
which reports

```
Click methods: *button-areas clickfinger
```
in 5.2.8 and
```
Click methods: none
```
in 5.2.9.

I have attached the output of uname, libinput list-devices, and dmesg for both cases.

Apologies if this belongs upstream -- i'm not entirely sure where that is, and similar errors have been reported here in the past.
This task depends upon

Closed by  freswa (frederik)
Saturday, 22 February 2020, 20:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  reverted in 5.2.13
Comment by loqs (loqs) - Thursday, 22 August 2019, 12:37 GMT
5.2.9 included [1]. If you set the module options [2] elantech_smbus=0 synaptics_intertouch=0 for the psmouse module does that restore the 5.2.8 behavior?
(elantech_smbus=0 may be enough on its own)

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=60956b018bfe23b879405a7d88103d0a8f06a5e3
[2] https://wiki.archlinux.org/index.php/Kernel_module#Setting_module_options
Comment by Matthew Hague (yourealwaysbe) - Thursday, 22 August 2019, 13:32 GMT
This does indeed restore 5.2.8 behaviour. Thanks for the fix!

To be precise, adding a file /etc/modprobe.d/elan.conf containing only the line "options psmouse elantech_smbus=0" was enough.
Comment by Craig (Hazey) - Thursday, 22 August 2019, 23:56 GMT
Note I experienced similar on MSI GS63VR which is an Elantech touchpad - was not detected at all/couldn't move the mouse and wasn't detected until I rolled back the 5.2.9 update back to 5.2.7 which I was on previously. I'll give that a shot to see if similar - this may have a larger impact than expected as also occurred on 2 other laptops in the office, is this change going to be required moving forward? Will update if doesn't resolve the problem or if any other info is requested - Thanks all!
(Applying the same option as above did the trick after re-upgraded to 5.2.9 - hopefully gets fixed up as may throw a lot of elantech users)
Comment by loqs (loqs) - Friday, 06 September 2019, 14:14 GMT

Loading...