You are not logged in.

#1 2023-05-26 19:03:37

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

[SOLVED] Xorg libinput `XIChangeProperty' fails on Touchpad properties

On up to date OS, I recently noticed a recurrent error loggeg to journalctl boot log by `gnome-shell': Errors are all related to a laptop's touchpad (device 13) libinput properties. The host runs on Xorg with GDM

> journalctl -b | grep "device 13"
May 26 17:14:02.242122 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Accel Speed" with X error 8
May 26 17:14:02.244114 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Natural Scrolling Enabled" with X error 8
May 26 17:14:02.245601 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Left Handed Enabled" with X error 8
May 26 17:14:02.246522 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Left Handed Enabled" with X error 8
May 26 17:14:02.246693 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Enabled" with X error 8
May 26 17:14:02.246808 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Button Mapping Enabled" with X error 8
May 26 17:14:02.246884 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Drag Enabled" with X error 8
May 26 17:14:02.246955 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Drag Lock Enabled" with X error 8
May 26 17:14:02.247039 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Disable While Typing Enabled" with X error 8
May 26 17:14:02.247164 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Send Events Mode Enabled" with X error 8
May 26 17:14:02.247293 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 17:14:02.247403 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 17:14:02.247542 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 17:14:02.247656 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Click Method Enabled" with X error 8
May 26 17:14:02.248245 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Middle Emulation Enabled" with X error 8
May 26 19:27:52.715417 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Accel Speed" with X error 8
May 26 19:27:52.716256 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Natural Scrolling Enabled" with X error 8
May 26 19:27:52.717134 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Left Handed Enabled" with X error 8
May 26 19:27:52.717707 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Left Handed Enabled" with X error 8
May 26 19:27:52.717817 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Enabled" with X error 8
May 26 19:27:52.717955 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Button Mapping Enabled" with X error 8
May 26 19:27:52.718047 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Drag Enabled" with X error 8
May 26 19:27:52.718137 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Tapping Drag Lock Enabled" with X error 8
May 26 19:27:52.718228 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Disable While Typing Enabled" with X error 8
May 26 19:27:52.718358 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Send Events Mode Enabled" with X error 8
May 26 19:27:52.718498 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 19:27:52.718646 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 19:27:52.718805 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Scroll Method Enabled" with X error 8
May 26 19:27:52.718910 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Click Method Enabled" with X error 8
May 26 19:27:52.719295 HOST gnome-shell[2072]: XIChangeProperty failed on device 13 property "libinput Middle Emulation Enabled" with X error 8
> xinput list | grep -i touchpad
⎜   ↳ DLL07BE:01 06CB:7A13 Touchpad             id=13   [slave  pointer  (2)]

> grep -A19 Touchpad < <(sudo libinput list-devices)
Device:           DLL07BE:01 06CB:7A13 Touchpad
Kernel:           /dev/input/event12
Group:            7
Seat:             seat0, default
Size:             102x77mm
Capabilities:     pointer gesture
Tap-to-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

I note that some of the properties involved in the journal error entries are listed as enabled but are listed as disabled in the libinput command output (e.g. "Left Handed Enabled", "Natural Scrolling Enabled", etc).

Is this a case of Gnome squashing/overriding whatever seems to conflict with it ?

From the libinput wiki I saw that some properties can be passed on explicitly to the Gnome desktop, like so:

> gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled
> gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
> gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false

but not all properties involved in the boot journal error entries are listed... Can some one nudge/shove me in the right direction ? Tx.

Last edited by Cbhihe (2023-05-26 19:26:45)


I like strawberries, therefore I'm not a bot.

Offline

#2 2023-05-26 19:20:25

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Xorg libinput `XIChangeProperty' fails on Touchpad properties

Just discovered that the error entries in the boot journal are triggered by:

> /usr/bin/xinput --set-prop "$xID" "Device Enabled" 0

a command issued via a keybinding with $xID being 13 (in most cases) to disable the touchpad manually...
So short of not disabling the touchpad while the user's hands hover over it (typing or not typing) I guess they're kinda stuck with those error entries in that host's boot journal.

Solved.

Last edited by Cbhihe (2023-05-26 19:22:36)


I like strawberries, therefore I'm not a bot.

Offline

Board footer

Powered by FluxBB