Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 22:09:36 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        "Dag-Erling C. Sm\xf8rgrav" <des@freebsd.org>
Cc:        cvs-sys@freebsd.org, sos@freebsd.org, msmith@freebsd.org, yokota@freebsd.org
Subject:   Re: cvs commit: src/sys/i386/isa syscons.c 
Message-ID:  <199804171309.WAA00582@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Fri, 17 Apr 1998 03:03:14 MST." <199804171003.DAA09693@freefall.freebsd.org> 
References:  <199804171003.DAA09693@freefall.freebsd.org> 

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

>des         1998/04/17 03:03:14 PDT
>
>  Modified files:
>    sys/i386/isa         syscons.c 
>  Log:
>  Stop the screensaver before switching consoles.
>  
>  Revision  Changes    Path
>  1.260     +7 -1      src/sys/i386/isa/syscons.c

We had better coordinate things here.  Back in February, I made a
patch for syscons to accommodate both graphical screen saver and
graphical splash screen.  I never committed it to the source tree as
it was more important to concentrate on the release of 2.2.6.

My patch does the followings:

1. Makes the splash screen behave like a screen saver once the system
has completely booted up.
2. Ensures the graphical screen saver is properly started and stopped
from within scrn_timer().
3. Tries to localize activation and deactivation of the screen saver 
to scrn_timer() as much as possible.  switch_scr() does not call
stop_screen_saver() directly, but rather it will let scrn_timer()
to stop it and delays screen switch until the screen saver has completely
stopped.
4. The graphical screen saver is expected to set the UNKNOWN_MODE bit
when entering a graphics mode.  (OK, it has been suggested that calling
a known graphics mode UNKNOWN_MODE is arcane, but I think we had
better keep it that way, because quite many parts of syscons currently
relies on it anyway.)

Many part of my patch has the same goal as you.  But, it may employ
slightly different code.

I would like to see seamless integration and co-existance of your
effort and mine.  I will modify my patch for the latest syscons.c
source and send it to you in a few days (sorry, I am pretty much tied
up to my work tonight).

Kazu
yokota@freebsd.org



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