API to turn off the display

Daniel O'Connor doconnor at gsoft.com.au
Wed Jan 28 16:29:24 PST 2004


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



More information about the freebsd-current mailing list