I found a possible workaround here: http://xgwang.wordpress.com/2007/11/26/close-the-lid-suspend-to-memory-on-thinkpad-x40-andubuntu-gutsy/
Basically change action=/etc/acpi/lid.sh to action=/etc/acpi/sleepbtn.sh in /etc/acpi/events/lidbtn However, it does not work for me. I'm using a Sony Vaio VGN-SZ71WN. If I run sudo /etc/acpi/sleepbtn.sh manually the laptop suspends, but simply closing the lid does not trigger this. I changed the action to a different script as a test and it also was not executed. I have confirmed that the lid close is being detected somehow. /proc/acpi/button/lid/LID0/state is getting updated. I ran the following script to print out the lid open/closed status once a second, and closed the lid and opened it a few times. The output was correct, the lid was reported as closed at the relevent times. while true; do cat /proc/acpi/button/lid/LID0/state; sleep 1; done So ACPI seems to know that the lid is being closed and opened, but nothing is happening as a result. I also found the following file, /etc/acpi/events/sony-sleep, which calls the correct suspend script (/etc/acpi/sleepbtn.sh) already, however it is listening for an ACPI key event. When I run acpi_listen and close and open my lid, nothing is logged. r...@lappy:/etc/acpi/events# cat sony-sleep # /etc/acpi/events/sony-sleep event=sony/hotkey SPIC 00000001 0000000b action=/etc/acpi/sleepbtn.sh It seems to me there are two possible ways for ACPI to suspend the laptop, either the /etc/acpi/events/lidbtn script, or (in my case) /etc/acpi/events/sony-sleep. Neither are working! I'm using Ubuntu Jaunty by the way. -- suspend when closing laptop lid doesn't work https://bugs.launchpad.net/bugs/44058 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs