[Pkg-acpi-devel] Bug#766991: acpid: does not process events

Michael Biebl biebl at debian.org
Wed Nov 5 13:52:27 GMT 2014


Am 05.11.2014 um 14:25 schrieb Norbert Preining:
> Hi TEd, hi Michael (Meskes),
> 
>> override_dh_systemd_enable:
>>        dh_systemd_enable --no-enable debian/acpid.service
>>        dh_systemd_enable debian/acpid.socket
> 
> That --no-enable should probably removed in the rules file.
> There are more kernel modules out there (thinkpad?...) that
> send acpi events via the kernel, thus not starting the
> acpid would disable all of them.

Well, the kernel events are not disabled if acpid is not running. I
think what you meant can be summarised as:

There are different use cases for acpid:
a/ dispatching acpi events via /run/acpid.socket. Those events are
consumed by 3rd party applications which read from the socket file.
Using systemd socket activation means, acpid is only started on demand
if there is actually a consumer requiring acpid.
E.g. traditionally, this was the way, Xorg read ACPI events.

b/ acpid's internal event processing which calls (shell) scripts on
certain events which are defined in /etc/acpi/.


I assume Norbert is using acpid in mode b/, so what he noticed was, that
his shell scripts in /etc/acpi/ were not processed as he apparently
doesn't have a service which triggers the start of acpid by reading from
/run/acpid.socket.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141105/ef33359d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list