Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
wacom_bamboo_fun [Le 11/04/2008, 18:10] nem_ |
— (Version actuelle) | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>gutsy materiel wacom}} | ||
- | |||
- | 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-9 le 31/03/2008) sur [[http://linuxwacom.sourceforge.net/index.php/dl]] | ||
- | * 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 | ||
- | ]] (Menu Fichier>Enregistrer sous.. pour récupérer le fichier udev) | ||
- | * 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</code> | ||
- | |||
- | * Archiver le fichier udev original pour les wacom | ||
- | <code>cp /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules /home/utilisateur/50-xserver-xorg-input-wacom.rules_orig</code> | ||
- | |||
- | * Remplacer le fichier udev par la nouvelle version prenant en compte la Bamboo fun | ||
- | <code>cp /home/utilisateur/xserver-xorg-input-wacom.udev /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules </code> | ||
- | |||
- | * compiler le nouveau pilote | ||
- | <note warning>Le lien vers le fichier linuxwacom-0.7.9-3.tar.bz2 ne doit contenir aucun espace !</note> | ||
- | <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> | ||
- | |||
- | Configure devrait donner quelque chose comme ça : | ||
- | |||
- | <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 | ||
- | </code> | ||
- | |||
- | * il faut maintenant mettre à jour le fichier xorg.conf | ||
- | |||
- | <note warning>Ne pas oublier de faire une sauvegarde de /etc/X11/xorg.conf avant de le modifier</note> | ||
- | |||
- | |||
- | <code> | ||
- | 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" | ||
- | |||
- | </code> | ||
- | |||
- | * archiver l'ancien pilote | ||
- | <code>cp /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/wacom.ko /home/administrateur/Bureau/wacom.ko_old</code> | ||
- | |||
- | * copier le nouveau pilote | ||
- | <code>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/</code> | ||
- | |||
- | * Mettre à jour la base | ||
- | <code>depmod -e</code> | ||
- | |||
- | |||
- | * Une fois la machine redémarrée la tablette devrait fonctionner | ||
- | |||
- | <note important>les boutons ne sont pas fonctionnels à ce niveau | ||
- | |||
- | j'ai essayé de rajouter ceci à /etc/X11/xorg.conf mais sans succès | ||
- | </note> | ||
- | |||
- | <code>Section "InputDevice" | ||
- | Driver "wacom" | ||
- | Identifier "cursor" | ||
- | Option "Device" "/dev/input/wacom" | ||
- | Option "Type" "pad" | ||
- | Option "USB" "on" | ||
- | EndSection | ||
- | |||
- | ... | ||
- | |||
- | InputDevice "pad" "SendCoreEvents" | ||
- | </code> | ||
- | |||
- | Si cela marchait ces commandes permettraient de programmer les boutons : | ||
- | |||
- | <code> | ||
- | 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 | ||
- | </code> | ||
- | |||
- | |||
- | |||
- | |||
- | |||