-
Notifications
You must be signed in to change notification settings - Fork 36
Description
When running wacom-gui.py, the following Error pops up:
Device information for "Wacom Intuos Pro 2 L" not found
(or equivalent for different tablet devices).
This will happen on systems which have a relatively recent version of libwacom, i.e. >= 1.10. That means e.g. Ubuntu 22.04, Debian 12 (bookworm), CentOS 9, Fedora 36, Arch Linux, Gentoo and others.
The cause is that libwacom-list-local-devices, since April 28, 2021 (release 1.10) uses the YAML format by default, which looks like:
$ libwacom-list-local-devices --database /usr/share/libwacom/
devices:
- name: 'Wacom Intuos Pro L'
bus: 'usb'
vid: '0x056a'
pid: '0x0317'
nodes:
- /dev/input/event30
- /dev/input/event29
- /dev/input/event28
...while wacom-gui expects a different format, thus the parsing is wrong, and the 'detected' dictionary in get_connected_tablets() is empty and an exception is thrown.
To get the format expected by wacom-gui, we need to add the --format=datafile argument.
I've fixed compatibility locally (from your master branch) and will attach a pull request shortly.