[Pkg-utopia-maintainers] Bug#462723: hal does not give actual values of battery states with 2.6.24

Michael Biebl biebl at debian.org
Sun Jan 27 02:42:46 UTC 2008


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080127/e2d459df/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list