RK3288 指令查看HDMI當前分辨率和支持的分辨率


$ adb shell
root@xxx:/ # cd /sys/class/display/HDMI
cd /sys/class/display/HDMI
root@xxx:/sys/class/display/HDMI # ls
ls
3dmode
audioinfo
color
connect
debug
enable
mode
modes
monspecs
name
power
property
scale
subsystem
type
uevent
root@xxx:/sys/class/display/HDMI # cat connect
cat connect                   //HDMI是否連接
1
root@xxx:/sys/class/display/HDMI # cat enable
cat enable                    //HDMI使能
1
root@xxx:/sys/class/display/HDMI # cat mode
cat mode                     //HDMI當前分辨率
1366x768p-60
root@xxx:/sys/class/display/HDMI # cat modes
cat modes                    //HDMI支持的所有分辨率
auto
1920x1080p-60
1920x1080p-50
1366x768p-60
1280x720p-60
1280x720p-50
720x576p-50
720x480p-60

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM