VESA DPMS Driver

Anish Mistry mistry.7 at osu.edu
Fri Apr 30 14:03:20 PDT 2004


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. :)

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040430/014a7c58/attachment.bin


More information about the freebsd-current mailing list