FS#25845 - [linux] remove CONFIG_ACPI_PROCFS_POWER

Attached to Project: Arch Linux
Opened by Tom Gundersen (tomegun) - Wednesday, 31 August 2011, 16:48 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 27 October 2011, 11:38 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I already discussed this with Thomas, so this might be redundant. Just filing it so it is not forgotten.

I get the following warning in dmesg:

ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared

This was scheduled for removal in 2.6.39, but is still there. I suggest trying to disable it for 3.1, if for nothing else than to discover what problems this might cause so the appropriate bug reports can be filed.

From Documentation/feature-removal-schedule.txt:

When: 2.6.39
Why: sysfs I/F for ACPI power devices, including AC and Battery, has been working in upstream kernel since 2.6.24, Sep 2007. In 2.6.37, we make the sysfs I/F always built in and this option disabled by default. Remove this option and the ACPI power procfs interface in 2.6.39.
Who: Zhang Rui <rui.zhang@intel.com>
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 27 October 2011, 11:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.1.0
Comment by Thomas Bächler (brain0) - Wednesday, 31 August 2011, 19:44 GMT
We kept this option enabled because it was needed by KDE 3.5, and then we forgot it. Should be disabled nowadays.
Comment by Mitchell Richters (mjr4077au) - Friday, 09 September 2011, 09:50 GMT
I second this, I get harassed every boot :)
Comment by Tobias Powalowski (tpowa) - Friday, 09 September 2011, 13:12 GMT
Fixed on svn.
Comment by Thomas Bächler (brain0) - Monday, 10 October 2011, 13:06 GMT
Shouldn't we disable CONFIG_ACPI_PROCFS entirely? All ACPI functionality should be in sysfs nowadays.
Comment by Tobias Powalowski (tpowa) - Tuesday, 25 October 2011, 06:51 GMT
Disabled in 3.1