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.
Hi. When I try to suspend,my laptop hangs because the pcmcia card won't turn off. I narrowed this down to the fact that I need to do
Code:
ifconfig ath0 down
I was wondering what script/runlevel gets ran when slackware goes into suspend because I need to issue
the commands to bring the interface down on suspend and then up on resume. Thanks for your help.
On my laptop, I had a script that did this stuff and then put the laptop into suspend mode (echo -n "disk" >/sys/power/state). With the help of sudo and a desktop icon, every user could suspend the laptop properly with a click. That was with the kernel build-in suspend mode.
IIRC, with suspend2, there's a pre-suspend and a post-suspend script.
How do you trigger suspend your laptop, and are you using suspend or suspend2 (or anything else)?
Hi. I am triggering the suspend when my lid closes. My problem is just that I need to get the cardbus card to turn off with the suspend and not stay on.
So I assume that closing your lid triggers "apm -s" or "apm -S".
apmd seems to be able to call a script called "proxy" on apm events. See `man apmd` and "suspend", "standby" and "resume" events.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.