Skip to content
Jason Gerecke edited this page May 11, 2022 · 3 revisions

The xf86-input-wacom driver is not the only X11 driver which can work with Wacom devices. The xf86-input-libinput driver may also work with these devices, though it offers very few configuration options and more limited application compatibility. While we do not usually recommend using xf86-input-libinput with Wacom hardware, it can sometimes be useful for working around a bug.

To have the xf86-input-libinput driver take control of a specific device, you will need to create a new file named /etc/X11/xorg.conf.d/99-wacom-override.conf based on the following template. You will need to fill in the "${VID}:${PID}" with an appropriate value and then reboot. You can then run xsetwacom to verify that the device is no longer known to our driver.

To revert back to xf86-input-wacom, simply delete the file and reboot.

# Wacom Override Template - force a device to use xf86-input-libinput
#
# Replace "${VID}:${PID}" below with the vendor and product ID of your
# device. The values can be found by copying the appropriate values
# printed out by `cat /proc/bus/input/devices`. For example, you would
# use the value "056a:00f8", copied from the "I" line for the device
# below:
#
#     [...]
#     I: Bus=0003 Vendor=056a Product=00f8 Version=0110
#     N: Name="Wacom Cintiq 24HD touch Pen"
#     P: Phys=usb-0000:00:1d.0-1.1.3/input0
#     S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.3/2-1.1.3:1.0/0003:056A:00F8.0010/input/input64
#     U: Uniq=
#     [...]
#
# If necessary, you can create multiple InputClass sections in this file
# each with their own unique "Identifier" and "MatchUSBID" lines.
#
# For users concerned that "MatchUSBID" only works for USB devices, do
# not worry. The same match works for I2C, Bluetooth, etc. despite what
# the name implies.

Section "InputClass"
        Identifier "Wacom override 1"
        MatchUSBID "${VID}:${PID}"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection
Clone this wiki locally