tablet-debugging.rst 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. _tablet-debugging:
  2. ==============================================================================
  3. Debugging tablet issues
  4. ==============================================================================
  5. .. _tablet-capabilities:
  6. ------------------------------------------------------------------------------
  7. Required tablet capabilities
  8. ------------------------------------------------------------------------------
  9. To handle a tablet correctly, libinput requires a set of capabilities
  10. on the device. When these capabilities are missing, libinput ignores the
  11. device and prints an error to the log. This error messages reads
  12. ::
  13. missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device.
  14. or in older versions of libinput simply:
  15. ::
  16. libinput bug: device does not meet tablet criteria. Ignoring this device.
  17. When a tablet is rejected, it is usually possible to verify the issue with
  18. the ``libinput record`` tool.
  19. - **xy** indicates that the tablet is missing the ``ABS_X`` and/or ``ABS_Y``
  20. axis. This indicates that the device is mislabelled and the udev tag
  21. ``ID_INPUT_TABLET`` is applied to a device that is not a tablet.
  22. A bug should be filed against `systemd <http://github.com/systemd/systemd>`__.
  23. - **pen** or **btn-stylus** indicates that the tablet does not have the
  24. ``BTN_TOOL_PEN`` or ``BTN_STYLUS`` bit set. libinput requires either or both
  25. of them to be present. This indicates a bug in the kernel driver
  26. or the HID descriptors of the device.
  27. - **resolution** indicates that the device does not have a resolution set
  28. for the x and y axes. This can be fixed with a hwdb entry, locate and read
  29. the `60-evdev.hwdb
  30. <https://github.com/systemd/systemd/blob/main/hwdb.d/60-evdev.hwdb>`__ file
  31. on your machine and file a pull request with the fixes against
  32. `systemd <https://github.com/systemd/systemd/>`__.