Re: VESA DPMS Driver

From: Anish Mistry (mistry.7_at_osu.edu)
Date: 04/30/04

  • Next message: Doug White: "src/sys/vm/vm_init.c v1.43 hangs amd64"
    To: freebsd-current@freebsd.org
    Date: Fri, 30 Apr 2004 17:02:45 -0400
    
    
    

    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 message: Doug White: "src/sys/vm/vm_init.c v1.43 hangs amd64"

    Relevant Pages

    • [PATCH] LIS3LV02Dx Accelerometer driver (take 4)
      ... Here is a submission for 2.6.28 of a driver for the ST LIS3LV02Dx ... Technically it's situated in hwmon because the other accelerometer ... +the laptop to act as a pinball machine-esque joystick. ... * GNU General Public License for more details. ...
      (Linux-Kernel)
    • [PATCH] Dell laptop backlight driver
      ... The driver is INCOMPLETE since it is unable to probe some required parameters ... in order to perform backlight control. ... Such parameters are found in a Dell ... FIRST write your laptop model parameters correctly inside the source code ...
      (Linux-Kernel)
    • Re: VESA DPMS Driver
      ... >> I like many have suffered the battery drain of the laptop screen ... this is my first kernel driver so it's nothing ... > devices with a DOD, etc. handle) so that the two drivers aren't mutually ... The backlight shuts off in the S3 state, ...
      (freebsd-current)
    • Re: [PATCH] Dell laptop backlight driver
      ... +This driver is EXPERIMENTAL, use it at YOUR OWN RISK. ... +These parameters depend on the model of your laptop. ... +static int probe_smi_params ... * GNU General Public License for more details. ...
      (Linux-Kernel)
    • [PATCH] LIS3LV02Dx Accelerometer driver
      ... This adds a driver to the accelerometer sensor found in several HP ... Say Y here if you have an applicable laptop and want to experience ...
      (Linux-Kernel)