6/02/2012

A easy way to check HDMI status on MSM8660

Sometimes you want to know the HDMI status when you connect HDMI cable to M8660, here we provide a simple way to check the HDMI status with ADB command

$ adb shell
# cat video_mode //current video mode and resolution
16
# cat video_mode_str //current video mode for humans
1920x1080 p60 16/9
# cat edid_modes //list of all supported video modes
1,2,4,5,6,16,17,19,21,31
# cat connected //1:panel detected or 0:unplugged
0
# cat hdcp //1:HDCP currently enabled
0
# cat hpd //1:turn on HPD, 0:turn off HPD
1

NOTE:
1. "cat edid_modes" just list the all video modes supported by current TV. If you want to know all video modes supported by our MSM8660, you should check supported_video_mode_lut[] in hdmidaemon.cpp
2. You should read HDMI spec or CEA 861D to understand those video mode and formats.

No comments:

Post a Comment