Bug 2004978 - Disabling the touchpad also disables the trackpoint (Thinkpad X1 tablet 1st gen)
Summary: Disabling the touchpad also disables the trackpoint (Thinkpad X1 tablet 1st gen)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libinput
Version: 34
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-16 14:10 UTC by ivan
Modified: 2021-10-19 15:59 UTC (History)
2 users (show)

Fixed In Version: libinput-1.19.1-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 15:59:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
libinput list-devices (6.42 KB, text/plain)
2021-09-16 14:10 UTC, ivan
no flags Details
cat /proc/bus/input/devices (6.01 KB, text/plain)
2021-09-16 14:11 UTC, ivan
no flags Details

Description ivan 2021-09-16 14:10:57 UTC
Created attachment 1823583 [details]
libinput list-devices

Description of problem:

(I've chosen libinput as the "faulty" component ; it could be something related to mutter though).

I've installed F34 on a Thinkpad X1 tablet 1st gen. With the trackpoint working (= after disconnecting/reconnecting the keyboard or a suspend (s2idle) / resume cycle), disabling the touchpad in Gnome/Wayland also disables the trackpoint, while disabling the touchpad in Gnome/Xorg works as expected - ie. the trackpoint is functional.

I've tried a few ways to turn the touchpad off, but they all result in the trackpoint also being disabled:

- toggling the touchpad in gnome settings GUI or its likely cli alternative `gsettings set org.gnome.desktop.peripherals.touchpad send-events 'disabled'`

- creating a libinput quirk (I couldn't find what "AttrEventCodeDisable" name to use; I've tried with BTN_RIGHT for tests but I could still right click with the touchpad so it didn't have any effect).

[Lenovo X1 Tablet 1st gen]
MatchName=Synaptics TM3203-003
MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:*
AttrEventCodeDisable=BTN_RIGHT

- writing a udev rule to ignore the touchpad

ACTION=="add|change", KERNEL=="event[0-9]*", ENV{ID_VENDOR_ID}=="17ef", \
        ENV{ID_MODEL_ID}=="6085", ENV{ID_INPUT_TOUCHPAD}=="1", ENV{LIBINPUT_IGNORE_DEVICE}="1"



Side note: I'm not sure if it's related or if I should open another bug, but there's no palm detection when both the touchpad and the trackpoint are on; eg. I can move the pointer up/down with the touchpad while moving it sideways at the same time with the trackpoint (which should not be the case as described in https://wayland.freedesktop.org/libinput/doc/latest/palm-detection.html?highlight=palm#trackpoint-disabling).

Version-Release number of selected component (if applicable):

libinput-1.18.1-1.fc34.x86_64
mutter-40.4-1.fc34.x86_64
gnome-shell-40.4-1.fc34.x86_64


How reproducible: always


Steps to Reproduce:
1. boot and log in with a Wayland session
2. disconnect/reconnect keyboard cover or do a suspend/resume cycle to enable the trackpoint (issue https://gitlab.freedesktop.org/libinput/libinput/-/issues/487)
3. disable the touchpad

Actual results: trackpoint should work.

Expected results: trackpoint is disabled.

Additional info: disabling the touchpad works in Windows 10.

Comment 1 ivan 2021-09-16 14:11:54 UTC
Created attachment 1823584 [details]
cat /proc/bus/input/devices

Comment 2 Peter Hutterer 2021-09-16 23:26:09 UTC
Can you move this to the libinput upstream tracker please: https://gitlab.freedesktop.org/libinput/libinput/-/issues. I'll handle it there and it'll feed back into fedora asap after that.


I'll need a libinput record output from both the touchpad and the trackpoint event node please.

Comment 3 ivan 2021-09-17 06:12:00 UTC
https://gitlab.freedesktop.org/libinput/libinput/-/issues/664

Thank you for your time and work !

Comment 4 Fedora Update System 2021-10-10 23:39:13 UTC
FEDORA-2021-4313e17bda has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4313e17bda

Comment 5 Fedora Update System 2021-10-11 21:24:54 UTC
FEDORA-2021-4313e17bda has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4313e17bda`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4313e17bda

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-10-19 15:59:27 UTC
FEDORA-2021-4313e17bda has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.