Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| wacom_bamboo_pen_and_touch_cth460 [Le 16/04/2011, 09:35] – [Affiner la configuration au niveau de l'utilisateur] manup31 | wacom_bamboo_pen_and_touch_cth460 [Le 10/02/2017, 13:23] (Version actuelle) – reconnue par défaut voir liste tablette graphique L'Africain | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | ||
| - | ---- | ||
| - | |||
| - | ====== Tablette Wacom Bamboo Pen& | ||
| - | |||
| - | Cette page décrit l' | ||
| - | |||
| - | ===== Vérification de l' | ||
| - | Commençons par ouvrir le Terminal Dans / | ||
| - | tapez dans un [[: | ||
| - | |||
| - | vous devriez avoir une ligne comme celle-ci: | ||
| - | |||
| - | < | ||
| - | ce qui nous intéressent c'est le **00d1** correspondant à la tablette dont l' | ||
| - | |||
| - | Si vous obtenez l' | ||
| - | |||
| - | Vérifions la présence des pilotes " | ||
| - | |||
| - | ===== Installation du module LinuxWacom 0.8.8-10 depuis les sources ===== | ||
| - | |||
| - | * [[: | ||
| - | * Installons la dernière version de linuxwacom' | ||
| - | |||
| - | < | ||
| - | wget http:// | ||
| - | tar xjvf linuxwacom-0.8.8-10.tar.bz2 | ||
| - | cd linuxwacom-0.8.8-10 | ||
| - | ./configure --enable-wacom --prefix=/ | ||
| - | make | ||
| - | sudo cp ./ | ||
| - | sudo depmod -a | ||
| - | </ | ||
| - | |||
| - | * **Redémarrer le PC**, puis saisir dans un [[terminal]] la commande suivante : | ||
| - | < | ||
| - | |||
| - | vous devez voir l' | ||
| - | |||
| - | ===== Installation d' | ||
| - | **Pour Lucid Lynx 10.04 LTS** | ||
| - | |||
| - | * [[: | ||
| - | |||
| - | * puis saisissez dans un [[: | ||
| - | |||
| - | < | ||
| - | git clone git:// | ||
| - | sudo apt-get build-dep xf86-input-wacom | ||
| - | wget http:// | ||
| - | sudo cp / | ||
| - | tar xjvf util-macros-1.8.0.tar.bz2 | ||
| - | cd util-macros-1.8.0 | ||
| - | ./configure --prefix=/ | ||
| - | make | ||
| - | sudo make install | ||
| - | cd .. | ||
| - | cd xf86-input-wacom | ||
| - | ./ | ||
| - | make | ||
| - | sudo make install | ||
| - | </ | ||
| - | |||
| - | * **Redémarrer le PC** | ||
| - | |||
| - | à ce stade la tablette ne fonctionne pas encore correctement. | ||
| - | |||
| - | ===== Configuration de la palette par / | ||
| - | |||
| - | * Sous **Ubuntu 10.04 LTS**, [[: | ||
| - | * Sous **Ubuntu 10.10**, [[: | ||
| - | |||
| - | Le wacom.comf devrait ressembler à ceci : | ||
| - | < | ||
| - | Section " | ||
| - | Identifier "Wacom class" | ||
| - | # WALTOP needs a patched kernel driver, that isn't in mainline lk yet, | ||
| - | # so for now just let it fall through and be picked up by evdev instead. | ||
| - | # | ||
| - | MatchProduct " | ||
| - | MatchDevicePath "/ | ||
| - | Driver " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier "Wacom serial class" | ||
| - | MatchProduct " | ||
| - | Driver " | ||
| - | Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier "Wacom serial class identifiers" | ||
| - | MatchProduct " | ||
| - | Driver " | ||
| - | EndSection | ||
| - | |||
| - | |||
| - | # N-Trig Duosense Electromagnetic Digitizer | ||
| - | Section " | ||
| - | Identifier "Wacom N-Trig class" | ||
| - | MatchProduct "HID 1b96: | ||
| - | MatchDevicePath "/ | ||
| - | Driver " | ||
| - | Option " | ||
| - | EndSection | ||
| - | </ | ||
| - | |||
| - | * Editer la première section "wacom class": | ||
| - | < | ||
| - | Identifier "Wacom class" | ||
| - | MatchProduct " | ||
| - | MatchDevicePath "/ | ||
| - | Driver " | ||
| - | #Option " | ||
| - | #Option " | ||
| - | Option " | ||
| - | |||
| - | EndSection | ||
| - | </ | ||
| - | |||
| - | * rajouter les 3 dernières lignes: | ||
| - | < | ||
| - | #Option " | ||
| - | #Option " | ||
| - | Option " | ||
| - | </ | ||
| - | |||
| - | * On peut aussi rajouter ce code tout en bas du fichier | ||
| - | < | ||
| - | Section " | ||
| - | Identifier "Wacom eraser class" | ||
| - | MatchProduct " | ||
| - | MatchProduct " | ||
| - | Option " | ||
| - | EndSection | ||
| - | </ | ||
| - | |||
| - | Ce code est là pour permettre de donner des réglages particuliers à la gomme si on le souhaite. En effet, une limitation actuelle de Xorg est de ne pas pouvoir définir des réglages différents pour des matériels dépendants. On crée donc un second appareil //eraser//, avec une autre ligne // | ||
| - | |||
| - | ===== Configuration de la palette par xorg.conf (remplace la précédente)===== | ||
| - | < | ||
| - | |||
| - | Tout d' | ||
| - | < | ||
| - | |||
| - | Si jamais le xorg.conf ne fonctionne plus au redémarrage il faudra le restaurer avec cette commande: | ||
| - | < | ||
| - | |||
| - | * [[: | ||
| - | |||
| - | à la fin du xorg.conf après **Endsection** | ||
| - | |||
| - | Coller le code suivant: | ||
| - | |||
| - | < | ||
| - | Section " | ||
| - | Identifier " | ||
| - | Driver " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | # remove comment below if investigating this device | ||
| - | # Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | Driver " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | # remove comment below if investigating this device | ||
| - | # Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | Driver " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | # remove comment below if investigating this device | ||
| - | # Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | Driver " | ||
| - | Option " | ||
| - | Option " | ||
| - | Option " | ||
| - | # remove comment below if investigating this device | ||
| - | # Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier " | ||
| - | Monitor " | ||
| - | Device " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | # | ||
| - | # | ||
| - | Identifier " | ||
| - | # Comment out unsupported devices | ||
| - | InputDevice " | ||
| - | InputDevice " | ||
| - | Inputdevice " | ||
| - | InputDevice " | ||
| - | EndSection | ||
| - | </ | ||
| - | |||
| - | Enregistrer le Xorg.conf et **Redémarrer le PC** | ||
| - | |||
| - | à présent le stylet et le toucher doit fonctionner. | ||
| - | |||
| - | ===== Maintenant éditons le xserver ===== | ||
| - | * [[: | ||
| - | |||
| - | à cet emplacement ci-dessous : | ||
| - | < | ||
| - | ATTRS{idVendor}==" | ||
| - | ATTRS{idVendor}==" | ||
| - | ATTRS{idVendor}==" | ||
| - | <----- **Coller le code ici**-----> | ||
| - | |||
| - | # Convenience links for the common case of a single tablet. | ||
| - | # | ||
| - | # but for legacy reasons, we keep the input/wacom link as the generic stylus device. | ||
| - | </ | ||
| - | |||
| - | ce code : | ||
| - | < | ||
| - | |||
| - | Enregistrer. | ||
| - | |||
| - | ===== Affiner la configuration au niveau de l' | ||
| - | Créons un fichier ou l'on pourra insérer des ajustements afin d' | ||
| - | |||
| - | [[: | ||
| - | le nom d' | ||
| - | |||
| - | ensuite coller dans le fichier : | ||
| - | < | ||
| - | ## stylus | ||
| - | xsetwacom set stylus Suppress " | ||
| - | xsetwacom set stylus RawSample " | ||
| - | xsetwacom set stylus ClickForce " | ||
| - | #xsetwacom set stylus Threshold " | ||
| - | xsetwacom set stylus PressCurve "5 10 90 95" | ||
| - | xsetwacom set stylus TPCButton " | ||
| - | xsetwacom set stylus Mode " | ||
| - | xsetwacom set stylus Button1 " | ||
| - | xsetwacom set stylus Button2 " | ||
| - | xsetwacom set stylus Button3 " | ||
| - | # pour le 4 lignes ci-dessous voir " | ||
| - | xsetwacom set stylus topx " | ||
| - | xsetwacom set stylus topy " | ||
| - | xsetwacom set stylus bottomx " | ||
| - | xsetwacom set stylus bottomy " | ||
| - | xsetwacom set stylus rotate HALF | ||
| - | |||
| - | ## eraser | ||
| - | xsetwacom set eraser Suppress " | ||
| - | xsetwacom set eraser RawSample " | ||
| - | xsetwacom set eraser ClickForce " | ||
| - | #xsetwacom set stylus Threshold " | ||
| - | xsetwacom set eraser PressCurve "0 10 90 100" | ||
| - | xsetwacom set eraser Mode " | ||
| - | xsetwacom set eraser Button1 " | ||
| - | xsetwacom set eraser rotate HALF | ||
| - | |||
| - | ## touch | ||
| - | xsetwacom set touch Touch " | ||
| - | xsetwacom set touch Gesture " | ||
| - | # pour le 4 lignes ci-dessous voir " | ||
| - | xsetwacom set touch topx " | ||
| - | xsetwacom set touch topy " | ||
| - | xsetwacom set touch bottomx " | ||
| - | xsetwacom set touch bottomy " | ||
| - | xsetwacom set touch rotate HALF | ||
| - | |||
| - | # 1FG dbl. tap is left click, 2FG dbl. tap is right click | ||
| - | xsetwacom set touch ZoomDistance " | ||
| - | xsetwacom set touch ScrollDistance " | ||
| - | xsetwacom set touch TapTime " | ||
| - | |||
| - | ## pad | ||
| - | xsetwacom set pad Button1 "key ctrl t" | ||
| - | xsetwacom set pad Button2 "key backspace" | ||
| - | xsetwacom set pad Button3 " | ||
| - | xsetwacom set pad Button4 "key alt left" | ||
| - | </ | ||
| - | |||
| - | enregistrer le document. | ||
| - | |||
| - | Changer les droits en saisissant dans un [[terminal]] la commande suivante : | ||
| - | |||
| - | < | ||
| - | |||
| - | maintenant il faut que .xsetwacom.sh démarre automatiquement, | ||
| - | allez dans : | ||
| - | Système>>>> | ||
| - | nom mettez: wacom | ||
| - | la commande mettez : | ||
| - | < | ||
| - | et confirmez. | ||
| - | |||
| - | Création .toggle-touch " | ||
| - | [[: | ||
| - | < | ||
| - | #!/bin/bash | ||
| - | |||
| - | ## Use with xorg.conf or in Jaunty & | ||
| - | ## Karmic with the modified .fdi' | ||
| - | ## | ||
| - | ## For touch state notification use: | ||
| - | ## sudo apt-get install libnotify-bin | ||
| - | ## Otherwise comment (#) out the two | ||
| - | ## notify-send lines. | ||
| - | ## see 'man notify-send' | ||
| - | |||
| - | TOUCH_STATE=`xsetwacom get touch Touch` | ||
| - | if [ " | ||
| - | then | ||
| - | echo "Touch is ON, turning OFF." | ||
| - | notify-send -t 1500 " | ||
| - | xsetwacom set touch Touch off | ||
| - | else | ||
| - | echo "Touch is OFF, turning ON." | ||
| - | notify-send -t 1500 " | ||
| - | xsetwacom set touch Touch on | ||
| - | fi | ||
| - | </ | ||
| - | Enregistrez. | ||
| - | |||
| - | Changeons le chmod afin de le rendre exécutable : | ||
| - | |||
| - | < | ||
| - | |||
| - | === Lancer le script toggle-touch.sh grâce à Compiz === | ||
| - | Si votre installation vous permet d' | ||
| - | |||
| - | Ouvrir Compiz config dans >>> | ||
| - | |||
| - | cliquez dans l' | ||
| - | |||
| - | dans command line 0 ou dans la ligne de commande que vous désirez: | ||
| - | < | ||
| - | |||
| - | Allez toujours dans compiz >>> | ||
| - | cliquez sur désacivez en face de run command 0 cochez Activé | ||
| - | |||
| - | choisissez une commande qui n' | ||
| - | |||
| - | Fermez compiz. | ||
| - | |||
| - | Après un redémarrage ultérieur on se rendras compte qu'en tapant Ctrl+t on peut changer le mode touch/ | ||
| - | |||
| - | [[: | ||
| - | |||
| - | ===== Pour modifier la tablette gaucher ou droitier ===== | ||
| - | |||
| - | [[: | ||
| - | |||
| - | Les orientations disponibles sont : | ||
| - | * normal(paysage)=none ; | ||
| - | * gauche=ccw ; | ||
| - | * droite=cw ; | ||
| - | * inversé=half. | ||
| - | |||
| - | Les lignes de commandes a rajouter (une par fonction) sont : | ||
| - | < | ||
| - | xsetwacom set stylus rotate HALF | ||
| - | xsetwacom set eraser rotate HALF | ||
| - | xsetwacom set touch rotate HALF | ||
| - | </ | ||
| - | |||
| - | Si il y a toujours des soucis au toucher ou avec les gestes, ajoutez cette ligne entre la première série USB et l' | ||
| - | < | ||
| - | Section " | ||
| - | Identifier "Wacom ignore mouse dev" | ||
| - | MatchProduct " | ||
| - | MatchDevicePath "/ | ||
| - | Option " | ||
| - | EndSection | ||
| - | </ | ||
| - | Mais nous ne l' | ||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | // | ||
| - | |||
| - | //Basé sur les instructions de Favux [[http:// | ||
