FS#26494 - [libacpi] needs patching to use /sys/class/power_supply rather than /proc/acpi

Attached to Project: Community Packages
Opened by Jamie Kitson (JamieKitson) - Monday, 17 October 2011, 21:01 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 18 October 2011, 09:36 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

libacpi still uses /proc/acpi which is depreciated. It doesn't seem like the author has updated it, but from some googling it seems like it has been patched in other distos such as Debian and Gentoo.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 18 October 2011, 09:36 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Monday, 17 October 2011, 21:54 GMT
Confirmed.

strace -o /dev/stdout test-libacpi | grep "/proc/acpi"
Comment by Sergej Pupykin (sergej) - Tuesday, 18 October 2011, 09:27 GMT
Debian patch applied. Now it should use /sys/ entries too.

Loading...