Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: nomer on June 16, 2012, 10:24:41 AM
-
I'm trying to make so I can suspend my machine to memory. I'm running TinyCore 4.5.3
I've installed acpitools.tcz onboot. I then used "acpitool -W " to allow some devices to wake up the machine. Then I tried "sudo acpitool --suspend". Unfortunately, it spits out this error: Function Do_Suspend : could not open file : /proc/acpi/sleep.
You must have write access to /proc/acpi/sleep to suspend your computer.
Sure enough, /proc/acpi/sleep doesn't exist. If I "cd" to /proc/acpi and try "sudo touch sleep" it simply outputs this:touch: sleep: No such file or directory
What gives? How do I create the file or induce some tool to create it?
-
did you run acpid?
-
No, I hadn't orginally.
So I've now installed acpid.tcz onboot. I rebooted the machine, ran "sudo acpid start", added wake up devices, ran "sudo acpitool --suspend", and received the same result.
Hey, I just found suspend-utils.tcz in the repo; maybe I should give that a test.
-
Huzza! suspend-utils.tcz worked. Here were my steps:
1) remove apcitools.tcz and acpid.tcz from onboot.lst
2) install suspend-utils.tcz onboot
3) reboot
4) run "sudo s2ram" to suspend to ram
5) hit a key to resume
I'll mark the OP "[SOLVED]"
-
You might want to keep acpid so you can configure one of your buttons to run s2ram.
-
What gives? How do I create the file or induce some tool to create it?
Acpitools is not up to date with the kernel. The control files are nowadays at /sys/power.
edit: We also seem to have the latest version of it, it hasn't had an update in two years.