How to change hdmi video mode in runtime?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to change hdmi video mode in runtime?

1,400 次查看
zohanlin
Contributor IV

Hello all, I used imx6 dual.

I traced our board.c and  BoardConfig.mk, there are fixed value about hdmi resolution.

Is there any way to change hdmi video mode in runtime?

Thanks a lot,

zohan

标签 (3)
0 项奖励
3 回复数

952 次查看
SergioSolis
NXP Employee
NXP Employee

Hello Zohan,

You can change video resolution and pixel density through ADB. Can you tell me more information on how you'd like to change it?, through the Android settings or is there a reason to change it on runtime?

0 项奖励

952 次查看
zohanlin
Contributor IV

Hello SergioSolis,

Could you tell me how to change it through ADB?

I tried the command : echo "S:720x480p-60" > /sys/devices/platform/mxc_sdc_fb.1/graphics/fb2/mode

But it not worked.

I have two different resolution LCD display, so I think maybe I can make my HDMI output appropriate video signal  according to the resolution of screen.

Would it be possible to do that ?

0 项奖励

952 次查看
SergioSolis
NXP Employee
NXP Employee

You can use the window manager on ADB. Do a shell session within adb and set it as:  wm size 720x480

0 项奖励