[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fbset for all ttys? again



Ayer en la ma~nana, Gludovátz Gábor dijo:
> The scenario is the following:
> .. My system starts up
> .. I login as root
> .. # modprobe rivafb
> .. # modprobe fbcon (screen resultion is promptly set to 720x400-70 on
> all vts according to fbset -i)
> .. # fbset -a 800x600-76
>
> In spite of the "-a", only the *first* vt's resolution is changed.
> I have to issue "fbset -a xxx" on all vt's to have their resolution
> changed, -a seems not to work at all.
>
> Why is that? How can I get "-a" to work actually?

I don't exactly know, but then I put it in a init.d script and it gets
called before login screens come up on all other ttys, so everyone of
them inherits -somehow- tty0's framebuffer mode.

# cd /etc
# cat init.d/fb 
#!/bin/sh
fbset `cat /etc/fb-selected-mode`

# cat fb-selected-mode 
1024x768-90

# ls -la rc*/*fb*
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc0.d/K20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc1.d/K20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc2.d/S20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc3.d/S20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc4.d/S20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc5.d/S20fb -> ../init.d/fb
lrwxrwxrwx  1 root root 12 Jan 29 05:24 rc6.d/K20fb -> ../init.d/fb


-- 
Cristian Gutierrez			http://www.dcc.uchile.cl/~crgutier
crgutier[@]dcc.uchile.cl                        Jabber:crgutier@jabber.org

getSexySig(); /* returns sexy signature */ 



Reply to: