Touchpad randomly stops responding, glitches, etc

Hi all,

The touchpad on my laptop works fine the vast majority of time, however occasionally it will stop responding and start glitching, erratic movement and button presses on it’s own accord. Putting the laptop to sleep and waking it again fixes the issue temporally until it’s next episode, although disabling and re-enabling via xinput does not fix the problem.

Some info:

The laptop is a custom Clevo NP5x_NP6x_NP7xPNP

cat /proc/bus/input/devices:

  I: Bus=0018 Vendor=2808 Product=0102 Version=0100
N: Name="FTCS1000:01 2808:0102 Touchpad"
P: Phys=i2c-FTCS1000:01
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-FTCS1000:01/0018:2808:0102.0001/input/input33
U: Uniq=
H: Handlers=event7 mouse1 
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20

cat /var/log/Xorg.0.log | grep “Touchpad”

shows the touchpad is using libinput and some lines show a kernel bug, some example lines from this:

[    13.477] (II) Using input driver 'libinput' for 'FTCS1000:01 2808:0102 Touchpad'
[  3754.258] (EE) event7  - FTCS1000:01 2808:0102 Touchpad: client bug: event processing lagging behind by 1167ms, your system is too slow
[ 81897.570] (EE) event7  - FTCS1000:01 2808:0102 Touchpad: kernel bug: Touch jump detected and discarded.

Any other info that I’ve left out, please let me know.

Hello @Jamesafross and welcome :wink:

Is the touchpad internal connected via usb? Maybe it autosupend?

sudo tlp-stat --usb
lsusb -vt

Hi @megavolt and thanks for the reply,

I don’t think this is the issue: outputs

sudo tlp-stat --usb 

--- TLP 1.5.0 --------------------------------------------

+++ USB
Autosuspend       = enabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 002 ID 5986:9102 control = auto, autosuspend_delay_ms = 2000 -- Acer, Inc BisonCam,NB Pro (uvcvideo)
Bus 003 Device 003 ID 8087:0026 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. AX201 Bluetooth (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

lsusb -vt

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 8: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 5986:9102 Acer, Inc 
    |__ Port 8: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 5986:9102 Acer, Inc 
    |__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        ID 8087:0026 Intel Corp. AX201 Bluetooth
    |__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        ID 8087:0026 Intel Corp. AX201 Bluetooth
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub

Would auto-suspend be an issue while on AC power?

No, then it is not a usb issue at all. It is connected via PCI. Hm… maybe a problem with the ACPI Tables. Maybe related to _CSR: [PATCH v1 00/25] PCI: Request host bridge window resources - Duc Dang

Try adding pci=nocsr to the kernel parameter and see if it changes something.

Also check /etc/X11/00-keyboard.conf also. Has your laptop a touchscreen?

Please provide some more system info:

inxi -Fazy

Added that line to the kernel parameter, will wait and see if any changes occur.

some addition system info:

inxi -Fazy

System:
  Kernel: 5.15.38-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=c77f929b-d4b3-47d4-a868-d4977da3327e rw quiet pci=nocsr
    apparmor=1 security=apparmor
    resume=UUID=bd28d62f-a032-476f-b747-585e4bddb3fc udev.log_priority=3
  Console: pty pts/2 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Notebook product: NP5x_NP6x_NP7xPNP v: N/A serial: N/A
    Chassis: No Enclosure type: 10 serial: N/A
  Mobo: Notebook model: NP5x_NP6x_NP7xPNP serial: N/A UEFI: INSYDE
    v: 1.07.02 date: 02/22/2022
Battery:
  ID-1: BAT0 charge: 54.6 Wh (100.0%) condition: 54.6/52.5 Wh (104.0%)
    volts: 17.3 min: 15.4 model: Notebook BAT type: Li-ion serial: <filter>
    status: full
CPU:
  Info: model: 12th Gen Intel Core i7-12700H socket: U3E1 bits: 64
    type: MST AMCP arch: Alder Lake family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x416
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 1013 high: 2245 min/max: 400/4679:4700:3500
    base/boost: 2178/4700 scaling: driver: intel_pstate governor: powersave
    volts: 0.8 V ext-clock: 100 MHz cores: 1: 715 2: 643 3: 967 4: 1001 5: 990
    6: 1010 7: 1892 8: 991 9: 1077 10: 691 11: 1111 12: 934 13: 473 14: 1186
    15: 1035 16: 2245 17: 551 18: 848 19: 867 20: 1042 bogomips: 107560
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 Alder Lake-P Integrated Graphics vendor: CLEVO/KAPOK
    driver: i915 v: kernel ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
    bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q]
    vendor: CLEVO/KAPOK driver: nvidia v: 510.68.02
    alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-5,HDMI-A-1,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2520
    class-ID: 0300
  Device-3: Acer BisonCam NB Pro type: USB driver: uvcvideo bus-ID: 3-8:2
    chip-ID: 5986:9102 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia 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: BOE Display 0x0823 built: 2018 res: 1920x1080
    hz: 144 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46")
    diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.0.3
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0403
  Device-2: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Sound Server-1: ALSA v: k5.15.38-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-LM vendor: CLEVO/KAPOK driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1e class-ID: 0200
  IF: enp0s31f6 state: down mac: <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: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 192.54 GiB (20.7%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SNVS1000G
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: S8I40100 temp: 31.9 C scheme: GPT
  SMART: yes health: PASSED on: 20d 14h cycles: 126
    read-units: 1,561,938 [799 GB] written-units: 4,789,008 [2.45 TB]
Partition:
  ID-1: / raw-size: 862.45 GiB size: 847.84 GiB (98.31%)
    used: 192.54 GiB (22.7%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 68.77 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 382 Uptime: 5m wakeups: 2 Memory: 62.52 GiB used: 4.19 GiB (6.7%)
  Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1
  Packages: pacman: 1363 lib: 346 flatpak: 0 Shell: Zsh (sudo) v: 5.8.1
  default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.15

My laptop does not have a touchscreen, also 00-keyboard.conf

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "gb"
EndSection

may you check

sudo libinput list-devices | grep Device

what Touchpad device is it ? a synaptic ?
please check and report

Hi Olli,

I have have put this in the original post.

sudo libinput list-devices | grep Device yields,


Device:           Power Button
Device:           Video Bus
Device:           Power Button
Device:           Lid Switch
Device:           Sleep Button
Device:           BisonCam,NB Pro: BisonCam,NB Pr
Device:           FTCS1000:01 2808:0102 Mouse
Device:           FTCS1000:01 2808:0102 Touchpad
Device:           Intel HID events
Device:           AT Translated Set 2 keyboard

So not a synaptic.

I have the same issue. My laptop is a custom Captiva notebook (almost Tuxedo-like).

I am now on kernel 6.1.7, latest testing update.

Any help is highly appreciated.

As described here:
https://forum.ubuntuusers.de/topic/synaptics-touchpad-zickt-bei-clevo-notebook/3/

the following seems to work for me:

rmmod i2c_hid_acpi i2c_hid
modprobe i2c_hid_acpi

In the meantime, I noticed that I can press Fn+F1 to disconnect/reconnect the touchpad at “lower hardware” level. I am thinking of writing a udev rule that removes and adds back the ì2c_hid_acpi module whenever the device 2808:0102 appears, hoping to workaround the issue. This should work fine as long as there are no other devices managed by ì2c_hid`…