Screen rotation

David Lamerton
Hello Guys,

I wonder if you can help me? I have a friendly arm board and I would like
to change the screen orientation 240x320 => 320x240. I have been Googling
around but can't seem to find anywhere that gives any hint to where to
start.

Has anyone actually done this and can give me some information where to
start?

Many Thanks,

Dave

david
the mini already has this application, i think you can find it on tools
menu

davef
There was also a recent post on this, referring to some other tutorial.  I
tried searching <rotation> and couldn't find it.  Maybe, try <screen>

David Lamerton
Thanks Dave(s),

I have had a quick search but the only one I could find was for Windows CE,
I forgot to mention that this is under Android. Some posts I have read
mention that it should be on the menu somewhere but I cannot see it. :+(

stereo_m
Here is some info:
http://www.mikrocontroller.net/articles/Mini2440#Framebuffer

cristian
if you need console rotation and bigger font you can use fbcon parameters
in bootargs (search fbcon) I think the right parameter is fbcon=rotate:1

if you need rotation under X server you can use the Option "Rotate" "CCW"
in xorg.conf

Hope this helps

David Lamerton
Thanks Guys,

Sorry for the late reply but the power supply on the board blew up :+(. It
looks like a common problem from the forum, I bought a new one from eBay
that seems to do the job quite nicely.

I have tried all the suggestions above but I am still having no joy (or
doing something wrong).

I also tried adding setprop ro.FSL_LANDSCAPE_MODE 1 to the init.rc file but
that did not work either.

It seems like I would actually need to change the driver to change the
width and height of the screen. I am not sure which file to actually alter
at the moment though...

Dave

John Chooracken
I have had the same problem and I have a partial solution: (partial since
some of the android applications are not aligned properly to landscape
orientation)

I have added the following line to SurfaceComposerClient.cpp

In SurfaceComposerClient::SurfaceComposerClient()
add SurfaceComposerClient::setOrientation(0,1,0);

This should launch your booting in landscape mode.

If anyone has a better idea please ping me.

Cheers,
John C

Krish
did you find how to rotate and match the screen??? please reply if u did..

COH
"the mini already has this application, i think you can find it on tools
menu"

Sorry where is the tools menu?
I have mini2440 X35