Tablette graphique et mandriva 2010.1 version 64bits

Dans un article précédent j’avais parlé de ma tablette graphique thinline XL. Je viens de la réinstaller sous Mandriva 2010.1 version 64bits. L’installation est un poil différente. Il faut toujours récupérer wizardpen à cette adresse. On installe préalablement le package x11-server-devel. Quand on compile ensuite wizardpen on tombe malheureusement sur l’erreur suivante :

/usr/include/xorg/input.h:274: note: expected ‘Atom *’ but argument is of type ‘unsigned char *’
wizardpen.c:636: erreur: too few arguments to function ‘InitButtonClassDeviceStruct’
wizardpen.c:662: attention : 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: erreur: too few arguments to function ‘InitValuatorClassDeviceStruct’
wizardpen.c:677: erreur: too few arguments to function ‘InitValuatorAxisStruct’
wizardpen.c:685: erreur: too few arguments to function ‘InitValuatorAxisStruct’
wizardpen.c:693: erreur: too few arguments to function ‘InitValuatorAxisStruct’
make[2]: *** [wizardpen.lo] Erreur 1

pour la résoudre, il faut récupérer le patch par ici. On le place dans le répertoire de wizardpen dans lequel on tape

patch -p1 -i xorg-x11-1.7.x-api-changes.patch

on retape make puis en tant que root make install. Il suffit ensuite d’éditer le fichier /etc/ld.so.conf et on y rajoute la ligne

/usr/lib64/xorg/modules/input

maintenant pour une distribution 64bits, on copiera les fichiers wizardpen_drv.la et  wizardpen_drv.so présents sous /usr/lib/xorg/modules/input/ dans le répertoire /usr/lib64/xorg/modules/input. On tape ensuite ldconfig on crée ensuite le fichier /etc/hal/fdi/policy/99-x11-wizardpen.fdi comme indiqué dans le précédent article. On reboote et c’est terminé.

Laisser un commentaire