I've finally managed to get suspend-to-disk using Software Suspend 2 (
www.suspend2.net), but it seems to need that I unload the sound card drivers prior to suspending. Unfortunately, the Gnome mixer applet that sits in the tray seems to have the driver constantly in use, so in order to hibernate, I have to manually kill the mixer_applet2 process.
Therefore what I would like to know is it possible to release and restart the mixer applet's lock on the sound card drivers at will?
Alternatively, I can configure the hibernate script to kill the applet process; how can I restart and reinsert the mixer applet into the tray on resume?
I'm running Fedora Core 4, kernel 2.6.13-1.1532_1.rhfc4.cubbi_swsusp2. My sound card is an Audigy 2SE OEM and it uses the following modules:
Code:
snd_emu10k1_synth 10049 0
snd_emu10k1 159717 2 snd_emu10k1_synth
snd_ac97_codec 80829 1 snd_emu10k1
snd_seq_dummy 3781 0
snd_seq_oss 42945 0
snd_pcm_oss 53105 0
snd_mixer_oss 18241 2 snd_pcm_oss
snd_pcm 112201 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10825 2 snd_emu10k1,snd_pcm
snd_emux_synth 51265 1 snd_emu10k1_synth
snd_seq_virmidi 6977 1 snd_emux_synth
snd_rawmidi 36321 2 snd_emu10k1,snd_seq_virmidi
snd_seq_midi_event 10177 2 snd_seq_oss,snd_seq_virmidi
snd_seq_midi_emul 6977 1 snd_emux_synth
snd_seq 78033 8 snd_seq_dummy,snd_seq_oss,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
snd_timer 42437 3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 9165 7 snd_emu10k1_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_emux_synth,snd_rawmidi,snd_seq
snd_hwdep 9313 2 snd_emu10k1,snd_emux_synth
snd 62021 13 snd_emu10k1,snd_ac97_codec,snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_emux_synth,snd_seq_virmidi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device,snd_hwdep
snd_util_mem 5057 2 snd_emu10k1,snd_emux_synth