Date: Fri, 30 Apr 2004 17:02:45 -0400 From: Anish Mistry <mistry.7@osu.edu> To: freebsd-current@freebsd.org Subject: Re: VESA DPMS Driver Message-ID: <200404301702.54522.mistry.7@osu.edu> In-Reply-To: <200404301619.35517.jhb@FreeBSD.org> References: <40909090.3050108@cs.unisa.edu.au> <200404301619.35517.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404301702.54522.mistry.7>