Where to put fbset command during system boot up

"Kushal Koolwal" <[email protected]> Tue, 08 Aug 2006 16:51:39 -0700
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
Hi,

I am using Debian Etch with kernel 2.6.17 and I am using the framebuffer 
driver for my Graphic Card(AMD GX processor). Now the problem is, when my 
system boots on the framebuffer console, the resolution is "640x480" which I 
later found out once my system booted into fluxbox and I ran the fbset -v 
command to see the resolution of the framebuffer debvice. Now I know that my 
framebuffer driver supports "1024x768" resolution. I checked this my hitting 
Alt-Ctrl-F1 to switch from the fluxbox to the virtual console and then I 
gave the command fbset -v "1024x768-60" and the resolution got changed and I 
was getting a much bigger display now.

So my problem is how can I get that resolution during the system boot also. 
I tried putting a script called setconsole (which has a single line fbset -v 
"1024x768-60") in /etc/init.d directory and made it executable and linked it 
with the rc.N directories by giving the following command:

update-rc.d setconsole defaults 10

but it did not help.

How can get the particular resolution on my framebuffer console during the 
system boot? Do I need to place the script somewhere else?

THanks in advance.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642