The Linux Wacom Project
SourceForge.net Logo

Linux Wacom Project HOWTO

3.4 - Testing If wacom.(k)o Will Load






Before we install the wacom driver, we need to test that it will load properly. We do this by loading the driver manually. We will also need to be root to do this.

WARNING: there is a small chance that this will bomb your kernel, so we run sync to write all the stale buffers to the disk. People using ext3 have little to worry about, but it's always good to be prepared for the worst. At the very least, save your work.

[root@ayukawa linuxwacom]# sync

From the package's associated kernel directory, we unload any previous modules and load the new one. The following example is from a kernel 2.6.24 system.

[root@ayukawa linuxwacom]# cd src/2.6.24
[root@ayukawa 2.6.24]# /sbin/rmmod wacom
[root@ayukawa 2.6.24]# /sbin/insmod ./wacom.ko

Well, if you did not bomb, then good. And if you did, well, sorry. So far, we have not had any reports of this happening, so please send in yours.

Incidentally, if you run "/sbin/insmod wacom.ko" and happen to be in the wrong directory, the old driver reloads, sometimes without warning. I therefore changed this to read "/sbin/insmod ./wacom.ko" which seems to prevent this from happening. To be certain, you can check the log file for the correct version number.

[root@ayukawa src]# tail /var/log/messages
Jan 22 20:34:41 ayukawa kernel: usb.c: registered new driver wacom
Jan 22 20:34:41 ayukawa kernel: Reporting max 30480, 31680
Jan 22 20:34:41 ayukawa kernel: wacom.c: Setting tablet report for tablet data
Jan 22 20:34:41 ayukawa kernel: input0: Wacom Intuos2 12x12 on usb2:3.0
Jan 22 20:34:41 ayukawa kernel: wacom.c: $1.43-0.9.5 Vojtech Pavlik <vojtech@suse.cz>
Jan 22 20:34:41 ayukawa kernel: wacom.c: USB Wacom tablet driver

The important detail is the version number. A version number like "1.52" is an original kernel version and not from the linuxwacom package. The correct version should also have the -j#.# or -pc#.# portion as well. This is to help differentiate between the stock kernel driver and those available from the Linux Wacom Project.

If you get errors inserting the module, then you may need to reconfigure and build with module versioning disabled. If it loads without a hitch, move on to the next part.






Copyright (C) 2002-2011 - LinuxWacom -Last updated July 23, 2012
This website and its contents are licensed under the GNU GENERAL PUBLIC LICENSE.