[EMAIL PROTECTED] said: > (aside from your fierce opposition to the competition, is there any rational > reason why I should not have suspend2 in my kernel?)
On more than one occasion, the suspend2 patches have broken both in-kernel swsusp and uswsusp on my laptop. Come to think of it, I wonder how many of the "in-kernel swsusp doesn't work but suspend2 does" reports this is responsible for. > Do people usually use hibernate script or they run s2* directly? And BTW, The hibernate scripts are useful for things like restarting daemons or reconfiguring networking before and after suspend. The better your laptop handles suspend/resume, the less you need the hacks in hibernate. > could somebody point me to the working configuration of /etc/acpi (for > Debian if it matters) for all power button, closing lid, etc.? my /etc/acpi/events/lm_lid has this: event=button[ /]lid.*[02468ace]$ action=/etc/acpi/actions/lm_lid.sh %e (the pattern is because my lid button generates two events each time the lid is closed, so this only responds to the even-numbered ones). My /etc/acpi/actions/lm_lid.sh looks like this: #!/bin/bash grep -q closed /proc/acpi/button/lid/LID/state && hibernate The acpi_listen program is useful for monitoring acpi events while you figure these things out. Jason ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel