In the last episode (Nov 21), Ertan Kucukoglu said:
> > Yes.  You can also tell the system whether to sleep or shutdown, for
> > every button ACPI has access to (handly for laptops where you want the
> > lid switch to shutdown the system instead of put it in standby, for
> > example).
> 
> Last question. Where to set it up? man pages etc. ?

I believe 5.0 will load acpi automatically if a module exists for it. 
If it doesn't, rebuild your kernel with "options acpi".

I don't think there are any real docs for it yet.  For setting the
switch states, run "sysctl hw.acpi" to list the switches acpi knows
about.  The switch names will all end in _state and have a value of
S0..S5, S0 being "full power", S1-S3 being different sleep states, S4
being hibernate (not supported afaik), and S5 being "power off".  Run
"sysctl -w hw.acpi.blahblah_state=S1" to set.

-- 
        Dan Nelson
        [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to