Francisco Alberto Carrillo Dominguez

Disable/enable lvds calibration with new BSP i.MX6

Discussion created by Francisco Alberto Carrillo Dominguez Employee on Apr 3, 2013
Latest reply on Apr 3, 2013 by Francisco Alberto Carrillo Dominguez

The newest demo image for i.MX6 is a gnome release, so it runs with X11.

 

The startx script that executes at the begining has logic to detect if you are using an lvds, if a touchscreen is detected then ts_calibrate gets executed.  The problem arises when you have an HDMI monitor as primary screen and lvds as secondary.  Then you will see the calibration tool running in your HDMI monitor and you can't get out of it.

 

In order to disable/enable the calibration you have to edit the file before creating the sdcard or before booting nfs :  

 

vi bsprootfs/usr/bin/startx

 

And modify this section.

 

if [ -L /dev/input/ts0 ]; then

        ls /usr/etc | grep pointercal > /dev/null 2>&1

        if [ $? = 1 ]; then

           #     ts_calibrate

        fi

fi

 

 

Thanks to Guillermo Michel for the tip.

 

Outcomes