Hi Mike,

On Sun, Dec 06, 2020 at 09:12:23PM -0000, Mike Boruta wrote:
>Hello Coiby,
>
>I built and installed the module as per the instructions in the branch
>you linked me to and `journalctl -k|grep amd_gpio` showed nothing. No
>new printouts in the kernel log. So I recompiled the module again with
>the pr_alert() statement you printed above and still nothing.
>
>So, I recompiled the kernel from source once again but this time I made
>the source code changes before compiling the entire kernel (instead of
>then recompiling the kernel module and overwriting the current one). And
>this worked! Touchpad works just fine and I see the printouts as
>expected (0x50388 instead of 0x51bc8).
>
>My understanding was that simply copying the module over to the old one
>in `/lib/modules/$(uname -r)/kernel/drivers/pinctrl/pinctrl-amd.ko`
>would suffice, but that does not seem to be the case, at least with this
>ubuntu-flavored kernel version. I am interested to know why, but I will
>probably look that up on my own. The important thing is that there
>shouldnt be any doubt regarding whether or not the fix works on 5.7 as
>well.
>
Since you could still access /sys/kernel/debug/gpio, it means the old
module must have been loaded.  The path of the old module could be
/lib/modules/$(uname -r)/kernel/drivers/pinctrl/pinctrl-amd.ko.xz.

So when both old pinctrl-amd.ko.xz and new pinctrl-amd.ko exist, the old
module is loaded by the kernel.

>So once again thank you Coiby for your fix and for helping me to get to
>the bottom of this!
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887190

Title:
  MSFT Touchpad not working on Lenovo Legion-5 15ARH05

To manage notifications about this bug go to:
https://bugs.launchpad.net/pop-os/+bug/1887190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to