RE: Few fundamental queries on fb / virtual console

"Khasim, Syed" <[email protected]> Wed, 24 May 2006 18:37:09 -0500
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
Thanks Tony.

Regards,
Khasim

-----Original Message-----
From: Antonino A. Daplas [mailto:[email protected]] 
Sent: Wednesday, May 24, 2006 6:26 PM
To: [email protected]
Cc: Khasim, Syed
Subject: Re: [Linux-fbdev-users] Few fundamental queries on fb / virtual
console

Khasim, Syed wrote:
> Hi,
> 
> Can some one update me about the ideology behind the virtual console
> handling in fbconsole layer for a 2.6 Kernel?
> 
> I noticed that in 2.6 frame buffer, the virtual consoles maintain
their
> attributes independently. Example, if I change the bpp on one virtual
> console (16bpp to 8bpp), the other VC still remains same (16 bpp).
> However in 2.4 it changes the attributes of other active Virtual
> consoles too.

No, 2.4 can save per-console attributes too.  If this does not work
in 2.4, then it's a bug.

You can use fbset -a (or set FB_ACTIVATE_ALL flag) if you want
all vc's to acquire the attribute you just set.

> Example, if I change the mode from 8bpp to 16 bpp on VC1,
> all the other VCs mode is changed to 16bpp. Is this some thing
> intentionally done in 2.6 FB?

No, 2.4 should behave similarly.

> 
> Based on the above implementation, how is the rotation treated? If I
> change the rotation degree on one of the active Virtual consoles,
should
> all the other active Virtual consoles be oriented in new rotation
angle?
> Or they should still continue with their individual rotation
attribute?

/sys/class/graphics/fb[n]/con_rotate - change rotation of current
console
/sys/class/graphics/fb[n]/con_rotate_all - change rotation of all the
consoles

Tony


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642