Changes

Jump to: navigation, search

AXEL Lite SOM/DESK-MX6-L/Deployment/Touchscreen Calibration

3,847 bytes added, 09:06, 23 October 2020
Created page with "{{subst:Touchscreen_calibration | nome-som=AXEL Lite | kit-code=MX6 | kit = mx6 | kit-repo = desk-mx-l}}"
<section begin=History/>
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X.Y.Z
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
|-
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
|-
|}
<section end=History/>
<section begin=Body/>

==Touchscreen calibration==

For resistive touch some calibration may be needed. Depending on your touchscreen and or the usespace environment, different calibration mechanism has to be used.

=== Weston ===
If the Weston compositor is running in the background, it is necessary to remove the old udev rules, and restart the device in order to calibrate the touchscreen.
<pre>
rm -f /etc/udev/rules.d/ws-calibrate.rules
reboot
</pre>
At the next restart the <code>weston-calibrator</code> tool should automatically show up. Tap on the red cross appearing on the screen to calibrate the touch panel.

'''Note:''' In the case of root filesystem over NFS and SD card plugged in, make sure delete also the calibration rules stored in the SD card partition before rebooting:

<pre>
rm /etc/udev/rules.d/ws-calibrate.rules
rm /run/media/mmcblk0p1/ws-calibrate.rules
reboot
</pre>
=== Non-Weston based Graphic System ===
If the weston compositor is not running, it is necessary to run ''ts_calibrate'' exporting the correct environment variable for the calibration file used:
<pre>
export TSLIB_CALIBFILE=/usr/share/pointercal
ts_calibrate
</pre>

==== Exporting TSLIB_CALIBFILE ====
The environment variable TSLIB_CALIBFILE is used by the tslib package to indicate the location of the pointercal file. The default value for TSLIB_CALIBFILE is <code>/etc/pointercal</code>. If you are writing a program that uses tslib you should make sure that you export TSLIB_CALIBFILE to point to the location of your pointercal file (as indicated in the previous section), or that you place a copy of the pointercal file at the default /etc/pointercal location.

Additional information can be found int the following [http://processors.wiki.ti.com/index.php/How_to_Recalibrate_the_Touchscreen#Where_is_the_ws-calibrate.rules_file.3F page in TI wiki]

----

[[Category:AXEL Lite]]
8,321
edits

Navigation menu