Cette page est en cours de rédaction.
Apportez votre aide…
Ceci est une ancienne révision du document !
TABLETTES GRAPHIQUES : WACOM INTUOS/CINTIQ
Tableau recpitulant les tablettes graphiques testé avec Ubuntu :
tablette graphique | ||||
---|---|---|---|---|
model | Vendor | ProdId | expresskey | touch strip |
intuos3 A6 | 056a | |||
intuos3 A5 | 056a | 00b1 | ok | ok |
intuos3 A4 | 056a | |||
intuos3 A3 | 056a | |||
Cintiq | 056a |
Legendes:
Vide = Non Testé
Ok = tout fonctionne
No = Non Operationnel
Notes:
Introduction
Ce tutoriel va vous permettre de faire fonctionner la préssion, les boutons et le touch strip de la tablette.
Je parlerai ici du cas d'une Intuos3 A5.
Les étapes par lequelles l'installation s'effectue sont :
* Verifier la prise en charge de la tablette
* Verifier les prérequis
* Configurer la tablette
* Recupérer les express keys
* Compiler installer les express keys
* Configurer les express keys
Vérifier la version de la tablette
Sur USB, vous allez lister les péripheriques usb avec lsusb
tapez dans une console lsusb vous aurez :
Bus 001 Device 001: ID 0000:0000 Bus 002 Device 004: ID 056a:00b1 Wacom Co., Ltd Bus 002 Device 001: ID 0000:0000
comparez-les à la liste.
ici c'est :
''056a Wacom Co., Ltd '' ''00b1 Intuos3 A5 PTZ-630''
Liste des tablettes prisent en charges
Voici la liste provenant de http://linuxwacom.sourceforge.net/
Nom | Serie | Usb | id Vendeur | id Produit | expresskeys | touchstrip |
---|---|---|---|---|---|---|
UD | 056a | |||||
UD II | 056a | |||||
PenPartner | 056a | |||||
Graphire 1 | 056a | |||||
Graphire 2 | 056a | |||||
Intuos 1 | 056a | |||||
Intuos 2 | 056a | |||||
Cintiq | 056a | |||||
TabletPC | 056a | |||||
Graphire 1 | 056a | |||||
Graphire 2 | 056a | |||||
Graphire 3 | 056a | |||||
Graphire 4 | 056a | ok | ok | |||
Cintiq | 056a | |||||
CintiqPartner | 056a | |||||
Intuos 1 | 056a | |||||
Intuos 2 | 056a | |||||
Intuos 3 | 056a | 00b1 | ok | ok | ||
Volito 1 | 056a | |||||
Volito 2 | 056a | |||||
PenPartner 1 | 056a | |||||
PenPartner 2 | 056a | |||||
DTF 521 | 056a |
Tablette graphique
Prérequis
- Fonction “sudo” activée (sinon voir ajout sudo utilisateur ou sudo).
- Connexion Internet configurée et activée (sinon voir la section : accueil Modem RTC et ADSL).
- Paquets necessaires au serveur X et outils wacom tapez:
sudo apt-get install xserver-xorg-input-wacom wacom-tools
Configurer la tablette
Il y a toute les explications en anglais des options ici
Faites une sauvegarde de votre ancien fichier de configuration :
cp /etc/X11/xorg.conf ~
Editez le fichier de configuration de xorg en executant :
sudo gedit /etc/X11/xorg.conf
dans Module vous devez avoir :
Section "Module" .... Load "wacom" ... EndSection
dans InputDevices vous devez avoir :
Section "InputDevice" Driver "wacom" Identifier "stylus" #Option "Device" "/dev/ttyS0" # Tablette SERIE Option "Device" "/dev/input/wacom" # Tablette USB Option "Type" "stylus" # Stylet pointe ecriture Option "USB" "on" # Tablette USB Option "Mode" "absolute" # Position sur la tablette #Option "ForceDevice" "ISDV4" # Tablet PC ONLY #Option "HistorySize" "64" # Taille buffer Option "Tilt" "on" # Inclinaison #Option "TiltInvert" "on" # Invertion de l'inclinaison Option "Threshold" "5" # sensibilité à la pression EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" #Option "Device" "/dev/ttyS0" # Tablette SERIE Option "Device" "/dev/input/wacom" # Tablette USB Option "Type" "eraser" # stylet pointe gomme Option "USB" "on" # Tablette USB Option "Mode" "absolute" # Position sur la tablette #Option "ForceDevice" "ISDV4" # Tablet PC ONLY #Option "HistorySize" "64" # Taille buffer Option "Tilt" "on" # Inclinaison #Option "TiltInvert" "on" # Invertion de l'inclinaison Option "Threshold" "5" # sensibilité à la pression EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" #Option "Device" "/dev/ttyS0" # Tablette SERIE Option "Device" "/dev/input/wacom" # Tablette USB Option "Type" "cursor" Option "USB" "on" # Tablette USB Option "Mode" "absolute" # Position sur la tablette #Option "ForceDevice" "ISDV4" # Tablet PC ONLY #Option "HistorySize" "64" # Taille buffer EndSection # Cette section est pour Intuos3, Cintiq 21UX, ou Graphire4 seulement Section "InputDevice" Driver "wacom" Identifier "pad" #Option "Device" "/dev/ttyS0" # Tablette SERIE Option "Device" "/dev/input/wacom" # Tablette USB Option "Type" "pad" Option "USB" "on" # Tablette USB #Option "HistorySize" "64" # Taille buffer EndSection
Et dans la section ServerLayout :
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" # pour les tablettes non lcd seulement InputDevice "pad" # pour tablettes Intuos3/Cintiq 21UX/Graphire4 et ne doit pas envoyer d'evenement noyau EndSection
Enregistrez, voila X est configuré.
Vous pouvez redemarrer votre serveur X.
Fermez tous vos travaux et tapez :
sudo /etc/init.d/gdm restart
Verifier Xorg et la tablette
Faite un :
grep -i wacom /var/log/Xorg.0.log
Vous devriez voir :
(II) LoadModule: "wacom" (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so (II) Module wacom: vendor="X.Org Foundation" (II) Wacom driver level: 47-0.7.2 $ (II) LoadModule: "wacom" (II) Reloading /usr/lib/xorg/modules/input/wacom_drv.so (II) Wacom driver level: 47-0.7.2 $ (**) stylus device is /dev/input/wacom (**) WACOM: suppress value is 2 (**) eraser device is /dev/input/wacom (**) WACOM: suppress value is 2 (**) cursor device is /dev/input/wacom (**) WACOM: suppress value is 2 (**) pad device is /dev/input/wacom (**) WACOM: suppress value is 2 (II) XINPUT: Adding extended input device "pad" (type: Wacom Pad) (II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor) (II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser) (II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus) (**) Option "Device" "/dev/input/wacom" stylus Wacom X driver grabbed event device (==) Wacom USB Intuos3 tablet speed=9600 maxX=40640 maxY=30480 maxZ=1023 resX=5080 resY=5080 suppress=2 tilt=disabled (==) Wacom device "stylus" top X=0 top Y=0 bottom X=40640 bottom Y=30480 (==) Wacom device "eraser" top X=0 top Y=0 bottom X=40640 bottom Y=30480 (==) Wacom device "cursor" top X=0 top Y=0 bottom X=40640 bottom Y=30480 (==) Wacom device "pad" top X=0 top Y=0 bottom X=40640 bottom Y=30480
Puis :
xsetpointer -l
"pad" [XExtensionDevice] "cursor" [XExtensionDevice] "eraser" [XExtensionDevice] "stylus" [XExtensionDevice] "Configured Mouse" [XPointer] "Generic Keyboard" [XKeyboard]
Si vous n'avez pas les express keys et le touch strip cela s'arrete ici.
EXPRESSKEYS
Prérequis des expresskeys
Tapez pour avoir les paquets :
sudo apt-get install build-essential libX11-dev libXext-dev libXi-dev libXtst-dev
Récuperer les expresskeys
- Récupérez les expresskeys ici et enregistrez les dans votre repertoire personnel.
- Dans une console depuis votre repertoire personnel les extraire grâce à la commande "tar -xf expresskeys-<Version_Telecharger>.tar.gz"
benje@cereli-05:~$ tar -xf expresskeys-0.3.0.tar.gz
voila vous avez les sources.
Compiler les expresskeys
Pour compiler vous devez vous placer dans le dossier expresskeys-<numero_de_version> créé par l'extraction ou où vous l'avez copié.
on utilise la commande cd
~$ cd expresskeys-0.3.0 ~/expresskeys-0.3.0$
Maintenant la commande de configuration ./configure.
Vous allez utiliser l option –prefix pour configurer le programme pour cette utilisateur.
Vous devez remplacer <user> par le nom de votre utilisateur.
~/expresskeys-0.3.0$ ./configure --prefix=/home/<user>
Si tout c'est bien passé faites un make pour compiler le programme.
~/expresskeys-0.3.0$ make
Installer les expresskeys
Une fois la compilation effectuée il reste à l'installer par un make install :
benje@cereli-05:~/expresskeys-0.3.0$make install
Si tous c'est bien passé le programme est prêt.
Configurer les expresskeys
Le fichier de configuration se trouve dans ~/.expresskeys/intuos3.conf ou padless.conf.
Voici une config avec sur le pad gauche :
* Dans les fenetres de texte
-le defilement avec le touch strip
* Dans gimp
- le changement de mode des outils
- le undo
- le zoom
- l estompe
ConfigVersion 3 Identifier1Pad pad Identifier1Sty stylus # ***************** Please do not remove the above header! **************** # Blank lines and everything following a comment "#" sign are ignored. # This file will be re-created whenever missing, but the name and layout depend # on which devices that are detected at the very moment of program execution. # Some ASCII art showing the "default" program record: # # Left ExpressKey Pad # ------------ # | | | | Wacom Intuos3 defaults are: # | | 9 | T | # |11|---| O | Button 9 = (left) Shift = keycode 50 # | |10 | U | Button 10 = (left) Alt = keycode 64 # |------| C | Button 11 = (left) Control = keycode 37 # | 12 | H | Button 12 = Space = keycode 65 # ------------ # # Right ExpressKey Pad # ------------ # | | | | Wacom Intuos3 defaults are: # | T |13 | | # | O |---|15| Button 13 = (left) Shift = keycode 50 # | U |14 | | Button 14 = (left) Alt = keycode 64 # | C |------| Button 15 = (left) Control = keycode 37 # | H | 16 | Button 16 = Space = keycode 65 # ------------ # # Use the value 999 as a keycode to enable pen mode toggling. To be able # to switch mode anywhere each program block must then contain one 999 # definition. # Use the values 991 to 997 for simulating mouse buttons 1 to 7. Only existing # mouse buttons, defined through the driver of the active core pointer, can be # simulated. # OBSERVE: The "default" program record must exist _somewhere_ in the file! # Each program record is separated by one set of double percentage signs: %% # Each program field begins after a case sensitive keyword, eg: ProgramName # Whitespace (tabs and spaces) are ignored in the keycode fields, but spaces # are recorded when in a ProgramName or Stylus1PressCurve field (between the # double quotes). %% # <--- ********** BEGIN NEW PROGRAM RECORD ********** ProgramName "default" # Name must be within double quotes "" Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes "" HandleTouchStrips 1 # Main switch. Use 1 to enable the Touch Strips LeftPadTouchUp 98 # First keycode LeftPadTouchUpPlus 98 # Extra keycode LeftPadTouchDown 104 # First keycode LeftPadTouchDownPlus 104 # Extra keycode RightPadTouchUp 102 # First keycode RightPadTouchUpPlus 102 # Extra keycode RightPadTouchDown 100 # First keycode RightPadTouchDownPlus 100 # Extra keycode LeftPadButton9 50 # First keycode LeftPadButton9Plus 0 # Extra keycode LeftPadButton10 64 # First keycode LeftPadButton10Plus 0 # Extra keycode LeftPadButton11 50 # First keycode LeftPadButton11Plus 0 # Extra keycode LeftPadButton12 37 # First keycode LeftPadButton12Plus 0 # Extra keycode RightPadButton13 50 # First keycode RightPadButton13Plus 0 # Extra keycode RightPadButton14 64 # First keycode RightPadButton14Plus 0 # Extra keycode RightPadButton15 37 # First keycode RightPadButton15Plus 0 # Extra keycode RightPadButton16 65 # First keycode RightPadButton16Plus 0 # Extra keycode %% # <--- ********** BEGIN NEW PROGRAM RECORD ********** ProgramName "Gimp" # Name must be within double quotes "" Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes "" HandleTouchStrips 1 # Main switch. Use 1 to enable the Touch Strips LeftPadTouchUp 20 # First keycode fleche haut LeftPadTouchUpPlus 20 # Extra keycode LeftPadTouchDown 61 # First keycode fleche bas LeftPadTouchDownPlus 61 # Extra keycode RightPadTouchUp 20 # First keycode fleche haut RightPadTouchUpPlus 20 # Extra keycode RightPadTouchDown 61 # First keycode fleche bas RightPadTouchDownPlus 61 # Extra keycode LeftPadButton9 39 # First keycode LeftPadButton9Plus 0 # Extra keycode LeftPadButton10 25 # First keycode LeftPadButton10Plus 0 # Extra keycode LeftPadButton11 50 # First keycode LeftPadButton11Plus 0 # Extra keycode LeftPadButton12 37 # First keycode LeftPadButton12Plus 0 # Extra keycode RightPadButton13 37 # First keycode RightPadButton13Plus 29 # Extra keycode RightPadButton14 37 # First keycode RightPadButton14Plus 52 # Extra keycode RightPadButton15 999 # First keycode RightPadButton15Plus 0 # Extra keycode RightPadButton16 65 # First keycode RightPadButton16Plus 0 # Extra keycode %% # <--- ********** BEGIN NEW PROGRAM RECORD ********** ProgramName "Blender" # Name must be within double quotes "" Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes "" HandleTouchStrips 1 # Main switch. Use 1 to enable the Touch Strips LeftPadTouchUp 102 # First keycode LeftPadTouchUpPlus 0 # Extra keycode LeftPadTouchDown 100 # First keycode LeftPadTouchDownPlus 0 # Extra keycode RightPadTouchUp 98 # First keycode RightPadTouchUpPlus 0 # Extra keycode RightPadTouchDown 104 # First keycode RightPadTouchDownPlus 0 # Extra keycode LeftPadButton9 37 # First keycode s (estompe) LeftPadButton9Plus 0 # Extra keycode LeftPadButton10 9 # First keycode z (zoom) LeftPadButton10Plus 0 # Extra keycode LeftPadButton11 50 # First keycode shift LeftPadButton11Plus 0 # Extra keycode LeftPadButton12 23 # First keycode ctrl LeftPadButton12Plus 0 # Extra keycode RightPadButton13 37 # First keycode RightPadButton13Plus 29 # Extra keycode RightPadButton14 37 # First keycode RightPadButton14Plus 52 # Extra keycode RightPadButton15 999 # First keycode RightPadButton15Plus 0 # Extra keycode RightPadButton16 65 # First keycode RightPadButton16Plus 0 # Extra keycode %% # <--- ********** BEGIN NEW PROGRAM RECORD ********** ProgramName "XTerm" # Name must be within double quotes "" Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes "" HandleTouchStrips 0 # Main switch. Use 1 to enable the Touch Strips LeftPadTouchUp 0 # First keycode LeftPadTouchUpPlus 0 # Extra keycode LeftPadTouchDown 0 # First keycode LeftPadTouchDownPlus 0 # Extra keycode RightPadTouchUp 0 # First keycode RightPadTouchUpPlus 0 # Extra keycode RightPadTouchDown 0 # First keycode RightPadTouchDownPlus 0 # Extra keycode LeftPadButton9 0 # First keycode LeftPadButton9Plus 0 # Extra keycode LeftPadButton10 0 # First keycode LeftPadButton10Plus 0 # Extra keycode LeftPadButton11 0 # First keycode LeftPadButton11Plus 0 # Extra keycode LeftPadButton12 0 # First keycode LeftPadButton12Plus 0 # Extra keycode RightPadButton13 0 # First keycode RightPadButton13Plus 0 # Extra keycode RightPadButton14 0 # First keycode RightPadButton14Plus 0 # Extra keycode RightPadButton15 999 # First keycode RightPadButton15Plus 0 # Extra keycode RightPadButton16 0 # First keycode RightPadButton16Plus 0 # Extra keycode
Charger les expresskeys
Pour que les Expreskeys se chargent il faut taper :
cd ~ && ./bin/expresskeys
ou pour un demon
cd ~ && ./bin/expresskeys -d
Recharger une confguration
Tapez :
cd ~ && ./bin/expreskeys -r
Charger automatiquement des expresskeys
Pour que les Expreskeys se chargent tous seuls vous pouvez : - Rajouter dans le menu Système > Préferences > Sessions, à l'onglet Programme au demarrage la ligne concernant le chargement des expresskey.
Liens utiles
linux wacom project http://linuxwacom.sourceforge.net