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

Richard Hughes hughsient at gmail.com
Wed Oct 19 02:17:56 PDT 2005

On Wed, 2005-10-19 at 00:15 +0200, Danny Kukawka wrote:
> 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.

I thought Ryan fixed this with the "reconnecting" stuff... I've cc'd him
as i don't think he's on hal-devel list.

> 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.

I get this sometimes, and then subsequently loose all acpid events (as
I'm not running acpid). Is it worth trying to reconnect to the proc
event source or is this a kernel bug somewhere?

> Please review.

I'll give it a go tonight,


More information about the hal mailing list