API to turn off the display

John Baldwin jhb at FreeBSD.org
Wed Jan 28 10:37:11 PST 2004


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>
> >
> >             Andre Guibert de Bruet <andy at siliconlandmark.com> writes:
> > : 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.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the freebsd-current mailing list