|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Power button - nicely switch down the computer?
Hi!
If you press the power button on a OpenBSD computer you will mess with the filesystem. I have google that I can use apm and apmd to nicely switch down the computer, but not how to do it. Do anybody know how to fix this on 4.3? Thanks /Malinda
__________________
Yes! I'am a girl... |
|
|||
There are a lot of tutorial out there.
|
|
|||
openbsd's APM framework does support standby/suspend/sleep (aka S1/2/3 sleep) if your BIOS passes the information to the operating system (pushing the power button to go to standby also works then); on some systems (IBM/Lenovo Thinkpads and some others with a Phoenix Bios) it even supports hibernation. i haven't tried this with the ACPI framework but it should work ;you can always disable ACPI in your kernel, and most BIOS's will emulate APM, which will work.
|
|
|||
on hindsight: i'm not sure if most BIOS's will emulate APM; mine does also, i can configure the powerbutton via the BIOS to do either a standby, sleep or a shutdown...
|
|
||||
APM emulation under ACPI depends on the BIOS, cursedcompiler.
ACPI support, in one form or another, has been in OpenBSD since the 3.8 days. However, it wasn't until after -current was several months beyond 4.2-release that it was enabled by default. It was normally left disabled, and one would enable it for testing or problem solving. Today, (4.3-release and -current), both APM and ACPI are enabled in the kernel. The kernel will look for APM first, and use it if found. If the BIOS has both, you will see kernel messages configuring apm0, and you will see a message that acpi exists but is not configured. If you wish to see what the acpi(4) and related drivers can do on those platforms, disable APM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fighting for the power | vermaden | FreeBSD General | 0 | 5th May 2009 06:49 AM |
Trouble with ZFS switch | dewarrn1 | FreeBSD General | 2 | 11th September 2008 11:58 PM |
USB KVM switch logfile mess | crayoxide | General Hardware | 1 | 15th August 2008 06:23 PM |
What's all this power for ? | Snoop1990 | FreeBSD General | 20 | 9th July 2008 10:59 PM |
Home Button | JMJ_coder | Feedback and Suggestions | 4 | 5th May 2008 05:13 PM |