Touchpad Freezing

Hi there, I have just installed Manjaro KDE on my Lenovo IdeaPad 5i laptop. All appears to be well, apart from random freezing of the touchpad. If I connect a USB wireless mouse I can resume work, or restart the system then everything is OK for a while, until it happens again.

I would be grateful if someone could help me to resolve the problem. Thank you.

Hello,

There are a couple of models, so being more specific will help.
Meanwhile you can check if this information helps from similar models, known to have touchpad issues:
https://wiki.archlinux.org/title/Lenovo_IdeaPad_5_14are05#Touchpad
https://wiki.archlinux.org/title/Lenovo_IdeaPad_5_14iil05#Touchpad

Thank you for the reply. My model is a Lenovo IdeaPad 5i, 14 inch, 11th Gen Intel i7-1165G7 @2.80GHz, 8GB RAM.

This is preferable [HowTo] Provide System Information

Thank you. Hopefully this will help you:

    ~  inxi --admin --verbosity=7 --filter --width                                                    ✔ 
System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=dc14570a-e758-4e8f-9bd9-bfea76874de2 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82FE v: IdeaPad 5 14ITL05
    serial: <superuser required> Chassis: type: 10 v: IdeaPad 5 14ITL05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32776 WIN
    serial: <superuser required> UEFI: LENOVO v: FKCN37WW(V3.00)
    date: 08/10/2021
Battery:
  ID-1: BAT1 charge: 46.2 Wh (97.9%) condition: 47.2/44.5 Wh (106.1%)
    volts: 12.6 min: 11.1 model: SMP L19M3PF3 type: Li-ion serial: <filter>
    status: charging
Memory:
  RAM: total: 7.55 GiB used: 2.93 GiB (38.8%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
    arch: Tiger Lake family: 6 model-id: 0x8C (140) stepping: 1 microcode: 0x9A
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 911 high: 1201 min/max: 400/4700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 910 2: 1114 3: 840
    4: 1111 5: 1201 6: 869 7: 751 8: 498 bogomips: 44864
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
    avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
    cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
    cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
    hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b
    movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
    rdt_a rdtscp rep_good sdbg sep sha_ni smap smep split_lock_detect ss ssbd
    sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi
    vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:2 chip-ID: 174f:2459 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x408d built: 2019 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.3.8
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  Sound Server-1: ALSA v: k5.15.32-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:3 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 9.98 GiB (2.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZALQ512HALU-000L2 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: BL2QFXV7 temp: 32.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%) used: 9.96 GiB (2.1%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: dc14570a-e758-4e8f-9bd9-bfea76874de2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 16.3 MiB (5.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 943C-C112
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-6:2 info: Syntek Integrated Camera type: Video
    driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 174f:2459 class-ID: fe01 serial: <filter>
  Device-2: 3-10:3 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
    class-ID: e001
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 249 Uptime: 27m wakeups: 1454 Init: systemd v: 250
  tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1206
  lib: 332 flatpak: 0 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.15
    ~                                                                                                 ✔ 
    ~                                                                                             INT ✘ 


I would start with the BIOS update

Please double check before updating the BIOS!

You could add pci=nocrs to the /etc/default/grub in the GRUB_CMDLINE_LINUX_DEFAULT= line, right before quiet then update grub
sudo update-grub

Reboot after that.

Also you can make use of a keyboard shortcut for the touchpad toggle and you should be able to make it work again, on the fly, all this as long as Load system defaults is disabled in BIOS.

1 Like

Thank you for your help. I only have Manjaro installed, so will struggle to update the BIOS. But will follow your other suggestions and report back later.

You can make use of https://www.hirensbootcd.org/ from a USB stick, boot from it and will have like a working Windows, so you can update the BIOS, but once again, please double check before doing it.

1 Like

Thank you. When you say add pci=nocrs right before quiet. Should it look like the screenshot attached? Not sure if I have entered it correctly.

Please pay attention to the formatting there. Make it like this:

GRUB_CMDLINE_LINUX_DEFAULT="pci=nocrs quiet apparmor=1 security=apparmor udev.log_priority=3"

Thank you, I’m really grateful for your help. I have to go now, but will report back later today.

I have added pci=nocrs to the /etc/default/grub in the GRUB_CMDLINE_LINUX_DEFAULT= line to the /etc/default/grub, then updated grub and restarted the system.

I have also created a keyboard shortcut to toggle the touchpad.

Regarding ensuring Load system defaults is disabled in BIOS, all I see in the EXIT menu is Load Default Settings. Is this the same thing? If I select this option I believe the BIOS will be reset.

Finally, shall I wait and see if I experience any more freezes with the touchpad before I update the BIOS?

Many thanks again.

I have now carried out all suggestions to resolve the touchpad freeze / becoming unresponsive issue. Including updating the BIOS. Unfortunately, the problem remains. If I activate my keypad shortcut, I can get it to work again - but this is only a workaround.

Is there anything else I can do to resolve this issue? I really like Manjaro KDE, and don’t want to change to another distro, or back to Windows.

If not, would you just accept the issue and continue as normal with KDE? Or night this issue corrupt, or do any damage to my hardware, or software?

Many thanks again.