LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux frame buffer console help needed (http://www.linuxquestions.org/questions/linux-hardware-18/linux-frame-buffer-console-help-needed-586088/)

ssenuta 09-20-2007 11:55 AM

Linux frame buffer console help needed
 
I want to learn a little about using a linux framebuffer console & would appreciate some help. So far all I have been able to do is start up vtcon1 as a frambuffer device after booting vtcon0 as a vga device.

Here is what I do to start my vtcon1 FB console:
boot to init s or init 3
modprobe fbcon
modprobe vga16fb

Once the fbcon1 frame buffer console is started, I can execute a few simple "fbset" commands:
fbset --show ...640x480-60 is displayed
fbset --info
fbset -move < direction >

Also, prior to starting a FB console, I used the vbetool program to create the file vga.state but when I try to detach from vtcon1 & return to my vtcon0 my screen goes black & I am forced the (ctrl-alt-del) reboot.

vbetool vgastate save > vga.state
vbetoo vbestate restore < vga.state && echo 0 > /sysclass/vtconsole/vtcon1/bind

This is all I know about using a FB console. I'd like to know how to change the screen resolution & display a simple graphic
file. If anyone can help, it would be appreciated. Thank you.


All times are GMT -5. The time now is 11:42 AM.