Andrew Jordan c391bdef10 quirks: add PixArt 093A:4811 haptic touchpad
The PixArt 093A:4811 is a haptic pad: ABS_PRESSURE and ABS_MT_PRESSURE
report physical click force rather than contact size. The kernel does not
set INPUT_PROP_PRESSUREPAD for it and leaves the ABS_MT_PRESSURE
resolution at 0, so tp_init_pressurepad() never disables the axes and
libinput falls through to using pressure for touch detection.

The device's HID report descriptor compounds this by declaring Tip
Pressure without emitting its own Logical Minimum/Maximum, so per the HID
spec it inherits Y's 0..1983 and hid-multitouch reports ABS_MT_PRESSURE
as [0, 1983]. The default thresholds then land at 198:238, while a real
finger measured over 3852 frames sits at median 0 with p90 29, only
reaching 238 under a deliberate hard press (4.5% of frames).

So no ordinary touch ever crosses the touch-begin threshold. The touch is
torn down and recreated continuously and each recreation presents the next
valid coordinate as a teleport, leaving finger input completely dead while
the log fills with "kernel bug: Touch jump detected and discarded" on
coordinate data that is in fact clean.

AttrPressureRange is not a usable alternative here: a resting finger
reports 0, indistinguishable from no finger, so no hi:lo pair separates
touch-down from touch-up.

Found on an Acer Predator PT14-52T (Predator Triton 14 AI). The stylus on
the same physical device is a separate evdev node with genuine [0, 4095]
pressure and is unaffected.

Signed-off-by: Andrew Jordan <andrewjordan3@gmail.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1504>
2026-07-29 19:40:50 -05:00
2026-07-24 06:14:09 +00:00
2025-04-07 08:43:36 +00:00
2018-05-10 16:25:40 +10:00

libinput

libinput is a library that provides a full input stack for display servers and other applications that need to handle input devices provided by the kernel.

libinput provides device detection, event handling and abstraction to minimize the amount of custom input code the user of libinput needs to provide the common set of functionality that users expect. Input event processing includes scaling touch coordinates, generating relative pointer events from touchpads, pointer acceleration, etc.

User documentation

Documentation explaining features available in libinput is available here.

This includes the FAQ and the instructions on reporting bugs.

Source code

The source code of libinput can be found at: https://gitlab.freedesktop.org/libinput/libinput

For a list of current and past releases visit: https://www.freedesktop.org/wiki/Software/libinput/

Build instructions: https://wayland.freedesktop.org/libinput/doc/latest/building.html

Reporting Bugs

Bugs can be filed on freedesktop.org GitLab: https://gitlab.freedesktop.org/libinput/libinput/issues/

Where possible, please provide the libinput record output of the input device and/or the event sequence in question.

See https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html for more info.

Documentation

Examples of how to use libinput are the debugging tools in the libinput repository. Developers are encouraged to look at those tools for a real-world (yet simple) example on how to use libinput.

License

libinput is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: [...]

See the COPYING file for the full license information.

About

Documentation generated from git commit GIT_VERSION

S
Description
No description provided
Readme
11 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 93.9%
Python 3.6%
Roff 1.1%
Meson 0.9%
Lua 0.4%
Other 0.1%