Questions tagged [acpid]
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.
34 questions
0
votes
1
answer
210
views
IceWM. How to lock screen after laptop lid is closed?
I use the IceWM window manager.
I would like the screen to lock after closing the laptop lid.
I've found a couple of guides that looked promising (1, 2) but unfortunately didn't work for me.
Maybe ...
1
vote
0
answers
131
views
Thinkpad Fn keys randomly stop working
Running void linux on a Thinkpad E15 with KDE. Sometimes, my Fn keys (F1 to F12) stop working. What's interesting is that the FnLock and Fn+Space to toggle keyboard backlight work normally. Just like ...
2
votes
1
answer
2k
views
How to control laptop lid behaviour in Debian 12 in XFCE
I have recently installed Debian 12 amd64 on a Lenovo IdeaPad 100s. There seem to be a problem with the laptop lid, in paricular I do not find where the behaviour the system should take is set.
In ...
3
votes
1
answer
2k
views
How to disable KDE power devil?
For some reason, KDE's power manager doesn't work for me (laptop doesn't go to sleep properly when the lid is closed).
I would like to use ACPI events to handle the power management
However, when I ...
2
votes
0
answers
80
views
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 '...
2
votes
0
answers
419
views
Capture sleep, hibernate and wakeup events on Linux
I need to capture these on both laptop and desktop environmetns. Explored 2 options, but unfortunately none of them worked as expected.
DBus works on desktop but these events also need to be captured ...
0
votes
2
answers
1k
views
Root does not have access to Master control
TL;DR: root doesn't have access to the Master controls on ALSA
My problem
I cannot control volume with my keyboard
The diagnostics I have done
journalctl -f reveals the error amixer: Unable to find ...
0
votes
1
answer
758
views
Switch Pulseeffects profiles on headphones connection/disconnection
this is related to...
[https://unix.stackexchange.com/questions/25776/detecting-headphone-connection-disconnection-in-linux][1]
as the title states, I wanted to switch pulseffects profiles on ...
1
vote
1
answer
1k
views
Debian 10 fails to manage laptop battery (was working fine few days ago)
Debian 10 fails to manage laptop battery (was working fine few days ago).
is battery still detected ? :
upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: ...
-1
votes
1
answer
2k
views
Debian 10 - Power off server using power button, how can I test acpi?
I want to be able to power off my server using the power button on the front of the case, rather than having to login and power it off manually.
From my research thus far I believe I have to install ...
3
votes
2
answers
727
views
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 ...
0
votes
1
answer
2k
views
Why journalctl don't save my logs of the boot before forced shutdown?
My PC freezes a third time and I have to shut it down forcibly. Why doesn't journalctl save the boot logs before forced shutdown? When I do journalctl --list-boots I only get the boot after crash.
I'...
2
votes
1
answer
758
views
How do I actually write acpid event scripts that detect when headphones are plugged in?
I'm using acpid to detect when my headphones are plugged in. According to acpid_listen, the relevant events are
jack/headphone HEADPHONE unplug
jack/headphone HEADPHONE plug
I created the file /etc/...
2
votes
1
answer
2k
views
Is there a way to restart acpid on reboot?
I've installed a package called thinkpad-scripts. Simply put its a bunch of scripts that activate various functionalities on thinkpad devices on linux that wouldn't work out of the box on fresh ...
5
votes
1
answer
11k
views
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 ...