From: Dan Hatton Sent: 04 November 2005 00:39
I'm trying to set up ACPI power management, but I can't get my system to resume from suspend-to-RAM; does anyone have any idea how to proceed, please?
The details: the system is Fedora core 4, on an IBM ThinkPad, with a home-compiled 2.6.14 kernel (but the result is much the same with a Fedora stock 2.6.13 kernel.)
After I suspend with a (bash) script (cobbled together from bits of advice and scripts on the WWW,) run in an xterm, whose functional part is:
rmmod uhci_hcd rmmod ehci_hcd echo `fgconsole` > /var/cache/acpi/vt chvt 8 echo -n "auto_disable" > /proc/acpi/ibm/video echo -n "mem" > /sys/power/state echo -n "auto_enable" > /proc/acpi/ibm/video chvt `cat /var/cache/acpi/vt` rm -f /var/cache/acpi/vt modprobe uhci_hcd modprobe ehci_hcd
then resume by pressing the power button, the system comes back, and shows me my xsession, but then hangs when trying to run any commands.
When I run the script from the console, then resume by pressing the power button, the system dies (after a long-ish pause) with various error messages, in which there are references to "spinlock recursion," "spinlock lockup," and repeatedly to "ATA Timeout."
Dan,
something of an oblique answer I'm afraid but it might point you in the direction of some useful resources.
I've recently been setting up my work HP nx9105 as a dual boot WinXP / Ubuntu system. My main problem was USB not working. This turned out to be ACPI related because of a BIOS bug. (Fix was to turn off ACPI and all my USB devices snapped into use :o) )
My point is that the Ubuntu Wiki and forums have a lot of discussion related to laptops and all things ACPI which may provide some ideas about ways you can figure out a solution.
Regards,
Keith ____________ COMMERCE, n. - A kind of transaction in which A plunders from B the goods of C, and for compensation B picks the pocket of D of money belonging to E. - Ambrose Bierce - The Devil's Dictionary