[patch] Add refresh event

Richard Hughes hughsient at gmail.com
Tue Jul 3 04:22:22 PDT 2007


Some stuff in sysfs now sends out uevents when values change. A good
example of this is the power_supply class which sends out a uevent when
the percentage value changes or the battery or ac adapter is removed.

At the moment we ignore the uevents, but the attached patch adds a
refresh() method that can be used to update the values.

Please review,

Richard.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-power_supply.patch
Type: text/x-patch
Size: 13777 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070703/9efedd00/attachment-0001.bin 


More information about the hal mailing list