The Linux Wacom Project
SourceForge.net Logo

Mini-HOWTO


This section briefly outlines the procedure to update Wacom Driver on FC5. For descriptions on other platforms, please refer to Success Stories page.

First, download the most recent linuxwacom driver package from Downloading the Code page to your home directory and unpack it:


[jej@ayukawa jej]$ bunzip2 linuxwacom-0.8.0-3.tar.bz2
[jej@ayukawa jej]$ tar xvf linuxwacom-0.8.0-3.tar

Kernel Drivers for USB Tablets

Note, this section is for USB tablets only. Serial tablet and Tablet PC users can skip this section since your tablets don't need kernel driver to run.

Before updating your system with linuxwacom driver, you need to make sure your FC5 is up to date. To do so, issue yum update. The following testings are based on kernel 2.6.20-1.2320.fc5.

After updating your kernel, those of you who have installed other customer kernel drivers, such as nVidia graphic card driver, will need to reinstall the drivers again.

Let's prepare your system with kernel driver updating.

The simplest way to do this is to use your system's kernel-devel package. However, FC5 have installed wrong kernel-devel by default. This leads to the following extra steps to remove the wrong kernel-devel and install the proper one.

 
[jej@ayukawa jej]$ su
Password:
[root@ayukawa jej]# yum remove kernel-devel
[root@ayukawa jej]# yum install kernel-devel
[root@ayukawa jej]# cd linuxwacom-0.8.0-3 
[root@ayukawa linuxwacom-0.8.0-3]# ./configure --enable-wacom
[root@ayukawa linuxwacom-0.8.0-3]# make
[root@ayukawa linuxwacom-0.8.0-3]# cp /lib/modules/`uname -r`/kernel/drivers/usb/input/wacom.ko wacom.ko_`uname -r`
[root@ayukawa linuxwacom-0.8.0-3]# cp src/2.6.19/wacom.ko /lib/modules/`uname -r`/kernel/drivers/usb/input/

If you need to build hid-core.c, you'll need to install the corresponding kernel source rpm. Refer to Who is taking control? to see if you need to build hid-core.c or not.

Then make a change in /etc/udev/rules.d/10-wacom.rules (refer to Wacom Kernel Driver for detailed information). Replace the similiar line with the following one and save the file:
 
KERNEL=="event*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom"

Installing X Driver and its Utilities

The prebuilt X drvier and utility programs are stalled at linuxwacom-0.8.0-3/prebuilt. The following steps will install the proper ones for your system.

 

[jej@ayukawa linuxwacom-0.8.0-3]# cd prebuilt
[jej@ayukawa prebuilt]# ./uninstall
[jej@ayukawa prebuilt]# ./install

Now, the driver upgrading part is done. You need to update /etc/X11/xorg.conf file to load the driver. Open /etc/X11/xorg.conf with your favorite editor (vi, gedit, emacs...) and add proper lines as stated at Configuring X driver.

To add a fallback layer to the process, open /etc/inittab in an editor and change id:5:initdefault to id:3:initdefault. ONLY change 5 to 3 in the file of that line! This step is for testing purpose only.

Plug your tablet in if you haven't done so. Reboot your system. When the system is up, login as yourself, and issue startx. If everything works, i.e., cursor follows the pen tip on the tablet, etc, you are done. You can change id:3 back to id:5 in your /etc/inittab now.

Otherwise, post your problem to the general discussion mailing list.



Copyright (C) 2002-2008 - LinuxWacom -Last updated May 23, 2008
This website and its contents are licensed under the GNU FDL.