Re: API to turn off the display

From: Scott Lambert <lambert_at_lambertfam.org>
Date: Wed, 28 Jan 2004 16:40:00 -0500
On Wed, Jan 28, 2004 at 01:19:02PM -0500, John Baldwin wrote:
> On Wednesday 28 January 2004 01:11 pm, Scott Lambert wrote:
> > On Wed, Jan 28, 2004 at 08:32:15AM -0700, M. Warner Losh wrote:
> > > In message: <20040128045816.Y1089_at_alpha.siliconlandmark.com>
> > > : Through functionality provided by the BIOS. A 30-second
> > > : search through the source would have shown the answer in
> > > : /usr/src/sys/i386/bios/apm.c:334 with apm_display().
> > >
> > > My experience is that turning the display off via apm doesn't work
> > > on many laptops :-(.
> >
> > Is there anything that does; other than closing the lid?
>
> Yes, there should be.  ACPI has an entire set of methods devoted to
> manging displays including turning the displays on and off.  We just
> don't support those yet.

Ok.  As long as there is that possibility.  I'm not in a hurry.  Just
wanted to make sure I wasn't missing out on current capabilities.  ACPI
is still black magic to me.  Someday I'll sit down and try to understand 
it.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert_at_lambertfam.org      
Received on Wed Jan 28 2004 - 12:40:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC