[SOLVED] Cannot suspendo to RAM nor disk on Dell Inspiron 1525
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cannot suspendo to RAM nor disk on Dell Inspiron 1525
I use KDE as the windows manager, and I noticed that it doesn't suspend the session to disk nor ram.
I tried to configure all profiles in Power Saving to suspend to disk or ram when the lid is closed, but it just locks the screen. If I press the sleep button (Fn+ "Moon symbol"), it does not either. The same if I try to suspend using the Kickoff -> Leave -> Suspend to RAM/Disk.
How can I fix this?
Thanks in advance!
Also, a small off topic question: When I'm using Slackware (like now), my posts indicate just that I posted using "linux", instead of showing the blue S "linuxslackware"... How do I change this?
If you are using firefox then type "about:config" in your address bar.
gives a warning ....continue.
in filter type useragent
change the value Firefox/3.. to Slackware/Firefox ....
Thanks! I just did that... This is the first post so let's see...
Quote:
Quote:
Originally Posted by Geriao View Post
I use KDE as the windows manager, and I noticed that it doesn't suspend the session to disk nor ram.
use /usr/sbin/s2ram from super user mode
I just checked it, it seems that this program/script is not present on that folder.
Quote:
Do you have a swap partition?
Try in your lilo.conf after kernel line:
Code:
append = "resume=/dev/hdaN"
When /dev/hda7 is your swap partition.
Then re-run /sbin/lilo
I do have, and it seems that it's being used (when I use "cat /proc/swaps" it appears).
I use GRUB2 as a bootloader (because Ubuntu was there before Slack), and it auto-probeb Slack and made an entry (does not chainload LiLo). Should I edit the grub configuration?
And by after kernel line you mean the line just after
Code:
# Start LILO global section
# Append any additional kernel parameters:
right?
There's already an append line there:
Code:
append=" vt.default_utf8=0"
I can put the "resume" line just after that, right?
It worked (the user agent thing)! Thanks, raju.mopidevi!
A thing I just thought... Should the account I'm using, which is a normal and sudoer user account belong to an specific group, like power, plugdev...? Where can I check the special permission each group has? I tried to look into the shadow file, but there's no apparent info on that there... The plugdev group, for instance, isn't even listed there.
It worked (the user agent thing)! Thanks, raju.mopidevi!
A thing I just thought... Should the account I'm using, which is a normal and sudoer user account belong to an specific group, like power, plugdev...? Where can I check the special permission each group has? I tried to look into the shadow file, but there's no apparent info on that there... The plugdev group, for instance, isn't even listed there.
Didn't you use useradd script to add user? Anyways, add yourself to these groups:
Code:
users floppy audio video cdrom plugdev power netdev
I think you chainload to Slack from Grub2 right? So changing grub config won't help, just put that append line in lilo.conf like for me it's:
Then you need to re-run lilo for the changes to take effect.
Actually, Grub2 loads the Slack kernel directly (no chainloading; I never see the lilo splash screen). And about the existing append line in my lilo.conf, is there any problem adding another append line? Should it be
About the accounts, I used useradd (or adduser, can't remember) to create it... But I didn't add it to any groups other than users, so I was trying to add it after creation. I edited the /etc/group thru /usr/sbin/vigr and added myself. It seems the gpasswd works too. Thanks, ~sHyLoCk~!
I'm not quite sure about what I did, but now I can suspend to RAM! I believe it's because I added my user account to the "power" group (I added it to plugdev also), then rebooted.
Code:
gpasswd -a username power
Guess it's solved! I will try later to suspend to disk...
I tried to suspend to disk, the laptop indeed turns off, but when I try to load it again, it seems that it's a new session. I guess I will need to add this append line to grub, or add a custom entry to chainload lilo...
Now I chainload lilo from grub... The display is greatly improved! Before it was like if the resolution was very low... Now I get a much bigger resolution.
I checked both grub.cfg and lilo.conf, both seem to use "vga = 773", but grub doesn't work for some reason... Oh well!
I'll try to suspend now, after adding the resume parameter...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.