Wacom Graphics Tablet CTH-480 / CTL-480 Not Detected In Ubuntu 13.10
Solution 1:
Update for 14.04
Short (really) version. The tablet works out of the box, but sometime you need to manually load the driver with sudo modprobe wacom
before attaching (or switching on if wireless) the tablet.
Nevertheless, the following instruction can be helpful if some new tablet comes out which has support in the upstream driver but not in the stock kernel.
Update for 13.10, 14 Dec 2013, input-wacom >= 0.20.0
Short version: you do not need to patch input-wacom anymore starting from version 0.20.0, and you do not strictly need to update the X.org input driver in 13.10.
Long version:
For 13.10, if you accept to forego the new things added to x86-input-wacom
(at this time: 14 Dec 2013, looking at changelogs, it's some stuff about better touch behavior) you can simplify it a lot.
Basic information is still from the main answer, and from here, with a slight difference.
1) Download the last version of input-wacom kernel driver. It should be at least 0.20.0, otherwise the tablet will not be detected, from here: http://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom/input-wacom/. In date 2013-12-14, the newest is input-wacom-0.20.0.tar.bz2
.
2) be sure to have the build dependencies installed. Upgrade your system if you have not, so you have the last kernel. If it says that a reboot is needed, reboot before continuing (this is to avoid to build against a wrong kernel).
sudo apt-get install build-essential libX11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libncurses5-dev autoconf libtool
sudo apt-get install linux-headers-generic
Notice that if uname -r
tell you that you have a special kernel (ending not in -generic, but -rt, or -lowlatency, or whatever, you should modify the second apt-get accordingly)
2) uncompress the driver in a directory of your choice. Move the downloaded file in that direcory, cd
to it, and
tar xjvf input-wacom-0.20.0.tar.bz2
3) a directory input-wacom-0.20.0
is created. cd
to it and compile the drivers:
cd input-wacom-0.20.0
./configure --prefix=/usr
Update In versions prior to 0.27 or whereabout, that started the compilation too. If using a newer one, you need to issue
make # only for versions >= 0.27.0
if there are no errors, at the end you have a message starting with:
BUILD ENVIRONMENT:
linux kernel - yes 3.7
kernel source - yes /lib/modules/3.11.0-14-generic/build
Your wacom.ko is available under
/home/romano/software/wacom/input-wacom-0.20.0/3.7
[...more stuff...]
You have kernel 3.11.something, not 3.7 --- do not worry. It's ok.
4) Install the driver. For versions < 0.27.0, you have to use:
sudo cp ./3.7/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
sudo depmod -a
otherwise, for a more recent version, just do
sudo make install
If you had not the tablet connected since the last reboot (i.e. you had no kernel module wacom.ko loaded), a reboot is not needed. You can just plug your tablet and go. Otherwise, reboot.
NOTICE: Every time the kernel is updated, you need to repeat step 3 and 4 (*)(you better add a
make clean
in the driver directory before the ./configure
step to rebuild all anew).
(*) you have to do the installation AFTER rebooting in the new kernel, because otherwise the uname -r
tricks will install the module in the wrong place...
AND ANOTHER NOTICE: if you tablet works, but it does not show up in the control panel, look at this answer and
sudo apt-get install xserver-xorg-input-wacom
Solution 2:
The tablet is too fresh :-) the input-wacom developers are working on support in the upcoming release of input-wacom (kernel driver) and x86-input-wacom (xserver input driver) as soon as the patches are accepted into the kernel upstream, they will release the new version.
If you don't want to wait that long to get your new tablet going -- the solution is to compile the kernel-module and xserver-driver yourself - I have 12.04 running with 3.8.0-32-lowlatency kernel from the kxstudio ppa, so I don't know if this works with the stock 3.2 kernel but since you are on 13.10, that shouldn't be a problem. You have to follow the instructions on the linux-wacom website on how to compile the kernel module and the xserver driver almost to the letter but you have to apply three patches in the process. Be sure to install all the build-dependencies needed and mentioned on the linux-wacom website.
The gist of it is
mkdir ~/wacom
cd ~/wacom
git clone git://git.code.sf.net/p/linuxwacom/xf86-input-wacom
git clone git://git.code.sf.net/p/linuxwacom/input-wacom
Now you need two patches for the kernel module, posted by a wacom developer in this thead http://sourceforge.net/p/linuxwacom/mailman/message/31592023/ as attachments to this post http://sourceforge.net/p/linuxwacom/mailman/message/31599376/
- 0001-Input-wacom-Not-all-multi-interface-devices-support-.patch
- 0002-Input-wacom-add-support-for-three-new-Intuos-devices.patch
Apply them
cd input-wacom
patch -p1 < ~/Downloads/0001-Input-wacom-Not-all-multi-interface-devices-support-.patch
patch -p1 < ~/Downloads/0002-Input-wacom-add-support-for-three-new-Intuos-devices.patch
compile the module
./autogen.sh
./make
then make a backup of the old module and install the freshly build
sudo cp /lib/modules/$(uname -r)/kernel/drivers/input/tablet/wacom.ko /lib/modules/$(uname -r)/kernel/drivers/input/tablet/wacom.ko.BAK
sudo cp 3.7/wacom.ko /lib/modules/$(uname -r)/kernel/drivers/input/tablet/wacom.ko
sudo depmod -a
To get a working xserver driver you have to apply a patch to get the git-sources to work with the ubuntu 12.04 xserver, the build_against_frankenserver.patch - the patch is available e.g. attachment in this thread http://ubuntuforums.org/showthread.php?t=1515562&page=104 , I don't know if this is still necessecary with 13.04 or 13.10! (and ignore patch failures in the test/ directory)
cd ../xf86-input-wacom
patch -p1 ~/Downloads/build_against_frankenserver.patch
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib
make
Install it
sudo cp /usr/lib/xorg/modules/input/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so.BAK
sudo cp src/.libs/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so
Reboot or restart and it should work.
Again be sure to read all the information given to you over at linux-wacom.sf.net, this is only a rough summary, and I wont have the time to help in depth anytime soon.
Still, I hope this helps -- the Intuos PTS is a really cool device, and it works like a charm this way.