Monday, August 30, 2010

How to calibrate your TabletPC

Since a while e.g. the X11 driver for Wacom tablets should work out of the box, no calibration needed. I didn't test other tablet/touchscreen drivers in the last time, but I assume also some other should work out of the box. But sometimes you still need to calibrate your device.

But how do you calibrate e.g. your wacom tablet on a openSUSE 11.3 or Factory, since there is no wacomcpl anymore in the package, which was used in the past? And how about a evdev based device? Simply use xinput_calibrator. You can get the package for openSUSE from my openSUSE buildservice repo

After installation follow these steps on shell:
# check if xinput_calibrator found any device
user@tablet:~> xinput_calibrator --list
Device "Wacom ISDv4 90 Pen" id=10

# start calib.: for multiple devices use --device option
user@tablet:~> xinput_calibrator
You get this screen, follow the instructions:
You get some output with some instructions as soon as you finished the procedure. The preferred way to setup the tablet/touchscreen with the calibration data is coping a snippet from the output into '/etc/X11/xorg.conf.d/99-calibration.conf' (as root). Here an example for such a snippet:
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "Wacom ISDv4 90 Pen"
        Option  "MinX"  "0"
        Option  "MaxX"  "28606"
        Option  "MinY"  "0"
        Option  "MaxY"  "17876"
You may need to restart your X-server after setting up the file. If it doesn't work checkout the instructions in the output for other ways to setup the changes.
Tech Tags:


Ron Luna said...

Excellent Tutorial and the precompiled package for opensuse 11.3 worked lke a charm!

Thanks a lot!!!!

timbelina said...

Hey Danny,

Thanks for helping with this niggly opensuse problem. I always wonder why the opensuse distro does not update the wacom packages more frequently but I guess that's another question. :-)

Re your xinput_calibrate tool: Is there another way to get the wacom modules to reload/re-read the config other than restarting the X server? I find that once the wacom software has bugged out (usually due to a suspend-to-RAM) there is no way to get it back to the correct calibration except to restart X. And that can of course be a real pain if I'm in the middle of taking notes in a meeting :-)

Thanks again for your efforts!

Anonymous said...

Is there any chance of getting an xinput_calibrator rpm for OpenSuse 11.4?

Danny said...


There are now packages for openSUSE 11.4 available in my repo. Check this post: