Wacom Intuos in Fedora 25

by | March 14, 2017

I have graphical tablet Wacom Intuos Art Medium. The tablet is decent size, the sensitivity is enough and it can also work as a touch pad.

I works in Linux, but initially was not assigned the correct driver in Fedora 25 MATE. Also it needs a configuration of the pressure sensitivity and monitor mapping for a dual display setup.

Wacom in Fedora

The tablet is supported under Linux. There is a kernel driver and also an input driver for X.Org. There is a utility xsetwasom to control various parameters of the tablet.

Currently, I use Fedora 25 with MATE. I run into a problem, where the tablet was not correctly detected and the utility xsetwasom did not show any devices. The tablet, however, was working since I could control the cursor using the stylus.

Looking in the system log showed the following:

sudo grep -i wacom /var/log/messages

 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (II) config/udev: Adding input device Wacom Intuos PT M 2 Pen (/dev/input/event19)
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "evdev tablet catchall"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "libinput tablet catchall"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "libinput tablet catchall"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "libinput tablet catchall"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "Wacom USB tablet class"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "Wacom tablet class"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (**) Wacom Intuos PT M 2 Pen: Applying InputClass "evdev tablet catchall"
 Mar 13 18:16:05 tommz-fedora /usr/libexec/gdm-x-session: (II) Using input driver 'evdev' for 'Wacom Intuos PT M 2 Pen'

X.org is going through its configuration files and trying to match a configuration section to the device. It starts with evdev, then tries libinput, then wacom and then evdev again. It uses the driver with the highest precedence. Evdev in this case.

The configuration files are in /usr/share/X11/xorg.conf.d/

[tommz@tommz-fedora ~]$ ls /usr/share/X11/xorg.conf.d/
10-evdev.conf 10-quirks.conf 50-synaptics.conf 60-libinput.conf 70-wacom.conf 71-libinput-overrides-wacom.conf

We can see, that there is a configuration file for a wacom devices with the highest priority. So it should work.

However, a look in another folder, from where X.org is getting its configuration, shows this:

[tommz@tommz-fedora ~]$ ls /etc/X11/xorg.conf.d/
00-keyboard.conf 99-mate-evdev.conf 99-synaptics-mate.conf

There is a file with priority 99 installed by MATE that captures all input devices as evdev. Renaming this file and reloading X.Org fixed the problem.

[tommz@tommz-fedora ~]$ mv /etc/X11/xorg.conf.d/99-mate-evdev.conf /etc/X11/xorg.conf.d/99-mate-evdev.conf.bak

[tommz@tommz-fedora ~]$ xsetwacom --list devices
Wacom Intuos PT M 2 Pen stylus id: 17 type: STYLUS
Wacom Intuos PT M 2 Pad pad id: 18 type: PAD

Configuration

Dual monitor setup

I use two monitors but I want the tablet to be mapped to only one of those. The xsetwacom utility can map the tables only to one display using the MapToOutput parameter. First, I have to find the display output name using command xrandr.

[tommz@tommz-fedora ~]$ xrandr
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
2560x1440 59.95*+
1920x1080 60.00 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
VGA1 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 520mm x 290mm
1920x1080 60.00*+
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1280x720 60.00
1152x720 59.97
1024x768 75.03 60.00&nb
sp;
832x624 74.55
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

The display I’m interested in is my primary display with resolution 2560×1440. The name of the display is HDMI2. I’ll use this name in the xsetwacom command to map the tablet to this display:

xsetwacom set "Wacom Intuos PT M 2 Pen stylus" MapToOutput HDMI2

Sensitivity

The other configuration is the pressure sensitivity curve. What happens is, that sometimes, when I enable the pressure control in my drawing program, the pressure spikes when I touch the tablet. This makes big dots (kind of like spills of ink) at the beginning of strokes.

The solution to this is configure the pressure curve. This curve translates the raw output from the tables and transforms it to using a function. The command that worked good for me to avoid the spikes at the beginning of strokes is the following:

xsetwacom --set "Wacom Intuos PT M 2 Pen stylus" PressureCurve 0 10 90 100

Leave a Reply

Your email address will not be published. Required fields are marked *