pi@raspberrypi:~ $ man xinput_calibrator --output
--misclick nr_of_pixels
set the misclick threshold (0=off, default: 15 pixels)
--no-timeout
turns off the timeout
--output-type auto|xorg.conf.d|hal|xinput
type of config to ouput (auto=automatically detect, default: auto)
--fake Emulate a fake driver (for testing purposes)
Useful to test the calibrator without applying the values, and possibly even without having a touchscreen.
--geometry widthxheight
Manually provide the geometry (width and height) for the calibration window.
USAGE
Run xinput_calibrator in a terminal, as it prints out the calibration values and instructions on standard output.
After clicking the 4 calibration points, xinput_calibrator will calculate the new calibration values. Depending on the Xorg touchscreen driver you use, the new values can be made permanent in different ways:
Evdev:
Automatically recalibrates the driver for this session,
Supports following --output-types: auto, xorg.conf.d, hal, xinput
Usbtouchscreen:
Automatically recalibrates the *kernel module*, saved in /etc/modprobe.conf.local
Supports following --output-types: auto
Other Xorg touchscreen drivers:
No automatic calibration possible,
Supports following --output-types: auto, xorg.conf.d, hal
EXAMPLES
To run the calibrator, type in your terminal:
xinput_calibrator
If something goes wrong, or not as expected, turn on verbose messages:
xinput_calibrator -v
If you have to manually provide the current calibration values (when using EVDEV, you can use this to reset the calibration first):
xinput_calibrator --precalib 0 1000 0 1000
TROUBLESHOOTING
In general, run the calibrator with the -v option, it will tell you what happens and what goes wrong.
Mis-click detection, the calibrator can automatically detect clicks with unreasonable values. This prevents you from ending up with a bogus calibration.
If you keep getting the message 'Mis-click detected, restarting...', one of the following is happening:
1. you are bad at clicking on crosses, use a stylus or increase the --misclick threshold
2. your device is not properly supported by the kernel, it interprets the clicks wrong
3. your screen has a non-linear deformation, 4-point calibration can not help you
Och detta från VERBOSE
pi@raspberrypi:~ $ xinput_calibrator -v
DEBUG: XInputExtension version is 2.3
DEBUG: Skipping virtual master devices and devices without axis valuators.
DEBUG: Skipping device 'Virtual core XTEST pointer' id=4, does not report Absolute events.
DEBUG: Skipping device 'ORtek Wireless Touchpad Keyboard' id=8, does not report Absolute events.
DEBUG: Selected device: Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface
DEBUG: Not usbtouchscreen calibrator: Not a usbtouchscreen device
DEBUG: Not evdev calibrator: Evdev: invalid "Evdev Axis Calibration" property format
Calibrating standard Xorg driver "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface"
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
DEBUG: Found that 'Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface' is a sysfs name.
INFO: width=800, height=600
DEBUG: Adding click 0 (X=686, Y=95)
DEBUG: Adding click 1 (X=97, Y=94)
DEBUG: Adding click 2 (X=678, Y=519)
DEBUG: Adding click 3 (X=90, Y=516)
--> Making the calibration permanent <--
DEBUG: Found that 'Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface' is a sysfs name.
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 "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface"
Option "MinX" "63903"
Option "MaxX" "-375"
Option "MinY" "2621"
Option "MaxY" "64224"
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
Problemet är att inget av de ovan fetmarkerade 'adresserna' tar, visst kan lägga in dessa i filerna men de läses inte in.
Så det skriptet jag laddade ner sist enl tidigare inlägg fungerar inte heller, så frågan är var dessa data skall sparas för att Raspbian skall läsa in calibreringsdatat. Vore skönt att slippa tangentbordet och bara kunna köra rakt av med touch då jag till 99% bara har denna till frukost underhållning med Youtube