acpid is a small daemon that responds to power-related events, such as closing the laptop lid or pressing the power button. It is responsible for behaviors such as suspending the computer when the laptop lid is closed. acpid services may be provided by the traditional acpid implementation, as well as a systemd-provided version.
Questions tagged [acpid]
31 questions
32
votes
3 answers
message at shutdown: watchdog did not stop!
At shutdown I often get the message
watchdog did not stop!
and then the laptop freezes after few other lines without shutting down.
Any idea on how to fix this? Recently it happened very often, usually when the laptop was powered on for some…
Reyx_0
- 911
- 3
- 12
- 23
12
votes
2 answers
Power button does not trigger suspend (nor anything)
I would like to set the power button in my laptop to initiate suspension. Note that I can trigger suspension by closing the lid, or using pm-suspend, so the problem is the button, not the suspend process itself. I use Gnome, and through the tweak…
Pythonist
- 737
- 7
- 15
8
votes
3 answers
Do I need acpid in a virtual machine?
I'm always wondering if power management facilities in a virtual machine is necessary?
i.e acpid.
And I'm not sure if they still function in a virtual machine.
daisy
- 53,527
- 78
- 236
- 383
5
votes
2 answers
SMBus/IPMI/GenericSerialBus write requires Buffer of length 66, found length 32
today my nas debian 9 based started to write out this error in the startup phase, the same is reported in red by calling journalctl -xe:
ACPI Error: SMBus/IPMI/Generic write requires Buffer of length 66, found length 32 (20160831/exfield-427)
ACPI…
user3450548
- 2,714
- 11
- 29
- 46
5
votes
1 answer
Setting up kernel keyboard mapping
I already got the keycode from kernel, but acpi_listen won't recognize it in Arch Linux:
# /usr/lib/udev/keymap -i /dev/input/by-path/platform-thinkpad_acpi-event
Press ESC to finish, or Control-C if this device is not your primary keyboard
scan…
daisy
- 53,527
- 78
- 236
- 383
5
votes
2 answers
Graceful shutdown via power button
I want to be able to shutdown my CentOS 7 machine by pressing the power button. Since it doesn't work out of the box, I tried the following:
yum -y install acpid
service acpid start
chkconfig acpid on
Unfortunately without effect, probably because…
royskatt
- 227
- 1
- 3
- 8
5
votes
2 answers
ACPId suspend-to-ram: can you specify waking up using keyboard events?
This is Gentoo Linux with OpenRC (updated to systemd later on), and ACPI + some power management features in the kernel for Intel. ACPId is up and running. I can suspend to ram using:
echo -n "mem" > /sys/power/state
This works, but I need to use…
user44370
4
votes
1 answer
Change the cpufreq driver from intel pstate to acpi
I am trying to disable the intel pstate cpufreq driver and replace it with acpi to get maximum cpu control. I tried this.
vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable quiet splash"
or…
JRD
- 71
- 1
- 4
4
votes
1 answer
What's the difference between udev and acpi(d)
They both seem to be receiving & processing kernel events, so why do they both exist? From what I gather, ACPI seems to be more high-level compared to udev, but apart from that can't really tell.
Related to What's the relation betwen ACPI, udev, HAL…
laur
- 527
- 1
- 4
- 17
3
votes
1 answer
Why won't this shutdown script work when executed by ACPID?
Based on this thread I modified my /etc/acpi/powerbtn.sh script to account for LXDE sessions:
# getXuser gets the X user belonging to the display in $displaynum.
# If you want the foreground X user, use getXconsole!
getXuser() {
user=`pinky…
Glutanimate
- 2,168
- 4
- 22
- 38
3
votes
2 answers
Which daemon or Linux command makes init 0 or shutdown happen when I press the power button?
When I press the power button, Linux goes to init 0 (or shutdown clean).
In the old times (2003) I had to configure acpid to give the shutdown function to the power button.
Today on Slackware-current I did:
cat /etc/apci/event/default
#event=button…
elbarna
- 12,050
- 22
- 92
- 170
3
votes
1 answer
Acpid action works when ran as root but not when started by systemd
On Fedora 23 I wanted to add custom action when laptop lid is opened. I have installed acpid and created three files:
/etc/acpi/events/lidconf
event=button/lid
action=/etc/acpi/actions/lid.sh…
Fenikso
- 171
- 4
3
votes
0 answers
Acpid event denied by SELinux, how can I savely allow the event without opening security holes?
I installed Fedora (3.17.2-200.fc20.x86_64) on my new Notebook (Lenovo Yoga Pad) and wanted to add this script to trigger whenever I flip over my screen. The script triggered whith the event is located in /etc/acpi/actions and owned by root.
The…
user91968
2
votes
1 answer
Acpid and Startup Brightness
On Arch Linux on my laptop, I have acpid control the brightness level based on AC plug events. Plugging in gives me max brightness and running on battery sets it at the minimum.
My problem is that when I start the laptop, the brightness is always at…
user22531
2
votes
0 answers
Problems with brightness media buttons
While setting up hotkeys in my window manager I find out that if I would press the brightnessup\brightnessdown button(which changes brightness as it should) and after that go to terminal, pressing 'Enter' there would lead to the change of screen…
TheShellOfAMan
- 41
- 7