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.
I am trying to get suspend working on my Dell Inspiron.
Quote:
echo -n mem > /sys/power/state
suspends the machine but on resuming the video is all wrong as if frames are scrolling quickly. Ctrl-Alt-Backspace to restart kde does not help and Alt-F6 shows the same on the other console
Quote:
I have tried this script
#!/bin/sh
# discover video card's ID
ID=`lspci | grep VGA | awk '{ print $1 }' | sed -e 's@0000:@@' -e 's@:@/@'`
Another question (I ask, because I have here 10 notebooks with different graphicchips and all are working fine with both kinds of suspend):
Do you use a custom kernel?
Do you use suspend or suspend2 (patch from tuxonice)?
In Kernel 2.6.23.9 and higher (may be also before, I didn't realize it earlier) suspend-to-RAM and suspend-to-disk are included in the kernel sources. There is no patch needed to have a working suspend.
I am running a 23.9 kernel based on Pat's generic-smp config for slackware 12. The only thing I have changed is to have ext3 support built in and specifiying athlon/opteron. For all the other options that changed from 21 to 23 I used the default values.
Try s2ram from http://souceforge.net/projects/suspend/ (make s2ram, make install-s2ram). If your system is not whitelisted, try several times forcing different methods.
As far as I experienced there are no problems with ATI's driver. Both kinds of suspend are working here without any problems. I use a script with these lines (I call it as user in group wheel with sudo and option NOPASSWD):
Code:
chvt 1
/sbin/hwclock --systohc
sync
echo -n disk > /sys/power/state # change disk to mem for suspend-to-RAM
/sbin/hwclock --hctosys
chvt 7
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.