Hi francis,
This is actually console rotation, Linux console driver takes care of rotating
you console. This does not rotate your normal frame buffer. Actually the
underlying fb driver is totally ignorant of console rotation.
I think there are some boot time parameters, you can use them to rotate your
console. See if below text helps.
4. fbcon=rotate:<n>
This option changes the orientation angle of the console display. The
value 'n' accepts the following:
0 - normal orientation (0 degree)
1 - clockwise orientation (90 degrees)
2 - upside down orientation (180 degrees)
3 - counterclockwise orientation (270 degrees)
The angle can be changed anytime afterwards by 'echoing' the same
numbers to any one of the 2 attributes found in
/sys/class/graphics/fbcon
rotate - rotate the display of the active console
rotate_all - rotate the display of all consoles
Console rotation will only become available if Console Rotation
Support is compiled in your kernel.
Thanks,
Brijesh Jadav
________________________________
From: francis kumar [[email protected]]
Sent: Friday, July 29, 2011 3:13 AM
To: Jadav, Brijesh R
Subject: Re: davinci: DA850: GLCD support
Hi Brijesh,
Thanks for your mail.
Basically my default GLCD settings are in Landscape(Display 480(W)x272(H)). I
am able to rotate the image in portrait orientation(270) using "echo 3 >
/sys/class/graphics/fbcon/rotate_all" command. Once it restart my target again
it goes to default mode. We are developing our own customized Qt application. I
want to viewport size as always in portrait mode.
Any driver changes or something we can modify it in scripts. Please suggest me.
Thanks,
Francis
On Fri, Jul 29, 2011 at 1:27 PM, Jadav, Brijesh R
<[email protected]<mailto:[email protected]>> wrote:
Hi Francis,
Basically, you are trying to rotate image by 90. Can you check you LCD to see
if it supports these kind of rotated timing parameters? If it does not, you
will have to take care of rotating input image in the application.
Thanks,
Brijesh Jadav
________________________________
From:
davinci-linux-open-source-bounces+brijesh.j=ti.com<http://ti.com>@linux.davincidsp.com<http://linux.davincidsp.com>
[davinci-linux-open-source-bounces+brijesh.j=ti.com<http://ti.com>@linux.davincidsp.com<http://linux.davincidsp.com>]
On Behalf Of francis kumar
[[email protected]<mailto:[email protected]>]
Sent: Wednesday, July 27, 2011 3:55 AM
To:
[email protected]<mailto:[email protected]>
Subject: davinci: DA850: GLCD support
Hi,
The LCD i used here as Sharp - 480*272. HEIGHT is 272, Width is 480. Now i can
see the image on GLCD in Landscape mode.
I want to change my LCD orientation in Portriat mode permanently. I modified
timing parameters in linux-xx.xx./drivers/video/da8xx-fb.c
as follow.
/* Sharp LK043T1DG01 */
[1] = {
.name = "Sharp_LK043T1DG01",
.width = 272,
.height = 480,
.hfp = 3,
.hbp = 3,
.hsw = 10,
.vfp = 2,
.vbp = 2,
.vsw = 41,
.pxl_clk = 7833600,
.invert_pxl_clk = 0,
},
But i am not able to see my image in Portriat orientation. please any one can
suggest and solve my issues.
Regards,
Francis
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source