HDMI display rotation on blaze board

782 views
Skip to first unread message

Mamatha K

unread,
May 3, 2012, 2:04:39 AM5/3/12
to android...@googlegroups.com, tejesw...@gmail.com
HI all,
      
       I am working on Android 4.0 for blaze board.
         Initially, the display on LCD was rotated 180 degree(upside down), so in build.prop ro.sf.hwrotation=180 was set to get normal display. Now LCD display is working fine(proper orientation of touchscreen) but when connected through HDMI the display on HDMI output screen is still 180 (upside down) degree rotated. 
         As there is a flag to rotate LCD is there any such idea to rotate HDMI display or any help to this issue.


Thanks and Regards,
Mamatha K

top4ester

unread,
May 21, 2012, 7:50:38 PM5/21/12
to android...@googlegroups.com, tejesw...@gmail.com
 You need to put one more option setting in build.prop file:

persist.hwc.mirroring.transform=X

 where X = 0..3 / rotation angle between LCD and HDMI output.
0 - 0 degrees
1 - 90 degrees
2 - 180 degrees
3 - 270 degrees

 BR

top4ester

unread,
May 21, 2012, 2:04:31 PM5/21/12
to android-porting
There is another option you have to set right after
"ro.sf.hwrotation=180" in "build.prop" file:

persist.hwc.mirroring.transform=1
OR
persist.hwc.mirroring.transform=2

where the argument is 0..3! 0 - 0 degrees , 1 - 90 degrees, 2 - 180
degrees and 3 - 270 degrees.

This option sets the rotation angle between LCD and HDMI output!

I hope this will help!

Cheers!!!

top4ester

unread,
May 21, 2012, 7:44:14 PM5/21/12
to android-porting
You missing one more option in build.prop file:

persist.hwc.mirroring.transform=1

0 - 0 degrees, 1 - 90 degrees, 2 - 180 degrees, 3 - 270 degrees
rotation angle between LCD and HDMI output.

Hope this will help!

BR
Reply all
Reply to author
Forward
0 new messages