#1 Le 25/02/2007, à 20:38
- grosbouff
Redéfinir la zone sensible d'une tablette WACOM
Hello !
Ma tablette wacom est cassée d'un côté.
Sous windows, no soucis, il est possible de redéfinir la zone sensible de la tablette, et je ne rencontre plus aucun problème.
Comment puis-je aboutir au même résultat sous Ubuntu ?
Merci beaucoup, beaucoup.
Hors ligne
#2 Le 26/02/2007, à 01:10
- grosbouff
Re : Redéfinir la zone sensible d'une tablette WACOM
Voici mon Xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Nov 9 17:55:20 PST 2006
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "MD1998LK"
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "true"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Monitor "MD1998LK"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Et quand je fais un grep -i wacom /var/log/Xorg.0.log
gordie@gordie-desktop:~$ grep -i wacom /var/log/Xorg.0.log
(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 $
(**) stylus device is /dev/wacom
(**) WACOM: suppress value is 2
(**) cursor device is /dev/wacom
(**) WACOM: suppress value is 2
(**) eraser device is /dev/wacom
(**) WACOM: suppress value is 2
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/wacom
Error opening /dev/wacom : Success
Or, dans la doc, ils disent que je devrais avoir un
(==) 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
lors de l'exécution de cette commande.
Ces options de Top X, Top Y, Bottom X et Bottom Y correspondent à la définition de la zone sensible de la palette.
Si je pouvais les éditer quelque part; je pourrais paramétrer correctement l'engin...
Pourriez vous m'aider ?
Hors ligne
#3 Le 26/02/2007, à 09:56
- grillon
Re : Redéfinir la zone sensible d'une tablette WACOM
Bonjour
voici les options :
Il faut rajouter :
Option "TopX" "number"
Option "TopY" "number"
Option "BottomX" "number"
Option "BottomY" "number"
bien sur adaptez number à votre cas.
On ajoute les options dans les rubriques wacom de xorg.conf, dans stylus, eraser et cursor.
ensuite il faut relancer X.
grillon
Hors ligne
#4 Le 26/02/2007, à 09:58
- grillon
Re : Redéfinir la zone sensible d'une tablette WACOM
j'ai retrouvé le lien : http://www.xfree86.org/current/wacom.4.html
Hors ligne
#5 Le 26/02/2007, à 14:32
- grosbouff
Re : Redéfinir la zone sensible d'une tablette WACOM
Ok !
C'est nickel mais je sens que ce n'est pas encore parfaitement calibré.
Pour l'instant j'ai mis ça
Option "TopX" "0"
Option "TopY" "6642"
Option "BottomX" "22860"
Option "BottomY" "30427"
Mais je sens que je dois encore raccourcir à gauche et agrandir à droite.
Là, j'ai recopié mes valeurs windows mais peut-être que ça ne marche pas pareil...
Y'aurait pas un endroit ou je peux trouver les valeurs par défaut de ma tablette ?
J'ai une INTUOS 1 (a4).
Hors ligne
#6 Le 26/02/2007, à 15:51
- Mathieu147
Re : Redéfinir la zone sensible d'une tablette WACOM
Ben tâtonne un peu, non? Ou dans le manuel, peut-être...
Pffff…
Hors ligne