问题
使用RK3568评估板外接HDMI屏幕时竖屏显示内容,需要修改为横屏显示。
解决办法
修改weston.ini配置文件,配置output输出参数
查看显示屏名称
使用ls/sys/class/drm/命令查看显示屏名称,如下图所示,示例屏为HDMI屏,根据输出的内容可以看到有名称为card0-HDMI-A-1,后面的HDMI-A-1即为显示屏名称。
修改weston.ini配置文件
编辑/etc/xdg/weston/weston.ini文件,在文件末尾增加以下语句,随后保存重启即可。
[output]
name=HDMI-A-1
transform=90
其中90为顺时针旋转90度,若需顺时针旋转180度则只需将90改为180。
reboot重启开发板
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.