Linux.com

Cool!

Posted by: Anonymous Coward on June 07, 2006 12:58 PM
With a few changes, I can get the script to work on Debian Sarge with kernel.org 2.6.16.20. I needed to do two things: disable SMP to get the ACPI sleep kernel option, and add the kernel boot option "acpi_sleep=s3_bios" to get video (radeon) to work after resume. I had a clock issue I fixed by adding to the script:
"/etc/init.d/hwclock.sh stop" before suspend and
"/etc/init.d/hwclock.sh start" after resume

These messages look a bit scary:
Jun 6 21:41:08 hostname kernel: pnp: Failed to activate device 00:09.
Jun 6 21:41:08 hostname kernel: pnp: Failed to activate device 00:0a.
Jun 6 21:41:08 hostname kernel: ACPI Error (evevent-0312): No installed handler for fixed event [00000002] [20060127]

...but nothing is conspicuously wrong after resume.

I didn't need to alter XF86Config and I removed the temp file things from the script.

#

Return to How to suspend and hibernate a laptop under Linux