Breezy Suspend/Resume working finally
Shannon McMackin
mcmackin at earthlink.net
Sat Sep 17 03:46:29 UTC 2005
Grant Edwards wrote:
> On 2005-09-17, Michael R Head <burner at suppressingfire.org> wrote:
>
>
>>>I've been trying to figure out how to get suspend to work on my
>>>Dell I5000 -- is there an ACPI HOWTO somewhere?
>>
>>You _probably_ just need to edit /etc/default/acpi-support and uncomment
>>ACPI_SLEEP=3Dtrue
>>
>>sleep is disabled by default for some reason.
>
>
> I'd like to get suspend to work first.
>
> When I cose the cover, the acpid cpu usage jumps to 20% and it
> hammers on the disk continuously until I kill acpid. The
> acpid log fills up with messages like this:
>
> xscreensaver-command: not active: idle timer reset.
>
> [Fri Sep 16 15:23:58 2005] END HANDLER MESSAGES
> [Fri Sep 16 15:23:58 2005] action exited with status 1
> [Fri Sep 16 15:23:58 2005] completed event "button/lid LID 00000080 000001aa"
> [Fri Sep 16 15:23:58 2005] received event "button/lid LID 00000080 000001ab"
> [Fri Sep 16 15:23:58 2005] notifying client 5228[113:113]
> [Fri Sep 16 15:23:58 2005] executing action "/etc/acpi/lid.sh"
> [Fri Sep 16 15:23:58 2005] BEGIN HANDLER MESSAGES
> xscreensaver-command: not throttled.
>
> xscreensaver-command: not active: idle timer reset.
>
> [Fri Sep 16 15:23:59 2005] END HANDLER MESSAGES
> [Fri Sep 16 15:23:59 2005] action exited with status 1
> [Fri Sep 16 15:23:59 2005] completed event "button/lid LID 00000080 000001ab"
> [Fri Sep 16 15:23:59 2005] received event "button/lid LID 00000080 000001ac"
> [Fri Sep 16 15:23:59 2005] notifying client 5228[113:113]
> [Fri Sep 16 15:23:59 2005] executing action "/etc/acpi/lid.sh"
> [Fri Sep 16 15:23:59 2005] BEGIN HANDLER MESSAGES
> xscreensaver-command: not throttled.
>
> xscreensaver-command: not active: idle timer reset.
>
> [Fri Sep 16 15:23:59 2005] END HANDLER MESSAGES
> [Fri Sep 16 15:23:59 2005] action exited with status 1
> [Fri Sep 16 15:23:59 2005] completed event "button/lid LID 00000080 000001ac"
> [Fri Sep 16 15:23:59 2005] received event "button/lid LID 00000080 000001ad"
> [Fri Sep 16 15:23:59 2005] notifying client 5228[113:113]
> [Fri Sep 16 15:23:59 2005] executing action "/etc/acpi/lid.sh"
> [Fri Sep 16 15:23:59 2005] BEGIN HANDLER MESSAGES
> xscreensaver-command: not throttled.
>
>
>
>
The default lid function, as it would seem under breezy, is to blank the
screen and lock it with a screensaver.
If you change the way the lid action functions, for example:
/etc/acpi/events/lidbtn
> # /etc/acpi/events/lidbtn
> # Called when the user closes or opens the lid
>
> event=button[ /]lid
> action=/etc/acpi/lid.sh
calls /etc/acpi/lid.sh
Change that script to call sleep.sh and it should suspend to RAM on lid
closure.
Try running sleep.sh and see what happens. Any mods to
/etc/default/acpi-support should allow suspend to RAM to function.
Shannon
More information about the ubuntu-users
mailing list