mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 04:40:05 +01:00
doc/user: move the tablet capabilities debugging to a separate page
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
18aef32618
commit
02c9c240a2
4 changed files with 46 additions and 34 deletions
|
|
@ -153,6 +153,7 @@ src_rst = files(
|
|||
'tapping.rst',
|
||||
'test-suite.rst',
|
||||
'timestamps.rst',
|
||||
'tablet-debugging.rst',
|
||||
'tools.rst',
|
||||
'touchpad-jumping-cursors.rst',
|
||||
'touchpad-pressure.rst',
|
||||
|
|
|
|||
44
doc/user/tablet-debugging.rst
Normal file
44
doc/user/tablet-debugging.rst
Normal file
|
|
@ -0,0 +1,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/tree/master/hwdb/60-evdev.hwdb>`__ file
|
||||
on your machine and file a pull request with the fixes against
|
||||
`systemd <https://github.com/systemd/systemd/>`__.
|
||||
|
|
@ -422,37 +422,3 @@ libinput uses the **libinput_device_group** to decide on touch arbitration
|
|||
and automatically discards touch events whenever a tool is in proximity.
|
||||
The exact behavior is device-dependent.
|
||||
|
||||
.. _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 check the issue with
|
||||
the ``evemu-descibe`` 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.
|
||||
- **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 usually 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 file on your machine to address this.
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ Troubleshooting
|
|||
touchpad-jitter.rst
|
||||
touchpad-pressure-debugging.rst
|
||||
trackpoint-configuration.rst
|
||||
tablet-debugging.rst
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue