Re: HAL fix for multiple battaries

2008-02-21 Thread Matthew Garrett
On Wed, Feb 20, 2008 at 09:19:04AM -0800, Ted Gould wrote: > 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. Yes, the only way a battery can en

Re: HAL fix for multiple battaries

2008-02-20 Thread Ted Gould
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 m

Re: HAL fix for multiple battaries

2008-02-19 Thread Martin Pitt
Hi Ted, 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 > tw

HAL fix for multiple battaries

2008-02-19 Thread Ted Gould
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 t