Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
ma_page [Le 16/11/2010, 10:49]
oxygen
ma_page [Le 15/07/2011, 11:40] (Version actuelle)
0ol ancienne révision restaurée
Ligne 1: Ligne 1:
-====== ​Installation Bamboo Pen&​Touch sur Lucid ou Maverick ​====== +======Ma page ======
- +
-Voilà après toute forme d'aide surtout de la part de Favux j'ai décidé de retranscrire en français le module d'​intégration de la nouvelle génération de tablette graphique Bamboo Pen&​Touch de Wacom. C'est la CTH460; Product ID = 0xd1 +
-Commençons par ouvrir le Terminal Dans /​Applications/​accessoires +
-tapez dans un [[:​terminal]] : <​code>​lsusb</​code>​  +
- +
-vous devriez avoir une ligne comme celle-ci: +
- +
-<​code>​Bus XXX Device XXX: ID 056a:00d1 Wacom Co., Ltd</​code>​ +
- +
-ce qui nous intéressent c'est le **00d1** correspondant à la tablette incriminée. +
- +
-verifions la présence des drivers "​normalement ils devraient être **présent d'​office dans Lucid et Maverick** +
- +
-<​code>​sudo apt-get install xserver-xorg-input-wacom</​code>​ +
- +
-Installons la dernière veersion de linuxwacom'​s 0.8.8-10 wacom.ko +
- +
-<​code>​ +
-cd Bureau +
- +
-wget http://​prdownloads.sourceforge.net/​linuxwacom/​linuxwacom-0.8.8-10.tar.bz2 +
- +
-sudo apt-get update +
- +
-sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev tk8.4-dev tcl8.4-dev libncurses5-dev +
- +
-sudo apt-get upgrade +
- +
-sudo apt-get install linux-headers-generic +
- +
-tar xjvf linuxwacom-0.8.8-10.tar.bz2 +
- +
-cd linuxwacom-0.8.8-10 +
- +
-./configure --enable-wacom --prefix=/​usr +
- +
-make +
- +
-sudo cp ./​src/​2.6.30/​wacom.ko /​lib/​modules/​`uname -r`/​kernel/​drivers/​input/​tablet/​wacom.ko +
- +
-sudo depmod -a +
-</​code>​ +
- +
-**Redémarrer le PC** +
- +
-taper: +
-<​code>​lsmod | grep wacom</​code>​ +
- +
-vous devez voir l'​incription **wacom suivi de chiffres** +
-ce qui prouve que le module est bien installé. +
- +
-**Pour Lucid Lynx 10.04 LTS** +
- +
-Installons le git: +
- +
-<​code>​sudo apt-get install git-core</​code>​ +
- +
-ensuite +
- +
-<​code>​ +
-cd Bureau +
- +
-git clone git://​linuxwacom.git.sourceforge.net/​gitroot/​linuxwacom/​xf86-input-wacom +
- +
-sudo apt-get update +
- +
-sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libncurses5-dev xutils-dev autoconf libtool pkg-config +
- +
-sudo apt-get upgrade +
- +
-(You can also run this line below once.) +
- +
-sudo apt-get build-dep xf86-input-wacom +
- +
-wget http://​xorg.freedesktop.org/​releases/​individual/​util/​util-macros-1.8.0.tar.bz2 +
- +
-sudo cp /​usr/​share/​aclocal/​xorg-macros.m4 /​usr/​share/​aclocal/​xorg-macros.m4.bak +
- +
-tar xjvf util-macros-1.8.0.tar.bz2 +
- +
-cd util-macros-1.8.0 +
- +
-./configure --prefix=/​usr +
- +
-make +
- +
-sudo make install +
- +
-cd .. +
- +
-cd xf86-input-wacom +
- +
-./​autogen.sh --prefix=/​usr +
- +
-make +
- +
-sudo make install +
-</​code>​ +
- +
-**Redémarrer le PC** +
- +
-à ce stade la tablette ne fonctionne pas encore correctement. +
- +
-**Configurons la tablette à présent** +
- +
-Sous **Lucid** +
-<​code>​gksudo gedit /​usr/​lib/​X11/​xorg.conf.d/​10-wacom.conf</​code>​ +
-Sous **Maverick** +
-<​code>​gksudo gedit /​usr/​lib/​X11/​xorg.conf.d/​50-wacom.conf</​code>​ +
- +
-Le wacom.comf devrait ressembler à ceci: +
-<​code>​ +
-Section "​InputClass"​ +
- 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 "​Wacom|WALTOP|WACOM"​ +
- MatchProduct "​Wacom|WACOM"​ +
- MatchDevicePath "/​dev/​input/​event*"​ +
- Driver "​wacom"​ +
-EndSection +
- +
-Section "​InputClass"​ +
- Identifier "Wacom serial class"​ +
- MatchProduct "​Serial Wacom Tablet"​ +
- Driver "​wacom"​ +
- Option "​ForceDevice"​ "​ISDV4"​ +
-EndSection +
- +
-Section "​InputClass"​ +
-        Identifier "Wacom serial class identifiers"​ +
-        MatchProduct "​WACf|FUJ02e5|FUJ02e7"​ +
-        Driver "​wacom"​ +
-EndSection +
- +
- +
-# N-Trig Duosense Electromagnetic Digitizer +
-Section "​InputClass"​ +
- Identifier "Wacom N-Trig class"​ +
- MatchProduct "HID 1b96:​0001|N-Trig Pen" +
- MatchDevicePath "/​dev/​input/​event*"​ +
- Driver "​wacom"​ +
- Option "​Button2"​ "​3"​ +
-EndSection +
-</​code>​ +
- +
-En Bas du wacom.conf on rajoute: +
-<​code>​ +
-Section "​InputClass"​ +
-      Identifier "Wacom eraser class"​ +
-      MatchProduct "​Wacom"​ +
-      MatchProduct "​eraser"​ +
-      Option "​Foo"​ "​bar"​ +
-EndSection +
-</​code>​ +
- +
-Ce code est là pour eviter toutes confusions entre Wacom et eraser. +
- +
-Configurons dès à présent Xorg.conf:​ +
- +
-Tout d'​abord sauvegardons le xorg.conf pour éviter toutes erreurs: +
-<​code>​sudo cp /​etc/​X11/​xorg.conf /​etc/​X11/​xorg.conf.bak</​code>​ +
- +
-Si jamais le xorg.conf ne fonctionne plus au redémarrage il faudra le restaurer avec cette commande: +
-<​code>​sudo cp /​etc/​X11/​xorg.conf.bak /​etc/​X11/​xorg.conf</​code>​ +
- +
-Bon pour editer Xorg.conf:​ +
-<​code>​gksudo gedit /​etc/​X11/​xorg.conf</​code>​ +
- +
-à la fin du xorg.conf après **Endsection** +
- +
-Coller le code suivant: +
- +
-<​code>​ +
-Section "​InputDevice"​ +
- Identifier "​stylus"​ +
- Driver "​wacom"​ +
- Option "​Device"​ "/​dev/​input/​wacom"​ +
- Option "​Type"​ "​stylus"​ +
- Option "​USB"​ "​on"​ +
- Option "​Button2"​ "​2" ​ # make first button a middle click +
- Option "​Button3"​ "​3" ​ # make second button a R click +
-# remove comment below if investigating this device +
-#        Option "​DebugLevel"​ "​12"​ # gives info. for Xorg.0.log +
-EndSection +
- +
-Section "​InputDevice"​ +
- Identifier "​eraser"​ +
- Driver "​wacom"​ +
- Option "​Device"​ "/​dev/​input/​wacom"​ +
- Option "​Type"​ "​eraser"​ +
- Option "​USB"​ "​on"​ +
-# remove comment below if investigating this device +
-#        Option "​DebugLevel"​ "​12"​ # gives info. for Xorg.0.log +
-EndSection +
- +
-Section "​InputDevice"​ +
- Identifier "​touch"​ +
- Driver "​wacom"​ +
- Option "​Device"​ "/​dev/​input/​wacom-touch"​ +
- Option "​Type"​ "​touch"​ +
- Option "​USB"​ "​on"​ +
-# remove comment below if investigating this device +
-#        Option "​DebugLevel"​ "​12"​ # gives info. for Xorg.0.log +
-EndSection +
- +
-Section "​InputDevice"​ +
- Identifier "​pad"​ +
- Driver "​wacom"​ +
- Option "​Device"​ "/​dev/​input/​wacom-touch"​ +
- Option "​Type"​ "​pad"​ +
- Option "​USB"​ "​on"​ +
-# remove comment below if investigating this device +
-#        Option "​DebugLevel"​ "​12"​ # gives info. for Xorg.0.log +
-EndSection +
- +
-Section "​Device"​ +
- Identifier "​Configured Video Device"​ +
-EndSection +
- +
-Section "​Monitor"​ +
- Identifier "​Configured Monitor"​ +
-EndSection +
- +
-Section "​Screen"​ +
- Identifier "​Default Screen"​ +
- Monitor "​Configured Monitor"​ +
- Device "​Configured Video Device"​ +
-EndSection +
- +
-Section "​ServerLayout"​ +
-#​ Identifier "​Default Layout"​ +
-#​ Screen "​Default Screen"​ +
- Identifier "​X.org Configured"​ +
-# Comment out unsupported devices +
- InputDevice "​stylus"​ "​SendCoreEvents"​ +
- InputDevice "​eraser"​ "​SendCoreEvents"​ +
- Inputdevice "​touch"​ "​SendCoreEvents"​ +
- InputDevice "​pad"​ +
-EndSection +
-</​code>​ +
- +
-Enregistrer le Xorg.conf et **Redémarrer le PC** +
- +
-à présent le stylet et le toucher doit fonctionner. +
- +
-Maintenant editons le xserver: +
-<​code>​gksudo gedit /​lib/​udev/​rules.d/​69-xserver-xorg-input-wacom.rules</​code>​ +
- +
-a cet emplacement ci-dessous:​ +
-<​code>​ +
-ATTRS{idVendor}=="​056a",​ ATTRS{idProduct}=="​00c5",​ SYMLINK+="​input/​tablet-cintiq20wsx"​ +
-ATTRS{idVendor}=="​056a",​ ATTRS{idProduct}=="​00c6",​ SYMLINK+="​input/​tablet-cintiq12wx"​ +
-ATTRS{idVendor}=="​056a",​ ATTRS{idProduct}=="​00c7",​ SYMLINK+="​input/​tablet-dtu1931"​ +
-<----- **Coller le code ici**----->​ +
- +
-# Convenience links for the common case of a single tablet. ​ We could do just this: +
-#​ATTRS{idVendor}=="​056a",​ SYMLINK+="​input/​wacom-$env{WACOM_TYPE}"​ +
-# but for legacy reasons, we keep the input/wacom link as the generic stylus device. +
-</​code>​ +
- +
-ce code: +
-<​code>​ATTRS{idVendor}=="​056a",​ ATTRS{idProduct}=="​00d1",​ SYMLINK="​input/​tablet-wacom-bamboo-pen_touch-$env{WACOM_TYPE}"</​code>​ +
- +
-Enregistrer. +
- +
  
 +Vous êtes parvenu ici depuis la page [[:​wiki:​participer_wiki#​comment_creer_une_page_dans_la_documentation|Comment participer et améliorer cette documentation ?]]
  
 +**Vous ne devez pas créer votre page ici !**
  
 +Tel qu'il est indiqué dans le lien précédent,​ **allez à l'​adresse que vous souhaiteriez pour votre future page**. Dans la barre d'​adresse de votre navigateur, tapez l'​adresse désirée, en fonction du type de page que vous voulez créer. Pour plus d'​informations,​ suivez les instructions de la rubrique **[[:​wiki:​participer_wiki#​Les modèles à suivre]]**.
  • ma_page.1289900953.txt.gz
  • Dernière modification: Le 18/04/2011, 14:49
  • (modification externe)