[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't suspend in linux-image-3.0.0-1



Hugo Vanwoerkom wrote:
Sven Joachim wrote:
On 2011-07-25 20:39 +0200, Sven Joachim wrote:

On 2011-07-25 20:29 +0200, Hugo Vanwoerkom wrote:

I can't issue 'acpitool -S' in linux-image-3.0.0-1:

 Function Do_Suspend : could not open file : /proc/acpi/sleep.
You must have write access to /proc/acpi/sleep to suspend your computer.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635391
Please reassign this bug to acpitool, it needs to use /sys/power/state
instead.  /proc/acpi/sleep has been deprecated since Linux 2.6.23 and
was removed in 2.6.36.

Looking into the source, acpitool *does* use /sys/power/state on 2.6
kernels but defaults to /proc/acpi/sleep on other versions.  It also
parses /proc/sys/kernel/osrelease for obtaining the kernel version
instead of using uname(2) like everybody else.  Oh well.


Thanks Sven, you go ahead of me. I was just going to look at the source.
Bug is closed.


I meant 'got' ahead of me. The keyboard got ahead of me too.
It's http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635537

Hugo


Reply to: