I have a XP-Pen Artist 15.6 Pro tablet that I've been using on Linux Mint 19.3 (Ubuntu 18.04) without issue for a while. Until I recently installed some updates and found that the script I run to configure my tablet (mostly a wrapper around some xsetwacom calls) no longer works.
Previously the stylus input was mapped to a device called "UGTABLET 15.6 inch PenDisplay Pen stylus", and the buttons were mapped to one called "UGTABLET 15.6 inch PenDisplay Pad pad". Now, though, running xinput list
shows me the following:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Optical Mouse id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎜ ↳ UGTABLET 15.6 inch PenDisplay Mouse touch id=16 [slave pointer (2)]
⎜ ↳ UGTABLET 15.6 inch PenDisplay stylus id=17 [slave pointer (2)]
⎜ ↳ UGTABLET 15.6 inch PenDisplay eraser id=18 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Tenor Electronics DigiHug USB Audio id=9 [slave keyboard (3)]
↳ HP Wide Vision HD Camera: HP Wi id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ HP WMI hotkeys id=14 [slave keyboard (3)]
↳ HP Wireless hotkeys id=15 [slave keyboard (3)]
My tablet doesn't support touch input and doesn't have an eraser, and there is no longer any device for it listed in the keyboard section. By adjusting the name of the stylus device I am able to configure the stylus input to work as before, complete with pressure sensitivity, but the buttons no longer work as there is no device to set with xsetwacom. I don't see any Wacom-related packages among those updated, so I'm not sure what has changed. How do I get Linux to recognize my tablet as before?