iMX7D 1GB SOM with Linux BSP v3.04b \\ Display Rotation and Touch Screen Working

Dear Sir,

We are using the iMX7D 1GB SOM with Linux BSP v3.04b.

As per our application, we want to make the display vertical and also touch screen should work accordingly.

However we are able to make display vertical by changing below file

/etc/X11/xorg.conf with add below line

Option " Rotate" “CW”

But we are not able to make the touchscreen work properly, it got shifted or reversed.

We have also tried using xinput calibrator and copying the below contain into /usr/share/X11/xorg.conf.d/99-calibration.conf

Section “InputClass”
Identifier “calibration”
MatchProduct “AD7879 Touchscreen”
Option “Calibration” “3438 3302 1252 1226”
Option “SwapAxes” “1”
EndSection

Could you please let us know the proper or best way to make display vertical start from Linux booting message with Touch should work accordingly.

Thanks & Regards,
Prashant

Hi Prashant,

Please check below post for same queries

https://www.toradex.com/community/questions/2806/performance-gets-low-after-display-rotation.html?childToView=2929#answer-2929

Please note my suggestion would be to rotate the display at the application level rather than at different places.
This will be easy to maintain when you are updating the image with a newer version. You will not be needed to compile again.

Also for the final application, you can either turn off debug logs and use your company specific image while the system boots.

Let me know if you have any queries.

Best Regards

Ritesh Kumar