My problem is this: when I suspend, sound disappears, and I have to reboot to get it back, which is, needless to say, rather annoying. I'm using Ubuntu 11.04, with a low-latency kernel.
I have three sound cards:
1) Delta 1010LT, which uses snd_ice1712
2) Sound Blaster Audigy 2, which uses snd_emu10k1
3) Some on-board Realtek thingy, which I guess uses snd_hda_codec_realtek
I use jack on the Delta1010LT, and I run pulseaudio through jack.
When, after a suspend, I try to restart jack via qjackct, it gives up and prompt the following:
Now, I did try to look through the error messages above, but I couldn't figure out what the problem is. On a side note, I wonder if anybody could tell me why jack also creates sockets for my Sound Blaster?
Acquire audio card Audio1
creating alsa driver ... hw:M1010LT|hw:M1010LT|128|2|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver ICE1712 running on card 1 - M Audio Delta 1010LT at 0xec00, irq 16
configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
port created: Midi-Through:midi/playback_1
port created: Midi-Through:midi/capture_1
port created: M-Audio-Delta-1010LT:midi/playback_1
port created: M-Audio-Delta-1010LT:midi/capture_1
port created: SB-Audigy-2-Platinum--SB0240P-:midi/playback_1
port created: SB-Audigy-2-Platinum--SB0240P-:midi/capture_1
port created: SB-Audigy-2-Platinum--SB0240P-:midi/playback_33
14:02:12.636 ALSA connection graph change.
port created: SB-Audigy-2-Platinum--SB0240P-:midi/capture_33
port created: Emu10k1-WaveTable:midi/capture_1
port created: Emu10k1-WaveTable:midi/capture_2
port created: Emu10k1-WaveTable:midi/capture_3
port created: Emu10k1-WaveTable:midi/capture_4
14:02:21.618 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.
ALSA: poll time out, polled for 4353072 usecs
JackAudioDriver::ProcessAsync: read error, stopping...
JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
Cannot open qjackctl client
Anyway, I tried to unload the snd_ice1712 and snd_emu10k1, but I get the following:
ERROR: Module snd_ice1712 is in use
ERROR: Module snd_emu10k1 is in use
before trying to unload the modules didn't work either.
sudo fuser -k /dev/snd/*
So that's it, I'm pretty stuck. Any help would be very welcome. Thank you!