Hi. I've been toying around fbsplash for some time now. I've been searching of a way to make the fbsplash's splash non-stop visible during boot.
The problem I've found is console service from kbd. Is it really needed to switch to every console in every /sbin/open and even do manual /sbin/switchto from time to time?? I'm attaching a patch witch throws out all the console switching stuff to make the silent splash stay on top as long as possible. After applying it gets much better. There's just the: run_cmd "Loading keyboard table" loadkeys $KEYTABLE < /dev/tty0 > /dev/tty0 stuff left, which changes to a verbose console. I'm not sure what the run_cmd "foo" bar < /dev/tty0 > /dev/tty0 is supposed to do? Why inputting from tty? Why forcing output to tty? After removing the < > stuff the splash stays almost perfectly on top all the time. Only for a blink of an eye it turns to some console (not sure what other command in /etc/init.d/console does that, but it's definitely this service). Oh - and with initng running mingetty changes to the just runned console, not sure bout normal init boot, because I can't find mingetty in rc-scripts. Please comment on the patch. I'd like to commit it in some time. [EMAIL PROTECTED]
Index: kbd.init =================================================================== RCS file: /cvsroot/SOURCES/kbd.init,v retrieving revision 1.29 diff -u -r1.29 kbd.init --- kbd.init 7 Dec 2006 21:11:55 -0000 1.29 +++ kbd.init 14 May 2007 07:24:01 -0000 @@ -68,19 +68,16 @@ fi for cons in $SET_FONT_TERMINALS; do - /usr/bin/open -c $cons -s -w -- /sbin/setsysfont + /usr/bin/open -c $cons -w -- /sbin/setsysfont if [ "$NUM_LOCK" ]; then if [ $NUM_LOCK = "on" ]; then - /usr/bin/open -c $cons -s -w -- /usr/bin/setleds -D +num + /usr/bin/open -c $cons -w -- /usr/bin/setleds -D +num else - /usr/bin/open -c $cons -s -w -- /usr/bin/setleds -D -num + /usr/bin/open -c $cons -w -- /usr/bin/setleds -D -num fi fi done - if [[ "$tty" = [0-9]* ]]; then - /usr/bin/switchto $tty - fi else /sbin/setsysfont fi @@ -120,11 +117,8 @@ setterm_option="$setterm_option -store" for cons in $SET_FONT_TERMINALS; do - /usr/bin/open -c $cons -s -w -- /usr/bin/setterm $setterm_option + /usr/bin/open -c $cons -w -- /usr/bin/setterm $setterm_option done - if [[ "$tty" = [0-9]* ]]; then - /usr/bin/switchto $tty - fi touch /var/lock/subsys/console }
_______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en