Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 12:46:42 +0100
From:      Christian Brueffer <chris@unixpages.org>
To:        Cyril Niklaus <cynik@gmx.co.uk>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: acpi and lid, temperature
Message-ID:  <20021206114641.GA617@unixpages.org>
In-Reply-To: <419A8C7E-08B1-11D7-A450-003065D548D4@gmx.co.uk>
References:  <5.2.0.9.2.20021205081428.0117f928@194.184.65.4> <419A8C7E-08B1-11D7-A450-003065D548D4@gmx.co.uk>

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

[-- Attachment #1 --]
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			chris@unixpages.org
GPG Pub-Key    : www.unixpages.org/cbrueffer.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
GPG Key ID     : 0xA0ED982D

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

iD8DBQE98I4hbHYXjKDtmC0RApg9AJ0Sy/F4IpA9WCQZPKeAWtRhSmaOOQCgu1ZG
WrNT352eOQcAzB7tF/h5vK4=
=CHuz
-----END PGP SIGNATURE-----
help

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