LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't suspend or hibernate (http://www.linuxquestions.org/questions/slackware-14/cant-suspend-or-hibernate-815971/)

0zMe 06-23-2010 02:41 PM

Can't suspend or hibernate
 
Hello everybody.

I'm using the version 13 of Slackware. I can't suspend or hibernate my OS. I need something named HAL.

Searched a bit on the net but couldn't really figure something out.
Hope you guys can help me.

0zMe 06-23-2010 03:36 PM

I have found that it has something to do with the rights of my user account. I logged in as root and could suspend and also hibernate.
How do I have do setup my account to have enough rights?

T3slider 06-23-2010 04:16 PM

You should probably add your user to the "power" group. The plugdev, audio, video and cdrom groups would be useful as well for other reasons. The following command would do nicely (as root):
Code:

for i in power plugdev audio video cdrom; do gpasswd -a user "$i"; done
where user is your username.

axlshear 06-26-2010 01:32 PM

I have the same issue, can suspend and hibernate when logged in as root but not under my user account. The user account is added to the power group but still doesn't do anything. Can't figure out what else I'm missing.

0zMe 06-26-2010 07:17 PM

Quote:

Originally Posted by T3slider (Post 4013078)
You should probably add your user to the "power" group. The plugdev, audio, video and cdrom groups would be useful as well for other reasons. The following command would do nicely (as root):
Code:

for i in power plugdev audio video cdrom; do gpasswd -a user "$i"; done
where user is your username.

T3slider, many thanks for your help. Your solution solved my problem.
After that command I had to restart my computer to be able to suspend or hibernate.

axlshear 06-27-2010 01:43 PM

Worked for me too. I thought I could just logout and log back in but had to do a full restart. Thanks!


All times are GMT -5. The time now is 09:30 PM.