FS#26416 - [linux] regression - powertop 2 doesn't work anymore after 3.0.4 -> 3.0.6 update
Attached to Project:
Arch Linux
Opened by Kev (Kev) - Wednesday, 12 October 2011, 17:12 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 29 October 2011, 06:38 GMT
Opened by Kev (Kev) - Wednesday, 12 October 2011, 17:12 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 29 October 2011, 06:38 GMT
|
Details
Description:
After upgrading the kernel from 3.0.4 to 3.0.6 on archlinux powertop2 is not able to get the current discharge rate (watt). I guess some confing option in the kernel config file has been changed. Additional info: * package version(s) working: <= linux-3.0.4-1 not working: linux 3.0.6-1 and 3.0.6-1 Steps to reproduce: Install Powertop 1.98-1 (https://aur.archlinux.org/packages.php?ID=48935) on an acpi working laptop with linux-3.0.4-1 and run "sudo powertop" while the laptop is discharging the battery -> it will show you the current watts discharging. Upgrade to linux 3.0.6-1/2 and reboot. Run "sudo powertop" -> the information about the power consume (watt) is missing. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 29 October 2011, 06:38 GMT
Reason for closing: Won't fix
Saturday, 29 October 2011, 06:38 GMT
Reason for closing: Won't fix
Why do they remove a function in a bugfix (minor) release?!
Do you have a git commit link?
Face it: /proc/acpi/battery is deprecated upstream since 2.6.24. Software that hasn't adapted to the sysfs interface should get fixed instead of adding old shit back to the kernel.
There has been some effort from a gentoo dev to add sysfs support to powertop, but nobody ever looked at his patch, resulting in the current broken behaviour:
http://permalink.gmane.org/gmane.linux.power-management.powertop/1155