[PATCH] fix for acpi-addon if use/compile with acpid

Danny Kukawka danny.kukawka at web.de
Tue Oct 18 15:15:38 PDT 2005


Hi,

this path fix a problem if you compiled the acpi addon (hald-addon-acpi) 
for/with acpid support. This patch should prevent that the addon exit, if the 
acpid is not running on startup of HAL. Without the patch you need to restart 
hald if the acpid is started later.

With this patch I also changed the position of the defines for acpid and 
kernel proc event source to remove unneeded function call. Also added a debug 
message, if the addon lost the connection to the acpi proc interface.

Please review.

Cheers,

Danny

 ChangeLog                       |   10 ++++++++++
 hald/linux2/addons/addon-acpi.c |   18 +++++++++---------
 2 files changed, 19 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-addon_acpi_for_acpid.diff
Type: text/x-diff
Size: 2694 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051019/41abaae1/hal-fix-addon_acpi_for_acpid.bin


More information about the hal mailing list