Created
May 31, 2009 02:11
-
-
Save ataka/120717 to your computer and use it in GitHub Desktop.
Suspend with modprobe sound module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Copied from http://pulpdust.org/item/688 | |
# | |
# Kill pulseaudio and GNOME volume control applet before reload snd module. | |
# You can kill puleaudio as followed: | |
# $ pulseaudio -k | |
# | |
pm=pm-suspend | |
snd=snd_hda_intel | |
date | |
sync && $pm && modprobe -r $snd && modprobe $snd | |
date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment