From owner-freebsd-current@FreeBSD.ORG Fri Apr 30 14:03:20 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 69C3816A4DB; Fri, 30 Apr 2004 14:03:20 -0700 (PDT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0BB343D2D; Fri, 30 Apr 2004 14:03:19 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: from [192.168.0.6] (adsl-64-109-102-181.dsl.wotnoh.ameritech.net [64.109.102.181]) (authenticated bits=0)i3UKxtWB045210 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 30 Apr 2004 17:00:04 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-current@freebsd.org Date: Fri, 30 Apr 2004 17:02:45 -0400 User-Agent: KMail/1.6.1 References: <40909090.3050108@cs.unisa.edu.au> <200404301619.35517.jhb@FreeBSD.org> In-Reply-To: <200404301619.35517.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_+7rkAOJkeSv9il0"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404301702.54522.mistry.7@osu.edu> X-Spam-Status: No, hits=-5.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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: Fri, 30 Apr 2004 21:03:20 -0000 --Boundary-02=_+7rkAOJkeSv9il0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 30 April 2004 04:19 pm, John Baldwin wrote: > On Thursday 29 April 2004 01:20 am, Benjamin Close wrote: > > 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. > > I merged this into the acpi_video(4) driver (which already takes over ACPI > devices with a DOD, etc. handle) so that the two drivers aren't mutually > exclusive. Unfortunately, my laptop doesn't have any _DOD, etc. methods > for its video device so I can't test it. It's somewhat hackish as only > i386 has VM86 support, but the patch is at: > > http://www.FreeBSD.org/~jhb/patches/acpi_video_dpms.patch Just tested this, and it seems to work. :) =2D-=20 Anish Mistry --Boundary-02=_+7rkAOJkeSv9il0 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAkr7+xqA5ziudZT0RAol+AJ4wEVszkuIErhCO7sQetHyEZnJJRQCfXpmw K9u3GCPvVC/uy/+I23ZVjCw= =HrTJ -----END PGP SIGNATURE----- --Boundary-02=_+7rkAOJkeSv9il0--