You are not logged in.

#1 2015-04-07 01:13:12

ashrj
Member
Registered: 2015-04-04
Posts: 5

How does power management work under Arch?

So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read

https://wiki.archlinux.org/index.php/Acpid
https://wiki.archlinux.org/index.php/Laptop_Mode_Tools
https://wiki.archlinux.org/index.php/Po … CPI_events

Now, I have XFCE4 with its default power manager installed. I'm quite confused as to what it is that I need along with that to get things to work.

In short, which of the following configurations is *correct*, in the sense that it will work without manual configuration out of the box, or with minimal configuration, and has a graphical front-end controllable from XFCE?

- xfce4-power-manager
- systemd -> xfce4-power-manager
- systemd -> acpid
- systemd -> acpid -> xfce4-power-manager

Also, if I want to use laptop-tools, then does this change?

Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?

Offline

#2 2015-04-07 02:15:45

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: How does power management work under Arch?

ashrj wrote:

So, my Arch install doesn't have Suspend to RAM working.

Just to be sure: a manual 'systemctl suspend' doesn't work? Not talking about (automatic) power management for now. I just wanted to make sure first if manual suspension is working.

Last edited by thiagowfx (2015-04-07 02:16:13)

Offline

#3 2015-04-07 02:29:10

ashrj
Member
Registered: 2015-04-04
Posts: 5

Re: How does power management work under Arch?

No. Same behavior with that command as is with xfce4-power-manager suspend.

Screen turns off, and system becomes unresponsive. No LEDS change/flicker. Trying to blindly issue a command after switching to tty2 has no effect either, so it is freezing. Interestingly, the CPU fan goes crazy. Starts running at high speed/full, irrespective of previous state.

Offline

#4 2015-04-13 23:00:05

chap
Member
Registered: 2013-07-08
Posts: 11

Re: How does power management work under Arch?

ashrj wrote:

No. Same behavior with that command as is with xfce4-power-manager suspend.

Screen turns off, and system becomes unresponsive. No LEDS change/flicker. Trying to blindly issue a command after switching to tty2 has no effect either, so it is freezing. Interestingly, the CPU fan goes crazy. Starts running at high speed/full, irrespective of previous state.

Have you tried to switch to linux-lts?

Offline

#5 2015-04-16 14:06:08

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: How does power management work under Arch?

ashrj wrote:

So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read
...
Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?

If you are using Xfce you don't need acpid and instead of laptop-tools try TLP which enabled successful suspend to ram on an older laptop I had, with Xfce on it.

Offline

Board footer

Powered by FluxBB