Skip to content

Check device support

A. Skomra edited this page Feb 17, 2023 · 2 revisions

libwacom-list-devices

Run this command to see all devices currently supported by the libwacom currently installed on your system.

$ libwacom-list-devices
devices:
- { bus: 'usb',       vid: '0x04f3', pid: '0x2072', name: 'ELAN 2072' }
- { bus: 'usb',       vid: '0x056a', pid: '0x0010', name: 'Wacom Graphire' }
- { bus: 'usb',       vid: '0x056a', pid: '0x0011', name: 'Wacom Graphire2 4x5' }
- { bus: 'usb',       vid: '0x056a', pid: '0x0012', name: 'Wacom Graphire2 5x7' }
...

The output of the file is YAML, use tools like yq to search for or print specific information.

libwacom-list-local-devices

Run this command to check whether your device is detected by libwacom.

The output of this command should include all connected devices, e.g.

$ libwacom-list-local-devices
devices:
- name: 'Wacom Intuos Pro M'
  bus: 'usb'
  vid: '0x056a'
  pid: '0x0357'
  nodes: 
  - /dev/input/event24
  - /dev/input/event23
  - /dev/input/event22

If the device is not found but works otherwise, you will need to add a tablet data file for your device. The easiest approach is to search for an existing data file that is of a similar model and copy+modify that file. The most important lines are Name and DeviceMatch. Both need to be correct and must match the device (use evtest or evemu-record to get the required information from the device).

It is sufficient to add the new .data to the installation folder (/usr/share/libwacom). If the file is correct, libwacom-list-local-devices will show the device. If so, please add the file to the git tree and submit a pull request. If the tablet is one with buttons, please also add the matching svg file.