Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2006 07:28:05 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Rich Winkel <rich@math.missouri.edu>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Video sleep on dell d600 (6.1-release)
Message-ID:  <4492A3D5.4020109@centtech.com>
In-Reply-To: <200606160415.k5G4Fvka013078@pencil.math.missouri.edu>
References:  <200606160415.k5G4Fvka013078@pencil.math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Rich Winkel wrote:
> Hi,
> 
> I can't seem to get the display to shut off when I press the lid switch.
> In /boot/loader.conf I have 
> 
> acpi_load="YES"
> acpi_video_load="YES"
> 
> In /etc/devd.conf I have
> notify 10 {
>         match "system"          "ACPI";
>         match "subsystem"       "Lid";
>         action                  "/usr/sbin/acpiconf -s 1";
> };
> 
> (I tried -s 3 but it just crashes and reboots)
> 
> I don't know if this has any bearing on it, but I also have
> device          pmtimer
> in the kernel config.
> 
> The bios version is "A16", the latest version.
> 
> The system does go to sleep (at least the power indicator starts flashing)
> but the screen stays lit.  Does anyone have this running?


For my Dell's, I usually added a line into rc.suspend and rc.resume, to 
toggle the acpi video sysctl.  Something like:

sysctl hw.acpi.video.lcd0.active=0

in /etc/rc.suspend, and:

sysctl hw.acpi.video.lcd0.active=1

in /etc/rc.resume.

Now, if your setting is by default =0, then you probably will want to 
add something like this to /etc/sysctl.conf:

hw.acpi.video.lcd0.active=1

So that on boot it gets 'enabled'.


Eric




-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4492A3D5.4020109>