A few days ago the Xorg package in Arch Linux pulled libinput as a hard dependency. This new cool library takes precedence over evdev. The WP8060U drawing tablet stopped working because of it (the cursors stays fixed in the middle of the screen). Another clue that something is wrong is that the device ⎜ ↳ UC-LOGIC Tablet WP8060U Pen isn’t shown by xinput. I had to update the configuration in /etc/X11/xorg.conf.d/99-tablet.conf with the following

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "TransformationMatrix" "0.48 0 0.08 0 1 0 0 0 1" 
EndSection

The transformation matrix is what I use to restrict the drawing area on the monitor in order to have the correct aspect ratio when drawing (see here for choosing the values). This config forces the use of evdev instead of libinput. You can check what driver is being used for the plugged devices

grep "Using input driver" /var/log/Xorg.0.log
[    22.880] (II) Using input driver 'evdev' for 'UC-LOGIC Tablet WP8060U Pen' 
[    22.939] (II) Using input driver 'libinput' for 'UC-LOGIC Tablet WP8060U Mouse' 

Comments

comments powered by Disqus