Podklyuchenie graficheskogo plansheta Wacom
Informaciya v mini-HOWTO "Wacom at Linux" myagko vyrazhayas' - ustarela,
pol'zovat'sya ej nado s ostorozhnost'yu i ne celikom.
Dostovernyj i sovremennyj istochnik informacii sejchas:
http://linuxwacom.sourceforge.net/
Predpolagaetsya, chto modul' wacom v yadre skonfiguren (eto verno
dlya svezheproinstallirovannyh distributivov s yadrom 2.6 i nekotoryh 2.4)
Opredelyaem, na kakoj specfajl sel planshet posle raspoznaniya yadrom.
# pero
cat /dev/input/event0 # 0,1,2,3... pri perevtykanii cifra mozhet pomenyat'sya
# myshka
cat /dev/input/mouse1 # navernyaka 0 zanyat osnovnoj myshkoj, nachinat' s 1,2....
1. Redaktiruem /etc/X11/XF86Config-4
Okuchivaem planshet v konsol'nom rezhime
gpm -m /dev/input/mouse1 -t imps2
ili
gpm -m /dev/input/mouse1 -t wacom # ne proveryalos'
2. Redaktiruem /etc/X11/XF86Config-4
/* ili /etc/X11/xorg.conf */
Section "InputDevice"
Identifier "stylus"
# Pero
Driver "wacom"
Option "Type" "stylus"
Option "Device" "/dev/input/event0"
Option "USB" "on"
# pervaya knopka vedet sebya kak srednyaya mysh'
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "1"
# tonkaya reakciya na klik perom
Option "Threshold" "50"
# Pozicionirovat'sya po vsej poverhnosti plansheta
Option "Mode" "Absolute"
Option "KeepShape" "off"
EndSection
Section "InputDevice"
Identifier "eraser"
# Obratnaya storona pera
Driver "wacom"
Option "Type" "eraser"
Option "Device" "/dev/input/event0"
Option "USB" "on"
EndSection
Section "InputDevice"
Identifier "cursor"
# vakomovskaya myshka
Driver "wacom"
Option "Type" "cursor"
Option "Device" "/dev/input/event0"
Option "USB" "on"
EndSection
Section "ServerLayout"
. . .
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
###### Wacom ##########
# InputDevice "Mouse2" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
###### Wacom ##########
EndSection
3. Proveryaem rabotosposobnost' v X11
wacdump /dev/input/event0
File --) Preferences --) Input devices --) Extended devices
vystavit' na cursor,stylus,eraser rezhim "Screen"
Vybrat' sredi instrumentov "Brush with pressure"
v ee svojstvah postavit' chekboks
Pressure: + Size
Vybrat' sredi instrumentov "Karandash"
v ee svojstvah postavit' chekboks
Pressure: + Opacue
Last-modified: Tue, 10 Jan 2006 13:27:38 GMT