[ Prev ] [ Index ] [ Next ]

MacBook

Created Sunday 08/07/2007

Suspend to RAM

Install

See: http://wiki.suspend2.net/HibernateScript

yaourt -S hibernate-scripts

/etc/hibernate/hibernate.conf :

#UseSuspend2 on
#FileWriterLocation /suspend2.img 1000
#Encryptor none
#UseACPISleep 3
TryMethod ram.conf
#TryMethod suspend2.conf
#TryMethod disk.conf

Enable suspend on lid close

Sources:

Make shure acpid is running. You can look at ACPI events with the command acpi_listen In my case the events are the same for opening and closing the lid.

Create in /etc/acpi/events/suspend-lid

event=button/lid
action=/usr/sbin/hibernate

Restart acpid daemon

Problems

Solution for the video mode restauration (not working)

Change to a terminal console before hivernate by sudo chvt 1 Cela devrait déjà être activé dans /etc/hibernate/common.conf par : SwitchToTextMode yes

Solution for the CPU frequency daemon

Use powernowd


No backlinks to this page.