Hi,
I have a i.MX8MQ based custom board and its OS is Linux 6.1. Then I have ported STM LSM6DSV IMU on i.MX8MQ. If I want to make screen auto-rotate with IMU, how can I do it? Is there any reference I can refer to it?
Thanks & Regards,
Derek Lin
Hi @brian14 ,
BTW, I can modify /etc/xdg/weston/weston.ini to rotate the screen. But it needs to reboot the board again to init the screen orientation.
I want to change screen orientation dynamically, Is there no command I can use?
I found some information that there is a config file under /tmp/.weston_drm.conf from website. The file can config screen orientation dynamically, but I found that there is no config file on imx8mq.
Thanks & Regards,
Derek Lin
Hi @Derek0902,
Thank you for contacting NXP Support.
Sorry, but we don't have any reference or example for this application.
Have a great day!
Hi @Derek0902,
Please have a look to the i.MX Graphics User's Guide chapter 2 i.MX G2D API.
i.MX Graphics User's Guide (nxp.com)
Have a great day!
Hi @brian14 ,
When I compile C program, it can't include "g2d.h". Is i.MX8MQ supported g2d API?
Regards,
Derek Lin