Problem: Cannot connect to Acpid

Doug Goldstein cardoe at gentoo.org
Thu Dec 29 12:24:00 PST 2005


Fabian Zeindl wrote:
> Richard Hughes wrote:
> 
>>Try adding
>>
>>--disable-acpi-acpid
>>or
>>--disable-acpi-proc
>>
>>to the configure line. I think the configure line is confusing and needs
>>to be changed:
>>
>>--disable-acpi-acpid     Use ACPI daemon event source
>>--disable-acpi-proc      Use ACPI kernel-interface directly(the kernel 
>>			 supports only one listener)
> 
> 
> Ok, when I add both options it works. Weirdly "--disable-acpi-acpi-proc"
> Enables the acpi proc source and --disable-acpi-acpid disables the use
> of acpid. As far as I understood if you want acpi support at all you
> need "--disable-acpi-acpi-proc" and if you don't want to use acpid (=
> use /proc/acpi/event directly) you need "--disable-acpi-acpid too".
> 
> If I'm right, this should be fixed in configure.
> (--disable-acpi-acpi-proc source should be renamed to
> --enable-acpi-acpi-proc)
> 
> When you tell me that's true I will file a bug in gentoos bugzilla
> because the current package doesn't handle this correctly).
> 
> greetings
> fabian
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal

Since HAL does not fully replace acpid yet (i.e. on my system to get the
screen to turn off when I close the lid I have to use acpid), then we
don't call the disable-acpi-acpid because it gives the posibility for
those that have acpid installed for HAL to work through it. However if
you don't, it will use the /proc/acpi/event interface.

-- 
Doug Goldstein <cardoe at gentoo.org>
http://dev.gentoo.org/~cardoe/


More information about the hal mailing list