(This was mostly just for fun, but if somone has an suggestions for compiling the linuxwacom module at the end which fails that would be great.)
Hey there,
I just tested my wife’s Wacom Bamboo and it appears to work okay with the desktop kernel and the wacom driver from the normal Yast repos, I did not have to build a new kernel module.
I played around with this though, and also took a stab at builing a new kernel module from the linuxwacom.sourceforge.net project, that was unable to complete the build. This is just a dump of what I did really.
Bottom line though is that my Bamboo works okay with the desktop kernel and default wacom module. If someone else get’s past the symver issue building the linuxwacom module, please let me know how you did so.
My environment:
Callandor:/ # uname -r
2.6.31.5-0.1-desktop
Callandor:~ # modprobe wacom
Callandor:~ # lsmod | grep wacom
wacom 25160 0
Callandor:~ # modinfo wacom
filename: /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/input/tablet/wacom.ko
license: GPL
description: USB Wacom Graphire and Wacom Intuos tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>
license: GPL
description: USB Wacom Graphire and Wacom Intuos tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>
Now, start udevadm monitor and plug in the Wacom:
Callandor:~ # udevadm monitor
KERNEL[1264779975.658774] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2 (usb)
KERNEL[1264779975.663309] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0 (usb)
KERNEL[1264779975.663375] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7 (input)
KERNEL[1264779975.663408] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7/mouse1 (input)
KERNEL[1264779975.663440] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7/event3 (input)
UDEV [1264779975.739282] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2 (usb)
UDEV [1264779975.741597] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0 (usb)
KERNEL[1264779975.895437] add /module/joydev (module)
UDEV [1264779975.895504] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7 (input)
UDEV [1264779975.914435] add /module/joydev (module)
UDEV [1264779975.975889] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7/mouse1 (input)
UDEV [1264779976.024189] add /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.2/5-1.2:1.0/input/input7/event3 (input)
This shows udev connected my tablet to, it seems, /dev/input/event3
It works, the pen moves the pointer, etc.
The following site gave some extra info on detecting and testing the tablet using wacdump:
The Linux Wacom Project
"On newer 2.6 systems, more /proc/bus/input/devices gives you
[jej@ayukawa wacom]$more /proc/bus/input/devices
I: Bus=0003 Vendor=056a Product=0042 Version=1.15
N: Name="Wacom Intuos2 6x8"
P: Phys=usb-0000:00:1d.1-2/input0
H: Handlers=event3
B: EV=1f
B: KEY=1cff 0 1f00ff 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=f00017b
B: MSC=1"
I downloaded the linuxwacom-0.8.4-4 source, and ran install for the prebuilt directory which then let you use wacdump, etc:
On my system then:
Callandor:~/linuxwacom-0.8.4-4/prebuilt # wacdump /dev/input/event3
or
Callandor:~/linuxwacom-0.8.4-4/prebuilt # wacdump /dev/input/tablet-bamboofun-4x5
MODEL=Wacom BambooFun 4x5 ROM=1.1-3
CLS=USB VNDR=Wacom DEV=Bamboo SUB=CTE_450
TOOLTYPE=NONE SERIAL=0x00000000
IN_PROX=out BUTTON=+00000 (+00000 … +00000)
POS_X=+00000 (+00000 … +14760) POS_Y=+00000 (+00000 … +09225)
DISTANCE=+00000 (+00000 … +00063) PRESSURE=+00000 (+00000 … +00511)
ABSWHEEL=+00000 (+00000 … +00071) RELWHEEL=+00000 (-00001 … +00001)
LEFT= MIDDLE= RIGHT= EXTRA=
SIDE= TOUCH= STYLUS= STYLUS2=
BT0= BT1= BT2= BT3=
BT4= BT5= BT6= BT7=
BT8= BT9= BT10= BT11=
BT12= BT13= BT14= BT15=
BT16= BT17= BT18= BT19=
BT20= BT21= BT22= BT23=
I don’ know why but wacdump does not update the display when you push the pen button or move it on the tablet, etc. Although the pointer moves on the screen and I can use it in Gimp, etc.
For fun I decided to try to build the kernel module for the linuxwacom project, however the symvers for my kernel, although installed, do not seem to allow the module to compile:
http://cdnetworks-us-2.dl.sourceforge.net/project/getwacom/getwacom.py
(This was witten for Ubuntu, so remove / change any reference to gksudo or it won’t work on Suse)
Callandor:~/wacom # python getwacom.py -d -c
make[2]: Entering directory /root/wacom/linuxwacom-0.8.5-9/src/2.6.27' Building linuxwacom drivers for 2.6 kernel. ***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built make -C /lib/modules/2.6.31.5-0.1-desktop/source M=/root/wacom/linuxwacom-0.8.5-9/src/2.6.27 make[3]: Entering directory
/usr/src/linux-2.6.31.5-0.1’
WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST 1 modules
So it appears symvers did not like it and it didn’t build the .ko – so close . . .
Callandor:~/wacom # modinfo ./linuxwacom-0.8.5-9/src/2.6.27/wacom.o
filename: ./linuxwacom-0.8.5-9/src/2.6.27/wacom.o
license: GPL
description: USB Wacom tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>
license: GPL
description: USB Wacom tablet driver
author: Vojtech Pavlik <vojtech@ucw.cz>