ACPI
1. S1: echo 1 > /proc/acpi/sleep Standby, 按 power key 後繼續動作
2. S2: 未使用
3. S3: echo 3 > /proc/acpi/sleep 沒反應
4. S4: echo 4 > /proc/acpi/sleep 沒反應
5. S5: echo 5 > /proc/acpi/sleep 直接關機, 未 sync
http://www.commoner.com/~lsimon/AsusM3N.html
Get pmtools
Usage: pmtest [OPTION] [TYPE] [ID]
where OPTION is one of:
-l list devices (default)
-d0 resume device (ACPI D0)
-d1, -d2, -d3 suspend device (ACPI D1-D3)
and TYPE is one of:
unknown PCI USB SCSI ISA system
and ID is one of:
keyboard serial irda floppy vga pcmcia
or a specific device number from /usr/include/linux/pm.h.
Examples:
pmtest -l PCI list all registered PCI devices
pmtest -d0 VGA resume (unblank) the console
pmtest -d3 PCI 0x1234 suspend a PCI device
ref. http://www.columbia.edu/~ariel/acpi/acpi_howto.txt
APM
apm -s, --suspend
Put the machine into suspend mode if possible.
apm -S, --standby
Put the machine into standby mode if possible.
ref. man apm