API to turn off the display

Scott Lambert lambert at lambertfam.org
Wed Jan 28 13:40:04 PST 2004


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      



More information about the freebsd-current mailing list