HAL fix for multiple battaries
Ted Gould
ted at ubuntu.com
Wed Feb 20 17:19:04 UTC 2008
On Wed, 2008-02-20 at 08:55 +0100, Martin Pitt wrote:
> Ted Gould [2008-02-19 14:31 -0800]:
> > So, here is the bug:
> >
> > https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/177570
> >
> > Basically with the .24 kernel there are sysfs and proc interfaces for
> > many batteries making it so that HAL reports two, and thus GPM reports
> > two. There is a link to a patch in upstream HAL that fixes the multiple
> > listing problem. But, what it does is not list ANY proc batteries if a
> > sysfs one is found. Is that correct? Are all battery interfaces
> > migrated to sysfs in .24?
>
> Fixing this is on my TODO list, there is an existing hal patch for
> this.
Yes, but that HAL patch ignores all battery entries in /proc if it finds
one in /sys. Which seems rather risky to me... but I was curious if
that seems logical to those who know the kernel better.
--Ted
More information about the Ubuntu-devel-discuss
mailing list