This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Touchscreen recalibration with SDK 4.01

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Team,

I am settng up my AM335x EVM with the latest Processor SDK 4.01 from September.  The SD image boots fine however the touch screen calibration is way off and needs to be reset. I can see the touch events with 'evtest' but the co-ordinates are all wrong and none of the x-y points correspond to Matrix GUI button locations.

I have seen the wiki article http://processors.wiki.ti.com/index.php/How_to_Recalibrate_the_Touchscreen 

Can you share the means to re-calibrate from the serial console?

Regards,

Garry

  • The software team have been notified. They will respond here.
  • Hello Garry,

    Please, see this post.

    Best regards,
    Kemal

  • Hi Kemal,

    following the instructions in the allows me to re-calibrate though it causes confusion as this behaviour is not the default for the GP EVM pre-built filesystem.  The missing element was the 180 degree rotation just for the touchscreen it seems using export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS before using weston-calibrator. Without the rotation command the calibration was always wrong

    .The command sequence used was as below:

    root@am335x-evm:~# export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180"
    root@am335x-evm:~# rm /etc/udev/rules.d/ws-calibrate.rules
    root@am335x-evm:~# weston-calibrator
    could not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    Calibration values: 28.028028 112.993004 -51558.285156 5.285285 22.678680 -9919.905273

    Now the touch co-ordinates are correct and MATRIX GUI works fine. Can we update the wiki please?

    Thanks for your help.

    Regards,

    Garry

  • You should already have the export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180" in etc/profile.d/qt_env.sh. May be you accidentally deleted it. Can you check?