Trackpad not working Lenovo Legion 5 (AMD)

Guys… I have spent a lot of time trying to find a solution to the trackpad not working in
Tumbleweed 20201125. There is an endless and I mean endless amount of solutions.

But none work.

Even (as suggested in some forums) installing the nVidia driver does not resolve the issue
because apparently at one stage it was a Wayland problem!!!

So, could someone kindly tell if there is a solution to getting the trackpad working
in the Lenovo 5 laptop (AMD) running Gnome.

Regards - Harry

What is the output (as root user) for the trackpad;

libinput list-devices

What does it show in Settings -> Mouse & Touchpad?

Hi Malcolm.

Thanks for the prompt reply.

Here is what I have in the settings:

Touchpad On
Natural Scrolling On
Touchspeed - halfway
Tap to Click - On
Two finger scrolling - On
Edge Scrolling - Off

As for the libinput here is what I get when I run it.

Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Accel profiles: flat *adaptive
Rotation: n/a

Device: AT Translated Set 2 keyboard
Kernel: /dev/input/event0
Group: 10
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a

Thanks - Harry

See what is reported by the following

xinput list
dmesg | egrep -i "input|firmware"

Please use CODE tags when posting output. Refer to the ‘#’ button in the forum editor. Alternatively, you can type ’

', add the output, then finish with the same but '/CO...' (Note the forward slash character).

Hi Deano

Thanks for the reply

I hope I have used the correct format!

Output from xinput

 WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer:17                         id=6    [slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:17                id=7    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ xwayland-keyboard:17                        id=8    [slave  keyboard (3)]

Output from dmesg | egrep -i “input|firmware”

    0.177057] Spectre V2 : Enabling Restricted Speculation for firmware calls
    0.340893] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
    0.390157] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
    1.432548] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    3.004475] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
    3.004629] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
    3.005003] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
    3.017406] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
    3.017905] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input4
    3.018129] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/LNXVIDEO:01/input/input5
    3.311340] input: MSFT0001:00 04F3:3186 Mouse as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3186.0001/input/input6
    3.311417] input: MSFT0001:00 04F3:3186 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3186.0001/input/input7
    3.311470] hid-generic 0018:04F3:3186.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:00 04F3:3186] on i2c-MSFT0001:00
    3.333994] [drm] Loading DMUB firmware via PSP: version=0x00000000
    3.353406] [drm] Found VCN firmware Version ENC: 1.7 DEC: 4 VEP: 0 Revision: 17
    3.353414] [drm] PSP loading VCN firmware
    4.049235] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.0/0003:046D:C52B.0002/input/input8
    4.056638] input: MSFT0001:00 04F3:3186 Mouse as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3186.0001/input/input9
    4.109085] hid-generic 0003:046D:C52B.0002: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:05:00.4-2/input0
    4.109162] input: MSFT0001:00 04F3:3186 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3186.0001/input/input10
    4.109256] hid-multitouch 0018:04F3:3186.0001: input,hidraw1: I2C HID v1.00 Mouse [MSFT0001:00 04F3:3186] on i2c-MSFT0001:00
    4.114284] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.1/0003:046D:C52B.0003/input/input11
    4.114496] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.1/0003:046D:C52B.0003/input/input12
    4.172910] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.1/0003:046D:C52B.0003/input/input13
    4.173222] hid-generic 0003:046D:C52B.0003: input,hiddev96,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:05:00.4-2/input1
    4.177450] hid-generic 0003:046D:C52B.0004: hiddev97,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:05:00.4-2/input2
    4.501538] logitech-djreceiver 0003:046D:C52B.0004: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:05:00.4-2/input2
    4.622276] input: Logitech Wireless Device PID:4082 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input15
    4.622550] input: Logitech Wireless Device PID:4082 Mouse as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input16
    4.622800] hid-generic 0003:046D:4082.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:4082] on usb-0000:05:00.4-2/input2:1
    4.748707] input: ITE Tech. Inc. ITE Device(8910) Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-4/3-4:1.0/0003:048D:C100.0006/input/input20
    4.770110] input: Logitech MX Master 3 as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-2/3-2:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input23
    4.821103] input: ITE Tech. Inc. ITE Device(8910) Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-4/3-4:1.0/0003:048D:C100.0006/input/input21
    4.821437] logitech-hidpp-device 0003:046D:4082.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:05:00.4-2/input2:1
    4.821459] input: ITE Tech. Inc. ITE Device(8910) Wireless Radio Control as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb3/3-4/3-4:1.0/0003:048D:C100.0006/input/input22
    4.821697] hid-generic 0003:048D:C100.0006: input,hiddev97,hidraw3: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8910)] on usb-0000:05:00.4-4/input0
    5.456258] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:14.3/PNP0C09:00/VPC2004:00/input/input24
    5.618713] input: PC Speaker as /devices/platform/pcspkr/input/input25
    5.625889] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -2
    5.632885] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
    5.651942] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input26
    5.651981] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input27
    5.652034] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input28
    5.652071] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input29
    5.652101] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input30
    5.655317] iwlwifi 0000:04:00.0: loaded firmware version 55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm
    5.658690] snd_hda_codec_realtek hdaudioC1D0:    inputs:
    5.663251] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.0/input/input31
    5.666674] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
    5.725999] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input32
    5.726075] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input33
    5.726126] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1/input34
    7.027981] Bluetooth: hci0: Waiting for firmware download to complete
    7.028890] Bluetooth: hci0: Firmware loaded in 1367063 usecs
    7.061069] Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
   10.410705] rfkill: input handler disabled
   16.670461] rfkill: input handler enabled
   19.450617] rfkill: input handler disabled

Many thanks for your help so far - Harry

And please feel free to correct me if I have made an error in the format as I am still a bit a novice!

The pertinent information…

input: MSFT0001:00 04F3:3186 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3186.0001/input/input7

A quick online search of ‘input: MSFT0001:00 04F3:3186 Touchpad’ returned a number of results, including this bug report (it seems to be work in progress)…

Lots of similar threads for similar Lenovo Legion 5. For example…

Thanks Deano

there is already a solution to this problem as seen here
Is there a way we can apply the patch to our kernels running in Tumbleweed?

Raise a kernel bug report, the kernel developers are pretty responsive to backport requests.

openSUSE:Submitting bug reports - openSUSE

Thank you for the link. It took me many hours to figure out how to file a bug report!! finally done:

While we are waiting for the kernel to be updated / patched. Those who need a quick fix can do this as suggested by Anthony j. R. →

cd /sys/class/gpio/
echo 386 > export
cd gpio386
echo out > direction

This work around is a little wonky. Clicks / taps don’t register properly and the acceleration seems to be out but it is usable for now.