From: Antonino A. D. <ad...@gm...> - 2006-05-24 23:33:12
|
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 |