File: tablet-debugging.rst

package info (click to toggle)
libinput 1.30.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,404 kB
  • sloc: ansic: 104,881; python: 3,570; sh: 183; makefile: 37; cpp: 7
file content (44 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.. _tablet-debugging:

==============================================================================
Debugging tablet issues
==============================================================================

.. _tablet-capabilities:

------------------------------------------------------------------------------
Required tablet capabilities
------------------------------------------------------------------------------

To handle a tablet correctly, libinput requires a set of capabilities
on the device. When these capabilities are missing, libinput ignores the
device and prints an error to the log. This error messages reads

::

     missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device.

or in older versions of libinput simply:

::

     libinput bug: device does not meet tablet criteria. Ignoring this device.


When a tablet is rejected, it is usually possible to verify the issue with
the ``libinput record`` tool.

- **xy** indicates that the tablet is missing the ``ABS_X`` and/or ``ABS_Y``
  axis. This indicates that the device is mislabelled and the udev tag
  ``ID_INPUT_TABLET`` is applied to a device that is not a tablet.
  A bug should be filed against `systemd <http://github.com/systemd/systemd>`__.
- **pen** or **btn-stylus** indicates that the tablet does not have the
  ``BTN_TOOL_PEN`` or ``BTN_STYLUS`` bit set. libinput requires either or both
  of them to be present. This indicates a bug in the kernel driver
  or the HID descriptors of the device.
- **resolution** indicates that the device does not have a resolution set
  for the x and y axes. This can be fixed with a hwdb entry, locate and read
  the `60-evdev.hwdb
  <https://github.com/systemd/systemd/blob/main/hwdb.d/60-evdev.hwdb>`__ file
  on your machine and file a pull request with the fixes against
  `systemd <https://github.com/systemd/systemd/>`__.