LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   laptop won't sleep after switching to 'openrc' (https://www.linuxquestions.org/questions/debian-26/laptop-won%27t-sleep-after-switching-to-%27openrc%27-4175588339/)

xiongnu 08-30-2016 03:44 PM

laptop won't sleep after switching to 'openrc'
 
i installed 'openrc' and removed 'systemd' for my debian8 on thinkpad.

however, laptop now won't go to sleep after closing the lid.

Mitt Green 08-31-2016 12:30 PM

I hate to break it to you, but you aren't supposed to replace systemd on Debian. For OpenRC you might want to try Gentoo/Funtoo, Alpine or any kind of a flexible distribution (i.e. that doesn't have systemd).

Timothy Miller 08-31-2016 12:38 PM

Debian 8 it's still officially possible to remove SystemD to run another init. While systemd is the default, they still have SysVinit and they are still ofifially support systemd-less installs.

Mitt Green 08-31-2016 12:40 PM

Quote:

Originally Posted by Timothy Miller (Post 5598845)
Debian 8 it's still officially possible to remove SystemD to run another init. While systemd is the default, they still have SysVinit and they are still ofifially support systemd-less installs.

No one wants to have pain in their arses though.

xiongnu 08-31-2016 04:28 PM

thanks! PowerManagement on debian8 is tied with systemD
'systemctl suspend' won't work

i use commands below to put laptop to sleep:

echo -n mem >/sys/power/state

to suspend to ram and

echo -n disk >/sys/power/state

to suspend to disk.


All times are GMT -5. The time now is 08:36 AM.