Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1162  / 2 Years ago, tue, july 19, 2022, 2:49:50

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

More From » drivers

 Answers
7

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.


[#5286] Thursday, July 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aslity

Total Points: 336
Total Questions: 133
Total Answers: 98

Location: Zimbabwe
Member since Thu, Jul 21, 2022
2 Years ago
;