Re: API to turn off the display

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Thu, 29 Jan 2004 10:59:12 +1030
On Thursday 29 January 2004 04:41, 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?

I find DPMS works for me..

xset dpms force off

My Monitor section in the X config has..
  Option      "DPMS"

My video chipset is an ATI Rage 128 Mobility in a Dell Inspiron 8000.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5
Received on Wed Jan 28 2004 - 15:29:24 UTC

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