From: Khasim, S. <x0k...@ti...> - 2006-05-24 23:37:23
|
Thanks Greet. -----Original Message----- From: lin...@li... [mailto:lin...@li...] On Behalf Of Geert Uytterhoeven Sent: Wednesday, May 24, 2006 2:30 AM To: lin...@li... Subject: Re: [Linux-fbdev-users] Few fundamental queries on fb / virtual console On Tue, 23 May 2006, Khasim, Syed wrote: > 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. 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? Strange, 2.4 is also supposed to have independent modes on different VCs. Unless you use `fbset -a'. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ------------------------------------------------------- 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=3Dlnk&kid=3D107521&bid=3D248729&dat=3D= 121642 _______________________________________________ Linux-fbdev-users mailing list Lin...@li... https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users |
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 |