Friday, April 17, 2009

Driver Update: wizardpen-0.7.0-alpha2

Hi all, I've just made a quick bug fix in relation to the compilation issues with Ubuntu 9.04 and (reportedly, from what I read from the linuxgenius project page) Fedora 11. The code fix should allow the compilation of the driver for both Ubuntu 8.10 and Ubuntu 9.04, however I do need someone to help me test to compile the driver for Ubuntu 8.10.

The latest driver is available here:

Till then, have fun!


Giorgio Enrico said...

I tried to compile in Ubuntu 9:04 but make me wrong

Felix Leong said...

Hi Giorgio,

Could you specify what's the error that you encountered?

Giorgio Enrico said...

It works ... but I do not understand. After giving the command. ./Configure - with-xorg-module-dir = / usr / lib / xorg / modules, when I do make some mistakes (there's nothing to do for ...) After sudo make install, I find the drivers to work? Why?

Felix Leong said...


I don't think I quite understand, could I know what's the output from the `./configure` step and your `make` step? (P/S: Please don't post them in the comments: Upload the file somewhere, or just send the important error message)

As far as the driver is concerned, there's no difference between the versions alpha1 and alpha2: only that the source code is modified to compile in both 8.10 and 9.04.

Giorgio Enrico said...

I created two packages .deb: wizardpen and calibrated. Can you tell me if it works. Thanks

Felix Leong said...

Hi Giorgio,

Thanks for the DEB packages :D. I have posted them up in my latest blog entry, by the way :)

Though I personally find two issues with the calibrate package though...
1. The "calibrate" package doesn't contain the executable
2. The naming of the package and executable: could you make it to be something like "wizardpen-calibrator" or "calibrate-wizardpen" or something like that?

eduperez said...

Works on FC9 x86_64 out of the box; thanks.

El Santa said...

Hi. I could make it work on Ubuntu 9.04, compiling it. My tablet is a Genius G-Pen 610, everything works except the pen's 2 side buttons.
Tried making some adjustments on the xorg.conf file without any success. If you need more info I can provide it.

Keep the good work.
Greetings from Chile,
José Ignacio

David said...

Hi Felix!

Compiled OK in 9.04 - amd64. It works! :D.

I tried to calibrate it using /usr/share/hal/fdi/policy/20thirdparty/99-x11-wizardpen.fdi.But the calibration is not working (stuck in a small area in the tablet). Any ideas? Thanks in advance!

David said...

Edit: it's working ok. Using fdi configuration. I wonder, maybe it just needed restarting.

Thnks a lot!

P_S said...

when i try to make i get the following error:

../libtool: line 463: CDPATH: command not found
../libtool: line 1141: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[2]: *** [wizardpen.lo] Error 63

Felix Leong said...


Could you try to do a `sudo make clean`? Once you have done that, do the compilation again and see whether that'd work.

Felix Leong said...


Could I know the version of Ubuntu you are currently running?

P_S said...

i am running gentoo on amd64

P_S said...

the driver was working perfectly i just have to recompile it becuae i updated my xorg

@#$%$% said...

Trying to build in Fedora 12:

make all-recursive
make[1]: Entering directory `/home/honcho/Documents/Genius.Pen.Tablet/wizardpen-0.7.0-alpha2'
Making all in src
make[2]: Entering directory `/home/honcho/Documents/Genius.Pen.Tablet/wizardpen-0.7.0-alpha2/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
wizardpen.c: In function 'DeviceInit':
wizardpen.c:636: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
/usr/include/xorg/input.h:274: note: expected 'Atom *' but argument is of type 'unsigned char *'
wizardpen.c:636: error: too few arguments to function 'InitButtonClassDeviceStruct'
wizardpen.c:662: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
/usr/include/xorg/input.h:280: note: expected 'Atom *' but argument is of type 'unsigned int'
wizardpen.c:662: error: too few arguments to function 'InitValuatorClassDeviceStruct'
wizardpen.c:677: error: too few arguments to function 'InitValuatorAxisStruct'
wizardpen.c:685: error: too few arguments to function 'InitValuatorAxisStruct'
wizardpen.c:693: error: too few arguments to function 'InitValuatorAxisStruct'
make[2]: *** [wizardpen.lo] Error 1
make[2]: Leaving directory `/home/honcho/Documents/Genius.Pen.Tablet/wizardpen-0.7.0-alpha2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/honcho/Documents/Genius.Pen.Tablet/wizardpen-0.7.0-alpha2'
make: *** [all] Error 2