@Coiby Xu (coiby)

Patch #179 no longer works with kernel 5.10.1, because pinctrl-amd.c has 
already been patched with the current kernel version and GLITCH has been 
changed.
My touchpad MSFT0001: 00 04F3: 3140 still worked up to 5.10-rc7 with #179.

This is th new code for GLITCH:

-----------------------------------------------------
raw_spin_lock_irqsave(&gpio_dev->lock, flags);
pin_reg = readl(gpio_dev->base + offset * 4);

if (debounce) {
  pin_reg |= DB_TYPE_REMOVE_GLITCH << DB_CNTRL_OFF;
  pin_reg &= ~DB_TMR_OUT_MASK;
-----------------------------------------------------

Do you have any idea what needs to be changed to make it work again?

-- 
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