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. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87vcuqxklc....@turtle.gmx.de