This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Default Screen Orientation on ICS

Other Parts Discussed in Thread: OMAP3530, 4430

I have an OMAP3530 based system running ICS and Linux 2.6.37 from DevKit 3.0.0.  It runs somewhat and we get the ICS screens and such on the attached LCD panel.  We are using a DSI LCD panel that, by pixel layout (480x800), is natively a portrait mode panel.  ICS wants to treat is as default portrait, which some Android community emails indicate is by Android's low-level design.  It's default mode is always the native panel mode.  I need, however, to run out system in a defaultlandscape mode.

I thought I might just be able to use some Linux bootargs parameters to rotate the frame buffer, so I added

omapfb.vrfb=y omapfb.rotate=3

to the kernel bootargs.  It did make a difference, but the screen is quite corrupted.  It looks like it's trying to be in landscape mode--only the top of the screen has data on it, and it's largely horizontal lines.  The colors seem appropriate, but its garbled.  When the "Android" logo comes up it's similar.  It's white and banding in a landscape horizontal way, obviously looking like it's trying to be landscape, but perhaps with an incorrect line pitch.

Is OMAPFB rotation supported in Android?  In ICS?  Is there something else I need to do?  Will using omapfb.rotate=3 with a portrait mode panel present a landscape mode panel to Android?

Thanks in advance,

Chris