XInputHotplug Teil 2: erste Erfolge
Pseudo-Hotplug mit dem Tablet geht schon… dazu gleich mehr.
Erstmal die Software-Ausstattung. Alles, was nicht angegeben ist, ist die aktuellste stabile Version:
sys-kernel/tuxonice-sources-2.6.24-r9 x11-base/xorg-x11-7.3 x11-base/xorg-server-1.4.2 x11-libs/pixman-0.10.0 x11-libs/libXrender-0.9.4 x11-proto/renderproto-0.9.3 media-libs/mesa-7.0.3 x11-drivers/xf86-input-keyboard-1.3.1 x11-proto/xf86driproto-2.0.4 x11-libs/xtrans-1.0.4 x11-drivers/linuxwacom-0.8.0_p3-r1
Obwohl bei linuxwacom die Meldung kommt, dass gcc >= 4.2 benötigt wird, kompiliert das Paket ohne Probleme mit gcc 4.1.2.
xorg.conf (die interessanten Teile)
Section "ServerFlags" Option "AllowMouseOpenFail" "true" EndSection Section "InputDevice" Identifier "RX250" Driver "evdev" Option "Name" "Logitech USB-PS/2 Optical Mouse" Option "HWHEELRelativeAxisButtons" "7 6" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "USB" "on" Option "Mode" "Absolute" Option "Vendor" "WACOM" Option "KeepShape" "on" EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "USB" "on" Option "Mode" "Absolute" Option "Vendor" "WACOM" Option "KeepShape" "on" EndSection Section "InputDevice" Identifier "pad" Driver "wacom" Option "Type" "pad" Option "Device" "/dev/input/wacom" Option "ButtonsOnly" "on" Option "Button9" "2" Option "Button13" "3" Option "USB" "on" Option "KeepShape" "on" EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "RX250" InputDevice "Keyboard1" InputDevice "stylus" InputDevice "eraser" InputDevice "pad" EndSection
Jetzt zum Thema Pseudo-Hotplug:
Die Maus wird bei Hotplug richtig erkannt, seitlich Scrollen funktioniert. So gut hatte ich die nichtmal unter Ubuntu eingerichtet.
Tablet-Hotplug geht nur begrenzt: nachdem ich das Tablet eingesteckt habe ist’s erst einmal ne normale Maus, mit relativen Koordinaten. Wenn ich dann zum Beispiel mit Strg Alt F1 auf die Konsole wechsle und mit Alt F7 zurück zu X, werden die Eingabegeräte neu geladen und das Tablet funktioniert wie gewünscht.
Der nächste Schritt wird sein, das ohne Konsolenwechsel hinzubekommen. Dabei ist mir X auf meinem Desktop-PC nämlich schon abgestürzt. Sowas mag ich gar nicht.
About this entry
You’re currently reading “XInputHotplug Teil 2: erste Erfolge,” an entry on DoppelHertz
- Published:
- Juli 12, 2008 / 12:44
- Tags:
- XInputHotplug, Xorg
No comments yet
Jump to comment form | comments rss [?] | trackback uri [?]