[patch] make ACPI event call libhal_device_rescan

Richard Hughes richard at hughsie.com
Tue Mar 1 15:28:10 PST 2005


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 hope the patch is okay.

Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-device_rescan-foracpi.patch
Type: text/x-patch
Size: 1532 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050301/3cd0f0f1/hal-device_rescan-foracpi.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list