Ceci est une ancienne révision du document !
rédaction en cours
Procédure d'installation d'une tablette wacom bamboo Fun sur une Gutsy
Cette procédure est le résumé de courriers électroniques postés sur linuxwacom-discuss@lists.sourceforge.net Un grand merci à Magnus Vigerlöf et Marcel de jong pour leur aide.
L'installation est faite sur une Gutsy entièrement mise à jour (en date du 03/12/2007)
- récupérer le dernier pilote (0.7.9-3 le 3/12/2007) sur http://linuxwacom.sourceforge.net/
- récupérer le dernier fichier udev pour wacom qui prend en compte la Bamboo fun sur http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob_plain;f=debian/xserver-xorg-input-wacom.udev;hb=master
- installer quelques paquets :
<code>apt-get install build-essential x11proto-core-dev libxau-dev libxdmcp-dev x11proto-input-dev x11proto-kb-dev xtrans-dev libx11-dev x11proto-xext-dev libxext-dev libxi-dev linux-libc-dev libc6-dev libncurses5-dev xserver-xorg-dev libice-dev libsm-dev libxt-dev tcl8.4-dev tk8.4-dev<c/ode>
- Archiver le fichier udev original pour les wacom
cp /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules /home/utilisateur/50-xserver-xorg-input-wacom.rules_orig
- Remplacer le par la nouvelle version prenant en compte le Bamboo fun
cp /home/utilisateur/xserver-xorg-input-wacom.udev /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
- compiler le nouveau pilote
<code> bunzip2 linuxwacom-0.7.9-3.tar.bz2 tar xvf linuxwacom-0.7.9-3.tar cd linuxwacom-0.7.9-3 ./configure –enable-wacom make make install <code>
BUILD ENVIRONMENT: architecture - i486-linux-gnu linux kernel - yes 2.6.22 module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include /lib/modules/2.6.22-14-generic/build/include/linux/modversions.h kernel source - yes /lib/modules/2.6.22-14-generic/build Xorg SDK - yes /usr/include/xorg XSERVER64 - no dlloader - yes XLib - yes /usr/lib TCL - yes /usr/include/tcl8.4/ TK - yes /usr/include/tcl8.4/ ncurses - yes
BUILD OPTIONS: wacom.o - yes wacdump - yes xidump - yes libwacomcfg - yes libwacomxi - yes xsetwacom - yes hid.o - no usbmouse.o - no evdev.o - no mousedev.o - no input.o - no tabletdev.o - no wacom_drv.so - yes /usr/lib/xorg/modules/input wacom_drv.o - no
—————————————-
vi /etc:X11/xorg.conf
Section "InputDevice"
Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" #Option "ForceDevice" "ISDV4"# Tablet PC ONLY Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" #Option "ForceDevice" "ISDV4"# Tablet PC ONLY Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" #Option "ForceDevice" "ISDV4"# Tablet PC ONLY Option "USB" "on"
EndSection
…
# Uncomment if you have a wacom tablet InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"
cp /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/wacom.ko /home/administrateur/Bureau/wacom.ko_old cp /home/administrateur/Bureau/linuxwacom-0.7.9-3/src/2.6.22/wacom.ko /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/ depmod -e
reboot
does not work
If you also want to enable the ring and buttons add this too Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "pad" Option "USB" "on" EndSection
and add a InputDevice "pad" "SendCoreEvents" to that lower section.
if it worked :
After all that, and a reboot, you should be able to use your wacom tablet. And you can set the actions for the buttons with instructions like these: xsetwacom set pad AbsWUp 4 #scroll up xsetwacom set pad AbsWDn 5 #scroll down xsetwacom set pad button3 4 #< key: scroll up xsetwacom set pad button1 5 #> key: scroll dn xsetwacom set pad button2 1 #FN1 key: left mouse button xsetwacom set pad button4 3 #FN2 key: right mouse button
Please before you do any altering to your xorg,conf file, first make a backup!