Video sleep on dell d600 (6.1-release)

Eric Anderson anderson at centtech.com
Fri Jun 16 12:27:58 UTC 2006


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


More information about the freebsd-mobile mailing list