Creating `/etc/libinput/local-overrides.quirks` with this content fixed it for 
me:
```
[Lenovo ThinkPad X9 15 Gen 1]
MatchName=*GXTP5100*
MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX9-15Gen1*:*
MatchUdevType=touchpad
ModelPressurePad=1
```

Quirk taken from this PR: 
https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1150/diffs#0a5861a73f694553a0514ee35bbe667554a1d53a
Thanks to Thomas Newman!

** Tags added: has-workaround libinput

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xinput in Ubuntu.
https://bugs.launchpad.net/bugs/2100908

Title:
  Touchpad mouse-move not working on Lenovo ThinkPad X9-15 (but click
  works)

Status in xinput package in Ubuntu:
  New

Bug description:
  The touchpad of my ThinkPad x9-15 reports mouse clicks on firm press,
  but moving fingers on it doesn't move the mouse cursor. The touchpad
  works fine in the UEFI and on Windows. Touches and finger moves are
  also visualized perfectly fine in `libinput debug-gui`. To me, it
  looks like mouse-move information is lost somewhere between libinput
  and xinput.

  I booted a live image of the Ubuntu MATE 25.04 daily build, `uname -a`
  prints "Linux ubuntu-mate 6.12.0-16.generic"

  `sudo evtest` detects the touchpad as
  ```
  /dev/input/event4 as GXTP5100:00 27C6:01EA Mouse
  /dev/input/event5 as GXTP5100:00 27C6:01EA Touchpad
  ```
  where the "Mouse" doesn't produce any events on swipe/click, but the touchpad 
does, including meaningful looking pressure and absolut position coordinates

  When I run `sudo libinput debug-gui`, it visualizes all touches/swipes
  with up to five fingers perfectly fine.

  When running `xinput list`, the device is listed as
  ```
  GXTP5100:00 27C6:01EA Mouse id=10 [slave pointer (2)]
  GXTP5100:00 27C6:01EA Touchpad id=11 [slave pointer (2)]
  ```

  `xinput test 11` prints events for clicks, but not for swiping.
  `xinput test 10` does not produce output for clicks or swiping

  `xinput list 11` lists, among others, these as the "x" and "y" valuators:
  Class originated from: 11. Type: XIValuatorClass
  Details for Valuator 0:
      Label: Rel X
      Range: -1.000000 - -1.000000
      Resolution: 0 units/m
      Mode: relative
  Class originated from: 11. Type: XIValuatorClass
  Details for Valuator 1:
      Label: Rel Y
      Range: -1.000000 - -1.000000
      Resolution: 0 units/m
      Mode: relativ

  The `resolution` entries here look suspicious to me, but I wasn't able
  to get them changed.

  This has been reported by someone else on reddit before: 
https://www.reddit.com/r/linuxhardware/comments/1ips35e/thinkpad_x9_support_is_extremely_bad/
  They also uploaded a bunch of system information at 
https://linux-hardware.org/?probe=7577a7531b

  Happy to provide more information, grateful for any hints on how to
  fix this.

  ---

  some more dumps that might be relevant:

  * log entries in /var/log/Xorg.0.log about event5
  ```
  config/udev: Adding input device GXTP5100:00 27C6:01EA Touchpad 
(/dev/input/event5)
  GXTP5100:00 27C6:01EA Touchpad: Applying InputClass "libinput touchpad 
catchall"
  Using input driver 'libinput' for GXTP5100:00 27C6:01EA Touchpad'
  GXTP5100:00 27C6:01EA Touchpad: always reports core events
  Option "Device" "/dev/input/event5"
  event5  - GXTP5100:00 27C6:01EA Touchpad: is tagged by udev as Touchpad
  event5  - GXTP5100:00 27C6:01EA Touchpad: device is a touchpad
  event5  - GXTP5100:00 27C6:01EA Touchpad: device removed
  libinput: GXTP5100:00 27C6:01EA Touchpad: Step value 0 was provided, libinput 
Fallback accelration function is used
  libinput: GXTP5100:00 27C6:01EA Touchpad: Step value 0 was provided, libinput 
Fallback accelration function is used
  libinput: GXTP5100:00 27C6:01EA Touchpad: Step value 0 was provided, libinput 
Fallback accelration function is used
  ```

  * `sudo libinput list-devices` lists the device as
  ```
  group: 6
  Seat: seat0, default
  Size: 134x77mm
  Capabilities: pointer gesture
  Tap-click: disabled
  Tap-and-drag: enabled
  Tap drag lock: disabled
  Left-handed: disabled
  Nat.scrolling: disabled
  Middle emulation: disabled
  Calibration: n/a
  Scroll methods: *two-finger edge
  Click methods: *button-areas clickfinger
  Disable-w-typing: enabled
  Disable-w-trackpointing: enabled
  Accel profiles: flat *adaptive custom
  Rotation: n/a
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: xinput 1.6.4-1build1
  ProcVersionSignature: Ubuntu 6.12.0-16.16-generic 6.12.11
  Uname: Linux 6.12.0-16-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu2
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CasperVersion: 25.04.1
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
  CompositorRunning: None
  CurrentDesktop: MATE
  Date: Tue Mar  4 23:36:03 2025
  DistUpgraded: Fresh install
  DistroCodename: plucky
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation Lunar Lake [Intel Arc Graphics 130V / 140V] [8086:64a0] 
(rev 04) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:233b]
  LiveMediaBuild: Ubuntu-MATE 25.04 "Plucky Puffin" - Daily amd64 (20250301)
  MachineType: LENOVO 21Q6001RGE
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
  SourcePackage: xinput
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/23/2024
  dmi.bios.release: 1.6
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N4CET30W (1.06 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21Q6001RGE
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76575 WIN
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.5
  dmi.modalias: 
dmi:bvnLENOVO:bvrN4CET30W(1.06):bd12/23/2024:br1.6:efr1.5:svnLENOVO:pn21Q6001RGE:pvrThinkPadX9-15Gen1:rvnLENOVO:rn21Q6001RGE:rvrSDK0T76575WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21Q6_BU_Think_FM_ThinkPadX9-15Gen1:
  dmi.product.family: ThinkPad X9-15 Gen 1
  dmi.product.name: 21Q6001RGE
  dmi.product.sku: LENOVO_MT_21Q6_BU_Think_FM_ThinkPad X9-15 Gen 1
  dmi.product.version: ThinkPad X9-15 Gen 1
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.123-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 24.3.4-3ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.16-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xinput/+bug/2100908/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to