ACPI Events not triggered after booting
Posted
by
user3208188
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user3208188
Published on 2014-06-12T15:20:50Z
Indexed on
2014/06/12
15:40 UTC
Read the original article
Hit count: 187
I purchased a Convertible (Laptop and Tablet, Ubuntu 14.04 installed) and would like to execute a script when changing from laptop to tablet mode and the other way around. So I created two new files within the /etc/acpi/events folder corresponding to two new scripts in the /etc/acpi folder.
Everything works well if I create a new acpid process (e.g "sudo acpid -c /etc/acpi/events -s /var/run/acpid.socket") manually. However, if I do not initiate this process manually the scripts are not executed, even though there is a process running with the same options right after the machine has booted by default.
The only difference I can find is the parent pid. If I create the process the parent is "init --user", while the parent of the automatically initiated process is "/sbin/init".
Can anyone help me by explaining why this issue happens and how I can avoid to start an acpid process manually every time I boot the device?
© Ask Ubuntu or respective owner