kernel 2.6.24 - Doubled number of batteries with ACPI_PROCFS

Danny Kukawka danny.kukawka at web.de
Sat Oct 27 13:57:59 PDT 2007


On Samstag, 27. Oktober 2007, Andrey Borzenkov wrote:
> In kernel 2.6.24-rc1 if I turn on ACPI_PROCFS number of batteries in HAL is
> doubled; it gets them once via sysfs and once via /proc. Because there may
> be legal reasons to enable ACPI_PROCFS for compatibility and because there
> is no way to disable sysfs entries it would be nice if HAL could detect
> those duplicates. What I am not exactly sure, how. After all we may have
> non-ACPI batteries in sysfs and ACPI ones in procfs ...
>
> -andrey

Okay, I take a look at this. Could you send me your lshal output directly?

Danny


More information about the hal mailing list