Update (2009.04.21): Suspend / Resume works out-of-the-box; you don't need to make any modifications to any acpi nor pm files, just configure with gnome graphical power management application what needs to be done on laptop lid close.
To configure suspend/resume on lid close/open, log into gnome and then go to
System -> Preferences -> power management
on ac power - when laptop lid is closed - suspend
on battery power - when laptop lid is closed - suspend
Old notes
On ubuntu 8.04, I needed the following setup (not needed on 9.04):
include acpi_sleep=s3_bios on kernel boot options
and have the following setup:
/etc/default/acpi-support
# Should we attempt to warm-boot the video hardware on resume?
#not for U810: POST_VIDEO=true
MODULES="ath_pci ath_rate_sample ath_hal"
/usr/lib/pm-utils/defaults
SUSPEND_MODULES="ath_pci ath_rate_sample ath_hal uvcvideo videodev v4l1_compat v4l2_common"
they say it is best to create a file /etc/pm/config.d/name_of_overriden_config instead of modifying the /usr/lib/pm-utils/defaults
ReplyDeleteHi jpmatrix,
ReplyDeletethanks for your comment.
Anyway, let me leave clear that those are old notes; for ubuntu 9.04 nothing needs to be set up, since suspend / resume works out-of-the-box!
I have modified the entry to clearly state that.