From owner-freebsd-current@FreeBSD.ORG Thu Apr 29 11:58:13 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 EB08816A4CF for ; Thu, 29 Apr 2004 11:58:13 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE83E43D1F for ; Thu, 29 Apr 2004 11:58:13 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Thu, 29 Apr 2004 11:58:12 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7578E5D07; Thu, 29 Apr 2004 11:58:12 -0700 (PDT) To: Benjamin Close In-reply-to: Your message of "Thu, 29 Apr 2004 14:50:16 +0930." <40909090.3050108@cs.unisa.edu.au> Date: Thu, 29 Apr 2004 11:58:12 -0700 From: "Kevin Oberman" Message-Id: <20040429185812.7578E5D07@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: VESA DPMS Driver 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 Apr 2004 18:58:14 -0000 > Date: Thu, 29 Apr 2004 14:50:16 +0930 > From: Benjamin Close > Sender: owner-freebsd-current@freebsd.org > > Hi All, > I like many have suffered the battery drain of the laptop screen > remaining on while the system is suspended. I've created a driver that > allows the screen to be shutdown by DPMS provided acpi supports video > mode changes. Beware, this is my first kernel driver so it's nothing > great. Hopefully it will help someone with enough knowledge build a > better driver. > > It's a loadable kernel module and the only tweak required to get it > compiling should be in the Makefile. > > You can grab it from: > http://www.clearchain.com/people/benjsc/download/vesa_dpms.tar.gz > A URL as the list strips attachments. YES! Thanks you! My T30 now suspends and turns off the back-light! Oddly, using DPMS under X with xset(1), the display blanked but the back-light stayed on. This really turns off the whole display. I believe that two of the remaining suspend/resume issues on my laptop are actually PCI issues and the other is a complete mystery. (It will only suspend once. Subsequent suspends work, but the system immediately resumes.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634