Computing.Net > Forums > Linux > Run commands on wakeup from standby

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Run commands on wakeup from standby

Reply to Message Icon

Name: change2linux
Date: December 15, 2005 at 15:48:35 Pacific
OS: Fedora Core 4
CPU/Ram: 500mhz, 224mb RAM
Comment:

Hello...
Is it possible to run these two commands, automatically, when my computer wakes up from standby? (logged in as any user)

/sbin/rmmod -f snd_cs46xx
/sbin/modprobe snd_cs46xx

This is for my ThinkPad 600X, the ALSA module above (snd_cs46xx) does not work after returning from standby.
Thanks for any help!



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: December 16, 2005 at 04:23:44 Pacific
Reply:

Are you using acpid? You can probably find the scripts it runs under /etc/acpi/. Add your commands to the correct scripts.


0

Response Number 2
Name: change2linux
Date: December 16, 2005 at 13:04:30 Pacific
Reply:

Actually, I'm using APM. It says I have to use ACPI=FORCE
to enable ACPI during startup. Maybe I should try ACPI;
where do I add ACPI=FORCE? Somewhere in grub.conf
right?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Run commands on wakeup from standby

run command on kde login www.computing.net/answers/linux/run-command-on-kde-login/28258.html

Run process on other tty www.computing.net/answers/linux/run-process-on-other-tty/15343.html

SSH Autologin www.computing.net/answers/linux/ssh-autologin/14235.html