From owner-freebsd-hackers Wed May 2 14:48: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guild.guildsoftware.com (guild.guildsoftware.com [207.67.51.35]) by hub.freebsd.org (Postfix) with ESMTP id 5059E37B422 for ; Wed, 2 May 2001 14:48:01 -0700 (PDT) (envelope-from andude@guild.guildsoftware.com) Received: (from andude@localhost) by guild.guildsoftware.com (8.9.3/8.9.3) id QAA27210; Wed, 2 May 2001 16:47:49 -0500 Date: Wed, 2 May 2001 16:47:49 -0500 From: Andy Sloane To: Nick Sayer Cc: Andrew Hesford , freebsd-hackers@FreeBSD.org Subject: Re: new syscons screensaver Message-ID: <20010502164749.E19547@guild.guildsoftware.com> References: <20010502005000.B19547@guild.guildsoftware.com> <20010502021600.A34130@cec.wustl.edu> <3AF074DE.4D95E6B8@talarian.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <3AF074DE.4D95E6B8@talarian.com>; from Nick Sayer on Wed, May 02, 2001 at 01:58:06PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 02, 2001 at 01:58:06PM -0700, Nick Sayer wrote: > You might consider trying the apm_saver module instead, especially on > laptops. I have found instances in the past of monitor/BIOS/video > combinations where green didn't do the right thing but that the APM got > right. Both apm_saver and green_saver are essentially (once you get past all the screensaver setup code) one-line routines to turn off the display. I think it would make sense to both tell the VGA chip to blank (green_saver) and tell APM to shut down (apm_saver) with proper #ifdeffing around the APM stuff. I also think it would make sense to do this inside dev/fb/splash.c (or perhaps dev/syscons/syscons.c) instead of inside each screensaver, so that it's automatically handled. And maybe a new 'vidcontrol' option to set the blanking delay (as opposed to the screensaver delay) would be necessary. There may be an even better place to put this, but I am mostly unfamiliar with the kernel source tree and as such I won't attempt to write a patch for this yet. -Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message