[patch] make ACPI event call libhal_device_rescan
David Zeuthen
david at fubar.dk
Wed Mar 2 11:22:11 PST 2005
On Tue, 2005-03-01 at 23:28 +0000, Richard Hughes wrote:
>I've just done a quick patch that does a libhal rescan on each ACPI
>device upon each event. Basically, when I remove my power adaptor, the
>ac_adaptor.present is set to false, and all the battery stuff updates
>itself.
>
I've committed this and added some more things so a DeviceCondition is
emitted for e.g. buttons. You need lshal --monitor to see it because
right now h-d-m adds too many rules to the bus if we also need to watch
for DeviceCondition's.
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list