Didier Raboud wrote:
Le dimanche, 27 janvier 2008 03.01:25 Michael Biebl, vous avez écrit :
Didier Raboud wrote:
Package: hal
Version: 0.5.10-5
Severity: important

--- Please enter the report below this line. ---
Hi,

I think that hal is not reporting what it should about battery states (at
least).
This is partly related to #455198 and the new power sysfs interface in
kernel 2.6.24.
I bet you have
CONFIG_ACPI_SYSFS_POWER=y
and
CONFIG_ACPI_PROCFS_POWER=n

Until this new sysfs interface is stable and fully functional within hal
I'd suggest to use
CONFIG_ACPI_SYSFS_POWER=n
CONFIG_ACPI_PROCFS_POWER=y

This is obviously not the real fix, but better than broken battery
values atm.

Cheers,
Michael

Well. The thing is that I'm using the kernel from debian-kernel team with this entry in latest changelog :

linux-2.6 (2.6.24-1~experimental.1) UNRELEASED; urgency=low
(...)
  * [amd64, i386]: Enable ACPI_SYSFS_POWER and disable ACPI_PROCFS_POWER.

So this is visibly the default behavior which is about to land in experimental.

This is still a bug in hal though. :)

Depends. A lot of information (on my system) is missing in the new /sys interface (that's also why I prefer proc atm). Also, what you describe is simply hal reporting the values provided by the kernel. So it might actually be a kernel issue after all.


Cheers,
Michael

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to