Changes

Jump to: navigation, search

Touchscreen Calibration (DIVELK)

895 bytes added, 12:01, 8 March 2019
no edit summary
!Notes
|-
|14.0.0|April 2018<br/><hr/> March 2019|[[Diva_Embedded_Linux_Kit_(DIVELK)#DIVELK_4.0.0|DIVELK 4.0.0]] <br/><hr/> [[Diva_Embedded_Linux_Kit_(DIVELK)#DIVELK_4.0.1|DIVELK 4.0.1]]
|
|-
== Calibration ==
To === 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, please do the following:.
<pre>
rm -f /etc/udev/rules.d/ws-calibrate.rules
reboot
</pre>
reboot
</pre>
=== Non-Weston based Graphic System ===
If the weston compositor is not running, it is necessary to run:
<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 /etc/pointercal. 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]
8,157
edits

Navigation menu