1

I recently acquired a Lenovo IdeaPad L340-15API that works mostly OK with the exception of the touchpad (and the wireless interface, but I already fixed that). Looking around I found several similar issues for people with other Lenovo laptops, all with ELAN touchpads.

One solution that appeared was to use an specific kernel, but that is an older version than the one given in Disco. Looking further, it looks like what needs to be done is to patch the kernel adding this version of the touchpad to the drivers/input/mouse/elan_i2c_core.c, and looking at the latest commits on the Linux kernel, this model of touchpad has already been added to de driver, just in a future version of the kernel, here it is.

So, how do I add support for this touchpad in the current kernel of Disco?

Output of uname -a:

Linux twisto-laptop-ultimate 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
HaPK
  • 43

2 Answers2

0

what you're looking for is ukuu

install :

sudo add-apt-repository ppa:teejee2008/ppa
sudo apt update && sudo apt install ukuu -y && sudo ukuu

usage :

ukuu usage

as per : How to update kernel to the latest mainline version without any Distro-upgrade?

tatsu
  • 3,346
0

I finally solved my issue by using UKTools and selecting the latest stable kernel published in mainline, now my touchpad works flawlessly. Output of uname -r, which shows the kernel with support for my touchpad:

5.0.21-050021-generic

What I like about this is that the kernel with support is not too far away, and in the very close future there will be support for this particular elan touchpad.

HaPK
  • 43