Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2006 22:19:52 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.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:  <20060618201952.GB1145@roadrunner.aventurien.local>
In-Reply-To: <200606181757.k5IHvLSt046046@pencil.math.missouri.edu>
References:  <4492A8F9.6060007@centtech.com> <200606181757.k5IHvLSt046046@pencil.math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Rich Winkel wrote:
> Sorry I've lost track of the attributions :)
> 
> > I think in the OP's case these are the same - I think (and he'll have to 
> > clarify) that he just wanted the screen to turn off when he closed the 
> > lid, right before it goes to sleep, and have the screen come on when he 
> > opens the lid.  Sounds like S1 is working fine for him otherwise (which 
> > I do believe to be true for D600's).
> 
> Correct, I just want the display to turn off when I close the lid.
> Browsing the web, it appears at least one person has gotten this
> working, but he didn't post the specifics.  I need to hunt up his address.

Well,

here's the solution I'm using:

/boot/loader.conf:
acpi_video_load="YES"

/etc/sysctl.conf:
hw.acpi.lid_switch_state=NONE
hw.acpi.video.lcd0.active=1

/etc/devd.conf:
notify 10 {
        match   "system"          "ACPI";
        match   "subsystem"       "Lid";
        action  "/sbin/sysctl hw.acpi.video.lcd0.active=$notify";
};

hth,
Ulrich Spoerlein
-- 
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFElbVo524iJyD+6d0RAkGXAKCO0jLwLHdnSO4eMbZrXmsjorX4IQCeOxwb
9/kFcNOXzS4dTi4aCo6dENI=
=SLPx
-----END PGP SIGNATURE-----

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