How to change hdmi video mode in runtime?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change hdmi video mode in runtime?

1,308 Views
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

Labels (3)
0 Kudos
3 Replies

860 Views
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 Kudos

860 Views
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 Kudos

860 Views
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 Kudos