Wacom

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

This article provides instructions for enabling touchscreen support for Wacom devices such as laptops, tablets, and ultrabooks, and the like.

Installation

Kernel

The following option is likely necessary for proper tablet functionality, even if the device is not an Intuos/Graphire tablet as it says in the description.

KERNEL Kernel config
Device drivers --->
   HID support --->
      HID bus support --->
         Special HID drivers --->
            <*> Wacom Intuos/Graphire tablet support (USB)

Some tablet models may also require these options:

KERNEL Additional config
Device drivers --->
   Input device support --->
      [*] Tablets --->
         <*> Wacom protocol 4 serial tablet support--->
      [*] Touchscreens --->
         <*> Wacom W8001 penabled serial touchscreen
         <*> Wacom Tablet support (I2C)

Userspace driver

After kernel is configured, update the INPUT_DEVICES Portage variable using the wacom driver:

FILE /etc/portage/make.confSet INPUT_DEVICES
INPUT_DEVICES="wacom"

After setting the INPUT_DEVICES variable remember to update the system using the following command so the changes take effect:

root #emerge --ask --changed-use --deep @world


You should also create Xorg config file so that Xorg knows which driver should be used for the tablet. Example:

FILE /etc/X11/xorg.conf.d/42-libinput.conf
Section "InputClass"
        Identifier "Tablet"
        Driver "wacom"
        MatchIsTablet "on"
EndSection

Xinput2 multitouch

The default setting of the wacom xinput driver has "gesture emulation".

When disabled, true multitouch events will be emitted instead and it can be used with Firefox multitouch.

Section "InputClass"
	Identifier "Wacom class"
	MatchProduct "Wacom|WACOM|Hanwang|PTK-540WL|ISDv4|ISD-V4|ISDV4"
	MatchDevicePath "/dev/input/event*"

	Driver "wacom"
	Option "Gesture" "off"
EndSection