From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 08:32:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C447B16A4CF for ; Thu, 29 Jan 2004 08:32:17 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1E2343D2F for ; Thu, 29 Jan 2004 08:32:14 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27924 invoked from network); 29 Jan 2004 16:32:14 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 29 Jan 2004 16:32:14 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i0TGW2M6069448; Thu, 29 Jan 2004 11:32:11 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Mark Santcroos , freebsd-current@freebsd.org Date: Thu, 29 Jan 2004 11:32:54 -0500 User-Agent: KMail/1.5.4 References: <200401272247.59306.freebsd-current@webteckies.org> <1075339288.12013.232.camel@mobius.int.thebadger.org> <20040129162023.GA42359@laptop.6bone.nl> In-Reply-To: <20040129162023.GA42359@laptop.6bone.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401291132.54455.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: API to turn off the display X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 16:32:17 -0000 On Thursday 29 January 2004 11:20 am, Mark Santcroos wrote: > On Thu, Jan 29, 2004 at 01:21:28AM +0000, James Green wrote: > > > > 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. > > > > > > I use the above, one minor thing though, the backlight on the laptop > > > stays on (NEC Versa S900 with ATI radeon 9000 mobility) yet under > > > windows the backlight turns off, still haven't got it worked out :/ > > > > There is a fix for DPMS for the Radeon 9000. The bug report/patch etc. > > is here: http://bugs.xfree86.org/show_bug.cgi?id=26 > > See comment #10 for details. > > ports/x11-servers/XFree86-4-Server-snap/ has the fix too, I just tried > it and it works for my Latitude C640. > > Which leads me to think... can we do this with ACPI only or do we need > to do what DPMS is doing?? I think it is the latter. I read the spec yesterday, and what is supposed to happen is this: The display (LCD, CRT, etc.) is supposed to be powered down using DPMS. The actual adapter is then supposed to be powered down using either PCI or ACPI sleep states, and the adapter should not be powered down to a lower sleep state (like D3) w/o using DPMS to power the display down to at least that state first. This means that the kernel might need to grow a dummy vga driver of some sort and some simple dpms support for suspend/resume. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org