I've worked on it a little, and managed to patch pm-utils to use
kernel's do_suspend and check_suspend, as well as uswsusp for the rest
(when auto-detected). The patch also makes sure that uswsusp's
before_hooks only executes the commands in it when hibernating, and not
when suspending.
I've worked on it a little, and managed to patch pm-utils to use
kernel's do_suspend and check_suspend, as well as uswsusp for the rest
(when auto-detected). The patch also makes sure that uswsusp's
before_hooks only executes the commands in it when hibernating, and not
when suspending.
--
Chow Loong Jin