Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 10:28:34 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Kelvin Farmer <kfarmer@trentu.ca>
Cc:        freebsd-current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: [Fwd: splash screen & xdm] 
Message-ID:  <199901180128.KAA19816@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Fri, 15 Jan 1999 23:25:25 EST." <36A014B5.5A7F15E5@trentu.ca> 
References:  <36A00BE2.B7DB46AC@trentu.ca>  <36A014B5.5A7F15E5@trentu.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help

>> >It seems that if the splash screen image is not cleared (ie: press any
>> >key) before xdm starts up then once logged in the user is unable to
>> >switch to a vitual terminal (ie: ctrl-alt-f1 etc), and it just beeps
>> >when those keys are pressed.
>> >Solution? Putting the command kldunload splash_bmp before the line that
>> >loads xdm seems to work. Is this a bug or just the way things are?
>> 
>> Definitely a bug.
>> 
>> Which version of the X server are you using?
>
>3.3.3.1

Please apply the following patch to /sys/dev/syscons/syscons.c and
see if it works for you.  (It works for me, at least.)

Kazu

Index: syscons.c
===================================================================
RCS file: /src/CVS/src/sys/dev/syscons/syscons.c,v
retrieving revision 1.291
diff -u -r1.291 syscons.c
--- syscons.c	1999/01/13 01:14:26	1.291
+++ syscons.c	1999/01/18 01:19:33
@@ -1450,11 +1479,15 @@
 	return EINVAL;
 
     case VT_ACTIVATE:   	/* switch to screen *data */
+	scsplash_stick(FALSE);
+	sc_clean_up(cur_console);
 	return switch_scr(scp, *(int *)data - 1);
 
     case VT_WAITACTIVE: 	/* wait for switch to occur */
 	if (*(int *)data > MAXCONS || *(int *)data < 0)
 	    return EINVAL;
+	scsplash_stick(FALSE);
+	sc_clean_up(cur_console);
 	if (minor(dev) == *(int *)data - 1)
 	    return 0;
 	if (*(int *)data == 0) {

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901180128.KAA19816>