silberstein
New member
- Registriert
- 2 Okt. 2010
- Beiträge
- 173
Hallo, ich habe ein X61 Tablet mit Touch-Funktion und nutze darauf Debian stable in Form von LMDE2 und würde gerne zunächst folgendes Ziel erreichen:
>> Kalibrierung der Touch-Eingabe <<
Die Stift-Eingabe ist schon recht genau, aber bei Touch muss man was machen.
Also, ich fang mal an...
folgende drei Wacom-Geräte werden erkannt:
$ xsetwacom --list
Serial Wacom Tablet WACf008 stylus id: 12 type: STYLUS
Serial Wacom Tablet WACf008 eraser id: 15 type: ERASER
Serial Wacom Tablet WACf008 touch id: 16 type: TOUCH
Serial Wacom Tablet WACf008 stylus id: 12 type: STYLUS
Serial Wacom Tablet WACf008 eraser id: 15 type: ERASER
Serial Wacom Tablet WACf008 touch id: 16 type: TOUCH
Für die Kalibrierung verwende ich xinput-calibrator (0.7.5+git20140201-1)
und erhalte folgende Terminal-Ausgaben
$ xinput_calibrator --list
Device "Serial Wacom Tablet WACf008 stylus" id=12
Device "Serial Wacom Tablet WACf008 eraser" id=15
Device "Serial Wacom Tablet WACf008 touch" id=16
$ xinput_calibrator
Warning: multiple calibratable devices found, calibrating last one
(Serial Wacom Tablet WACf008 touch)
[...]
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
(/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "!!Name_Of_TouchScreen!!"
Option "MinX" "40"
Option "MaxX" "942"
Option "MinY" "90"
Option "MaxY" "952"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
Device "Serial Wacom Tablet WACf008 stylus" id=12
Device "Serial Wacom Tablet WACf008 eraser" id=15
Device "Serial Wacom Tablet WACf008 touch" id=16
$ xinput_calibrator
Warning: multiple calibratable devices found, calibrating last one
(Serial Wacom Tablet WACf008 touch)
[...]
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
(/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "!!Name_Of_TouchScreen!!"
Option "MinX" "40"
Option "MaxX" "942"
Option "MinY" "90"
Option "MaxY" "952"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
Damit hätte man theoretisch die Werte, die man später in die 99-calibration.conf eintragen könnte.
Im tollen ThinkWiki-Artikel [http://thinkwiki.de/index.php?title...#Besonderheiten_ThinPad_X61_Tablet_Multitouch] kann man lesen:
"Beim X61 Tablet mit Multitouch, muss der resistive Touchscreen eingeschaltet, absolut gestellt und kalibriert werden."
Auf mein Gerät angewendet, ergibt sich damit
#!/bin/bash
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' Touch on
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' 'Mode' 'Absolute'
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' Area 40 90 942 952
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' Touch on
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' 'Mode' 'Absolute'
xsetwacom --set 'Serial Wacom Tablet WACf008 touch' Area 40 90 942 952
In der Shell führen die Befehle zum gewünschten Ergebnis.
Bei Eintragung in die /etc/rc.local wäre die 99-calibration.conf gar nicht mehr notwendig, wenn ich das richtig verstanden habe.
Auf beiden Wegen habe ich versucht, die Kalibrierwerte beim Systemstart einbinden zu lassen - leider ohne Erfolg.
Hat jemand eine Idee, was ich falsch gemacht haben könnte?
Zuletzt bearbeitet: