v2.6.24-rc1-497-gb1d08ac: kde battery icon gone
i just wanted to report this:
in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed.
with 2.6.23 shows the battery icon.
current config:
grep -i acpi .config
# Power management options (ACPI, APM)CONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not setCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=mCONFIG_ACPI_BAY=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not setCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_SBS=mCONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not setCONFIG_HOTPLUG_PCI_ACPI=m
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not setCONFIG_PNPACPI=y
# CONFIG_THINKPAD_ACPI is not setCONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
Quoted 3 lines · Thomas Meyer
i just wanted to report this:
in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed.
Appropriate CCs added.
Quoted 40 lines
with 2.6.23 shows the battery icon.
current config:
grep -i acpi .config
# Power management options (ACPI, APM)CONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
#CONFIG_ACPI_PROCFSis not setCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=mCONFIG_ACPI_BAY=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=m
#CONFIG_ACPI_ASUSis not set
#CONFIG_ACPI_TOSHIBAis not setCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=y
#CONFIG_ACPI_DEBUG_FUNC_TRACEis not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_SBS=mCONFIG_X86_ACPI_CPUFREQ=m
#CONFIG_X86_ACPI_CPUFREQ_PROC_INTFis not setCONFIG_HOTPLUG_PCI_ACPI=m
#CONFIG_HOTPLUG_PCI_ACPI_IBMis not setCONFIG_PNPACPI=y
#CONFIG_THINKPAD_ACPIis not setCONFIG_ATA_ACPI=y
#CONFIG_PATA_ACPIis not set-
Quoted 6 lines · Thomas Meyer
i just wanted to report this:
in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed.
with 2.6.23 shows the battery icon.
Quoted 7 lines
current config:
grep -i acpi .config
# Power management options (ACPI, APM)CONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
#CONFIG_ACPI_PROCFSis not set
And if you enable it (ACPI_PROCFS)?
Quoted 3 lines · Andrey Borzenkov
Quoted 1 line
#
CONFIG_ACPI_PROCFSis not setAnd if you enable it (
ACPI_PROCFS)?
ACPI_PROCFS was newly introduced i think but without a 'default y' Kconfig entry. That was a mistake i think - it broke some power management tools on my laptop too.
Ingo
Quoted 9 lines · Ingo Molnar
Quoted 3 lines · Andrey Borzenkov
Quoted 1 line
#
CONFIG_ACPI_PROCFSis not setAnd if you enable it (
ACPI_PROCFS)?
ACPI_PROCFSwas newly introduced i think but without a 'default y'Kconfigentry. That was a mistake i think - it broke some power management tools on my laptop too.
It is not that new but battery started to make use of it only now. It provides replacement interface via sysfs power_supply object; this should be supported by modern power tools - at least hal/kpowersave do not have any issues.
-andrey
Quoted 11 lines · Andrey Borzenkov
Quoted 8 lines · Thomas Meyer
i just wanted to report this:
in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed.
with 2.6.23 shows the battery icon.
current config:
Quoted 9 lines
Quoted 6 lines
grep -i acpi .config
# Power management options (ACPI, APM)CONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
#CONFIG_ACPI_PROCFSis not setAnd if you enable it (
ACPI_PROCFS)?
And there it is again...
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Rafael J. Wysocki
Quoted 14 lines
See this commit:
commit
fb804714560463534ebcb538a3b0a3c687a830ecAuthor: Len Brown <[email protected]> Date: Tue Jul 24 01:50:46 2007 -0400ACPI:
Kconfig:CONFIG_ACPI_PROCFSnow defaults to Ndelete "default y" from
CONFIG_ACPI_PROCFS
(effectively making the default 'N')List exactly what /proc files this option controls, and clarify that it doesn't change non-deprecated files.
Quoted 8 lines
Quoted 3 lines
Signed-off-by Len Brown <[email protected]>So at least battery change should have added
/proc/acpi/batteryto this list.IMHO, the source of the problem is the battery change that has introduced the dependency on
ACPI_PROCFS_although_ it's unset by default and that is a regression (ie. confuses users with older user space).
"older user space" meaning just about every Linux box that is out there at the moment. So this is a regression, the user does not care why it happened, and needs fixing.
Quoted 4 lines
Quoted 1 line
May be we need separate
ACPI_PROCFS_xxxfor every subsystem.Well, I'm not sure. I think that documenting the dependency should be sufficient.
No. We never remove a bit of relied-on API from the kernel like that. At minimum it must go through a long deprecation cycle before it's turned off by default. Really, is this some sort of weird "how can we piss off and lose as many beta testers as possible in the shortest amount of time" contest? Will people search for a few new lines of documentation (out of the 1 million lines of kernel code that 2.6.24 changes) when 'make oldconfig' breaks their laptop setup - or will they just go over to a more tester-friendly project? Compatibility is our utmost priority (and your regressions list is a very good tool for us to keep compatibility), especially in an incredibly easy case like this where the fix is 1 changed byte with no harm done to anyone.
Ingo