On Di, 2009-10-27 at 16:33 +0800, b4283 wrote:
Now it's only issue is to automated this umount+rmmod and modprobe +mount thing.
Using pm-utils it is quite easy to do such things: http://wiki.archlinux.org/index.php/Pm-utils
There must be something similar for s2ram. According to the wiki (http://wiki.archlinux.org/index.php/Suspend_to_RAM) the file "hibernate.conf" should make it possible to say which modules need to be unloaded.