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!
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!
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
Opened by Javier (jevv) - Thursday, 11 August 2011, 16:05 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 11 August 2011, 17:55 GMT
|
DetailsDescription:
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