Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25513 - [acpitool] acpitools does not support new kernel version name change to 3.0

Attached to Project: Community Packages
Opened by Javier (jevv) - Thursday, 11 August 2011, 16:05 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 11 August 2011, 17:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

acpi really supports /sys/power/state, however it evaluates the kernel version from /proc/sys/kernel/osrelease I believe, and then if it matches 2.4 it considers the kernel 2.4, and if it matches 2.6 it considers the kernel 2.6, and by default it considers it 2.4.

My guess is the default should be instead 2.6, and the only case to evaluate should be 2.4, in case you cahnge behavior, :-)

Any ways, on debian the bug was filed as well, and there's even a patch suggested:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635537

But the patch suggest evaluating for 3.0 as well. In my mind the default should be 2.6 (without evaluating anything), and 2.4 should be the only one evaluated to change behavior.

Any ways, this prevents acpitool to suspend to disk properly on arch. Not sure if the bug was filed on upstream acpitool yet. I filled a form as suggested on the main page, but in the meantime perhaps a temporal patch could be applied while the author provides a fix...

Thanks,

Javier.


Additional info:
* package version(s)

% pacman -Ss acpitool
community/acpitool 0.5.1-2 [installed]

* config and/or log files etc.

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

Steps to reproduce:

% sudo acpitool -S
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 11 August 2011, 17:55 GMT
Reason for closing:  Fixed

Loading...