Re: acpi and lid, temperature

Christian Brueffer <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Fri, Dec 06, 2002 at 09:25:43AM +0900, Cyril Niklaus wrote:
> Hi all,
> Having recently got my hands on a Sharp mebius PC-MT1-H5,  i installed 
> current on it and I'm trying to get to know apm's replacement, ACPI. 
> Well, to be honest I mostly would like to be able to sleep the thing 
> when I close the lid, but this does not work: it merely shuts the 
> screen off. man acpc acpiconf etc do not indicate much in the way of 
> settings. What's one to do?

Hi,

when you do a 'sysctl hw.acpi' you'll see something like this:

hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: S1
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
...

You can then assign the types 1-5 that acpiconf.8 talks about
(sysctl hw.acpi.lid_switch_state=S3).
I usually take S3 which works pretty well for me.

- Christian

-- 
http://www.unixpages.org			[email protected]
GPG Pub-Key    : www.unixpages.org/cbrueffer.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
GPG Key ID     : 0xA0ED982D
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE98I4hbHYXjKDtmC0RApg9AJ0Sy/F4IpA9WCQZPKeAWtRhSmaOOQCgu1ZG
WrNT352eOQcAzB7tF/h5vK4=
=CHuz
-----END PGP SIGNATURE-----
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.