Re: Is there a 768x1024 framebuffer "VERTICAL" mode?

James <[email protected]> Tue, 25 Nov 2008 08:46:44 +1100
Newsgroups gmane.linux.fbdev.user
Message-ID <1227563204.8363.6.camel@Ubuntu-Desktop>
Hi,

On Mon, 2008-11-24 at 21:57 +0100, Jean-Martial Ndoutoume Nfengone -
Axis Mundi wrote:
> For all my Debian's computers, I usualy configure my consoles with the
> vga=791 (VESA framebuffer console @ 1024x768x64k).  It works very well.
> 
> Now, I'm working on a digital kiosk project with Linux embeded, but my
> screens are all mounted verticaly (it's a kind of photomaton with only a
> portrait mode).
> 
> For the support of our solution, it's very hard to type console commands
> having the neck broken during hours. :(
> 
> Is there a 768x1024 (for a screen mounted verticaly!) framebuffer mode?
> And, more generaly, is there a way to set all modes in a vertical way?

>From Documentation/fb/fbcon.txt, I see:

C. Boot options

         The framebuffer console has several, largely unknown, boot
options
         that can change its behavior.

<snip>

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.

        NOTE: This is purely console rotation.  Any other applications
that
        use the framebuffer will remain at their 'normal'orientation.
        Actually, the underlying fb driver is totally ignorant of
console
        rotation.



> What can be the consequences with X?

According to http://ubuntuforums.org/showthread.php?t=360596 you can
add;
Option "Rotate" "CCW"

to the device section in xorg.conf.

Also, this *might* help
http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2007-10/msg02746.html

Google is your friend.
http://www.google.com.au/search?q=linux+fb+rotation
http://www.google.com.au/search?q=linux+screen+rotation


James.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/