03-11-2015 03:55 PM
I didn't have the touch screen monitor plugged in when I last rebooted. How is this log file?
03-11-2015 04:17 PM
I can see the device in that log, but I am still not seeing any sort of indication that it is attempting to apply calibration settings. Where is the xorg input calibration config file located? Name and permission of the file?
03-12-2015 07:26 AM
admin@NI-cRIO-9030-019FE011:/# ls -l /usr/share/X11/xorg.conf.d
total 16
-rw-r--r-- 1 admin administ 1099 Oct 2 17:35 10-evdev.conf
-rw-r--r-- 1 admin administ 1759 Oct 2 18:03 50-synaptics.conf
-rw-r--r-- 1 admin administ 115 Oct 2 18:01 50-vmmouse.conf
-rwxr-xr-x 1 admin administ 197 Mar 10 06:52 99-calibration.conf
03-13-2015 09:27 AM
That seems fine, I suppose, other than the permissions are different. It may be beneficial to also post the contents of the 99-calibration.conf file. It's a bit difficult without have access to one of these screens.
03-13-2015 09:34 AM
When I use the snippet suggested above
Section "InputClass"
Identifier "calibration"
MatchProduct "DIALOGUE INC PenMount USB"
Option "Calibration" "929 86 930 85"
Option "SwapAxes" "0"
EndSection
the x and y coordinates are reversed. Even I switch Option "SwapAxes" "1" instead of 0 they are still reversed.
After I calibrate it i get a file that looks like
Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax Inc. USB TouchController"
Option "Calibration" "1566 1544 2829 2826"
Option "SwapAxes" "1"
EndSection
Using this cal file the cursor is nowhere near where I press.
03-13-2015 10:28 AM
The snippet I posted before was just an example that I got from calibrating a different brand of touchscreen. Because the "MatchProduct" field is not going to match your touchscreen it is not going to load and that's probably why we are not seeing it in the Xorg log.
I am not sure why the calibration tool doesn't give you the right numbers. You can try tweaking them by hand (i.e. not just the swap axes number) and see if it makes a difference. Make sure you use the file you obtain from the calibration tool not the snipped I posted.
What is the resolution of this screen?
03-13-2015 10:35 AM
Screen Resoution: 1024x768
If all I do is switch the MatchProduct from "DIALOGUE INC PenMount USB" to "eGalax Inc. USB Touch Controller" the cursor is nowhere near where I touch. Even if I leave Option "Calibration" the same.
The reason I used your snippet is because I copied a bad file before, and the system couldn't restart till I gave it a proper cal file so I grabbed yours since I didn't have one at hand.
03-13-2015 10:47 AM
I'd recommend you doing the following:
03-13-2015 10:54 AM
I removed all calibration files like you said, restarted the controller, then when I put in the commands
export DISPLAY=:0
xinput_calibrator | tail -n 6 > 99-calibration.conf
it gives me an error
No calibratable devices found.
03-13-2015 11:07 AM
You do have the touch screen plugged into a USB port on the target, right?