[Bug 1180682] New: Lenovo Legion 5 15ARH05 touchpad not working
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 Bug ID: 1180682 Summary: Lenovo Legion 5 15ARH05 touchpad not working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: venanks@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Build Identifier: Taouchpad is totally not working for this laptop with the latest kernel updates. It never worked with any of the earlier kernel either. There is already a patch for this available on Ubunutu's launchpad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190 Hope you guys can patch the current kernel with this patch. Thanks. Reproducible: Always Steps to Reproduce: 1.Update to latest kernel 2.Reboot computer. 3.Test touchpad for mouse pointer movement. Actual Results: Nothing happens to the mouse pointer. Clicks also doesn't work. Expected Results: Mouse pointer moves according to the direction of the finger movement on the touchpad. Right click and left click should register on the desktop / application. I am using KDE. System is updated to the latest packages. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com, | |venanks@gmail.com Flags| |needinfo?(venanks@gmail.com | |) --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Could you confirm whether the touchpad works with 5.11-rc kernel in OBS Kernel:HEAD repo? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c2 --- Comment #2 from Venantius Kumar S <venanks@gmail.com> --- (In reply to Takashi Iwai from comment #1)
Could you confirm whether the touchpad works with 5.11-rc kernel in OBS Kernel:HEAD repo?
Hi. Yes, I have tried with kernel 5.11-rc2 and the touchpad works on this kerrnel. But other drivers (nvidia) are not working on this kernel yet. I think this is gong to take some time before released. Can we patch the 5.10.X kernel to work with this device? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c3 --- Comment #3 from Takashi Iwai <tiwai@suse.com> --- OK, at least it's a good news. The backport is theoretically possible, but we need to figure out exactly which upstream commits to be backported. Judging from the other bug tracker you referred to, the gpiolib changes look like the candidate. Let's see. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c4 Antony J.R <antonyjr000@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antonyjr000@gmail.com --- Comment #4 from Antony J.R <antonyjr000@gmail.com> --- I actually got mine working with the below work-around (run the below as root) ``` su cd /sys/class/gpio/ echo 386 > export cd gpio386 echo out > direction exit ``` You can create a startup script to make this persist. :) -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c5 --- Comment #5 from Venantius Kumar S <venanks@gmail.com> --- (In reply to Antony J.R from comment #4)
I actually got mine working with the below work-around (run the below as root)
``` su cd /sys/class/gpio/ echo 386 > export cd gpio386 echo out > direction exit ```
You can create a startup script to make this persist. :)
Just tried it and its working! Now where do I put the startup script so systemd will pick it up during boot? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c6 --- Comment #6 from Venantius Kumar S <venanks@gmail.com> --- just wondering if there will be kernel 5.10.x patched with this solution. The work around is buggy as the pointer skips especially when scrolling. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- Do you mean the workaround in comment 4? If so, the behavior (skipping) is not about the gpiolib, but something else. Doesn't the problem happen on 5.11? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c8 --- Comment #8 from Venantius Kumar S <venanks@gmail.com> --- (In reply to Takashi Iwai from comment #7)
Do you mean the workaround in comment 4? If so, the behavior (skipping) is not about the gpiolib, but something else.
Doesn't the problem happen on 5.11?
Yes with that work around. The skipping problem did not exist in 5.11, plus the movement of the pointer on screen was much "smoother" on 5.11. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c9 --- Comment #9 from Antony J.R <antonyjr000@gmail.com> --- (In reply to Venantius Kumar S from comment #5)
(In reply to Antony J.R from comment #4)
I actually got mine working with the below work-around (run the below as root)
``` su cd /sys/class/gpio/ echo 386 > export cd gpio386 echo out > direction exit ```
You can create a startup script to make this persist. :)
Just tried it and its working! Now where do I put the startup script so systemd will pick it up during boot?
I've made a github repo to outline all workarounds for this machine, it also has a guide on running the touchpad fix on startup. See https://github.com/antony-jr/lenovo-legion5-15arh05-scripts for more info. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c10 --- Comment #10 from Venantius Kumar S <venanks@gmail.com> --- (In reply to Antony J.R from comment #9)
(In reply to Venantius Kumar S from comment #5)
(In reply to Antony J.R from comment #4)
I actually got mine working with the below work-around (run the below as root)
``` su cd /sys/class/gpio/ echo 386 > export cd gpio386 echo out > direction exit ```
You can create a startup script to make this persist. :)
Just tried it and its working! Now where do I put the startup script so systemd will pick it up during boot?
I've made a github repo to outline all workarounds for this machine, it also has a guide on running the touchpad fix on startup. See https://github.com/antony-jr/lenovo-legion5-15arh05-scripts for more info.
Thank you for the guide. Worked as expected. Does this mean we will not be seeing the actual patch in kernel 5.10.x any time soon? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c11 --- Comment #11 from Antony J.R <antonyjr000@gmail.com> --- (In reply to Venantius Kumar S from comment #10)
(In reply to Antony J.R from comment #9)
(In reply to Venantius Kumar S from comment #5)
(In reply to Antony J.R from comment #4)
I actually got mine working with the below work-around (run the below as root)
``` su cd /sys/class/gpio/ echo 386 > export cd gpio386 echo out > direction exit ```
You can create a startup script to make this persist. :)
Just tried it and its working! Now where do I put the startup script so systemd will pick it up during boot?
I've made a github repo to outline all workarounds for this machine, it also has a guide on running the touchpad fix on startup. See https://github.com/antony-jr/lenovo-legion5-15arh05-scripts for more info.
Thank you for the guide. Worked as expected. Does this mean we will not be seeing the actual patch in kernel 5.10.x any time soon?
It's just temporary fix, I think Ubuntu is already working on a backport. But OpenSUSE Tumbleweed is rolling distro so I'm just going to wait till they release 5.11 as stable. It would take about 5 months or so I think(at the best case). Once they release a kernel with this fix we can just disable the systemd service. I'm more concerned on the amdgpu brightness control, see https://bugzilla.opensuse.org/show_bug.cgi?id=1180749 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c12 --- Comment #12 from Takashi Iwai <tiwai@suse.com> --- (In reply to Antony J.R from comment #11)
It's just temporary fix, I think Ubuntu is already working on a backport. But OpenSUSE Tumbleweed is rolling distro so I'm just going to wait till they release 5.11 as stable. It would take about 5 months or so I think(at the best case).
It won't take that long. The upstream 5.11 will be released in two or three weeks, then we'll switch immediately to 5.11 for TW. It might take some more days until the update kernel reaches to TW snapshot, but not definitely for a month. You can use the kernel in OBS Kernel:HEAD repo if you'd like before the actual release. It's still in RC, but it works mostly well at the late RC, from my experience (I've been using 5.11-rc on my own machine, too :) That said, I have no plan to merge those fixes into TW stable kernel since a nice workaround exists. If something else is urgently needed, let me know. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c13 --- Comment #13 from Venantius Kumar S <venanks@gmail.com> --- (In reply to Takashi Iwai from comment #12)
(In reply to Antony J.R from comment #11)
It's just temporary fix, I think Ubuntu is already working on a backport. But OpenSUSE Tumbleweed is rolling distro so I'm just going to wait till they release 5.11 as stable. It would take about 5 months or so I think(at the best case).
It won't take that long. The upstream 5.11 will be released in two or three weeks, then we'll switch immediately to 5.11 for TW. It might take some more days until the update kernel reaches to TW snapshot, but not definitely for a month.
You can use the kernel in OBS Kernel:HEAD repo if you'd like before the actual release. It's still in RC, but it works mostly well at the late RC, from my experience (I've been using 5.11-rc on my own machine, too :)
That said, I have no plan to merge those fixes into TW stable kernel since a nice workaround exists. If something else is urgently needed, let me know.
Good to hear that the new kernel will be release sooner. I have tried using the Kernel:HEAD repo before, but the nVidia driver is still not in the KMP folder. Since I need the nVidia driver to connect the external monitor I can't use the rc kernels for now. Unless someone know how to make AMD iGPU use the HDMI output. Thanks for the update and the work-around. At least I can use the touchpad in a pinch even if it is not as good as it should be. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180682 http://bugzilla.opensuse.org/show_bug.cgi?id=1180682#c14 Venantius Kumar S <venanks@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |UPSTREAM --- Comment #14 from Venantius Kumar S <venanks@gmail.com> --- I am marking this as RESOLVED-UPSTREAM even though it is just a work-around. Upstream Kernel 5.11 has it fixed. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com