[PATCH] Re: Repeated property-changed signals

David Zeuthen david at fubar.dk
Wed Apr 4 15:50:40 PDT 2007


On Wed, 2007-04-04 at 23:34 +0200, Danny Kukawka wrote:
> On Mittwoch, 4. April 2007, Danny Kukawka wrote:
> > On Mittwoch, 4. April 2007, Richard Hughes wrote:
> > > With git I'm getting the following when I remove AC:
> > >
> > > 15:56:02.865: acpi_ACAD property ac_adapter.present = false
> > > 15:56:03.041: acpi_ACAD property ac_adapter.present = false
> > > 15:56:03.048: acpi_BAT1 property battery.charge_level.percentage = 96
> > > (0x60) 15:56:03.051: acpi_BAT1 property battery.charge_level.percentage =
> > > 96 (0x60)
> > >
> > > acpi_listen seems to think that there is one event from either device,
> > > so I'm unsure what the problem is here.
> >
> > I can confirm this, I take a look at the problem. It is IMO something in
> > the acpi code, could not see this atm for other devices.
> 
> This is a general problem. The signal for device_property_changed is listed 
> twice in hald.c in function hald_get_gdl().
> 
> See attached patch.

Nice work guys - committed and pushed to both master and
hal-0_5_9-branch. Thanks!

     David




More information about the hal mailing list