Screen rotation

David Lamerton 2010-08-25 20:57:59 Link
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 2010-08-26 00:20:07 Link
the mini already has this application, i think you can find it on tools
menu

davef 2010-08-26 02:55:18 Link
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 2010-08-26 06:27:10 Link
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 2010-08-26 07:29:41 Link
Here is some info:
http://www.mikrocontroller.net/articles/Mini2440#Framebuffer

cristian 2010-08-26 08:58:24 Link
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 2010-09-02 09:40:13 Link
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 2010-10-14 12:39:26 Link
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 2011-05-01 12:40:56 Link
did you find how to rotate and match the screen??? please reply if u did..

COH 2011-06-17 17:21:06 Link
"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

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number 1031