From: Khasim, S. <x0k...@ti...> - 2006-05-24 23:37:28
|
Thanks Tony. Regards, Khasim -----Original Message----- From: Antonino A. Daplas [mailto:ad...@gm...]=20 Sent: Wednesday, May 24, 2006 6:26 PM To: lin...@li... Cc: Khasim, Syed Subject: Re: [Linux-fbdev-users] Few fundamental queries on fb / virtual console Khasim, Syed wrote: > Hi, >=20 > Can some one update me about the ideology behind the virtual console > handling in fbconsole layer for a 2.6 Kernel? >=20 > 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. >=20 > 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 |