Re: Video sleep on dell d600 (6.1-release)

Eric Anderson <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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.
------------------------------------------------------------------------
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.