hal: Branch 'master'

David Zeuthen david at fubar.dk
Mon Aug 27 12:07:01 PDT 2007


On Mon, 2007-08-27 at 21:09 +0200, Danny Kukawka wrote:
> On Montag, 27. August 2007, David Zeuthen wrote:
> > New commits:
> > diff-tree 60d18a1852680559c8db96e25e09e62048ad3669 (from
> > 9aa4c3acde9e4d37fb5d2f9c39a76fec568111c2) Author: David Zeuthen
> > <davidz at redhat.com>
> > Date:   Mon Aug 27 14:11:43 2007 -0400
> >
> >     use direct connection if available
> >
> >     Without this NM's excessive calls into GetPower() for wlan killswitch
> >     results in a lot of NameOwnerChanged signals and unique bus name
> >     usage.
> 
> Hi,
> 
> we found this problem also already. IMO NM should find a way to stop this 
> excessive polling on GetPower(). This cause with every call at least 3 forks 
> (hal-system-killswitch-get-power, hal-system-lcd-get-brightness-linux and 
> hal-ipw-killswitch-linux/dellWirelessCtl). 
> 
> On the other hand we may could make this a addon, but for this we have to 
> write our own code for dellWirelessCtl. 

Yeah, it's pretty suboptimal as it is right now. I regret adding support
for this; we should have just waited until the kernel sends out async
events... Hindsight is always 20/20.

      David




More information about the hal-commit mailing list