1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

'

Input-wacom

From linuxwacom

Jump to: navigation, search

The input-wacom driver is the usb kernel driver/module paired with xf86-input-wacom. It backports new features and model support to kernels 2.6.26 through 2.6.36. Those with kernels 2.6.37 or higher should use their distro supplied kernel drivers.

If you are developing support for new devices, do not use this package. Develop against upstream kernels instead. Patches in input-wacom may not find their way into upstream kernels. Any backported kernel driver features and model support should be submitted to the linux-input mailing list.

Contents

Getting the Source

Please download the latest release from the sourceforge download section and unpack it with:

tar xjvf input-wacom-<version number>.tar.bz2
cd input-wacom-<version number>

Alternatively, pre-release code is available at the input-wacom git repository.

git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/input-wacom
cd input-wacom

Building the Driver

When compiling from a released version of input-wacom, gcc needs to be installed as well as linux kernel development headers. Examples of installing kernel headers for a couple of system types:

apt-get install linux-headers-$(uname -r)  # on Debian machines
yum install kernel-devel                   # on Fedora machines

Configuring and compiling the input driver is accomplished with a single command.

./configure

If compiling from a git clone, the configure script will not exist and you will need autoconf and automake tools to be installed to generate the support files. We provide a helper script autogen.sh that wraps executing the autotools steps as well as executing the configure step.

./autogen.sh

Installing the Driver

Follow the instructions provided at the end of the build to copy the kernel modules to your system's module directory. USB tablets rely on the wacom.ko kernel module, while most touchscreens will use the wacom_w8001.ko module:

cp ./<kernel version>/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/
cp ./<kernel version>/wacom_w8001.ko /lib/modules/`uname -r`/kernel/drivers/input/touchscreen/

After the modules have been copied, you will need to rebuild all of the module dependencies:

depmod -a

X driver

Upgrading both the kernel driver and the X driver to the same version is recommended. Please see xf86-input-wacom for the X driver required for X servers 1.7 and later.

Personal tools