Sean McNamara <smcnam at gmail.com> writes: > On Sun, 2008-04-13 at 18:34 +1000, Ben Finney wrote: > > Apr 13 18:27:53 lily pulseaudio[26288]: alsa-util.c: Error opening PCM device hw:0: No such device > > Apr 13 18:27:53 lily pulseaudio[26288]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_106b_3e_alsa_capture_0"): initialization failed. > > This is module-hal-detect attempting to automatically configure your > ALSA devices. "no such device" on hw:0 is a pretty bad sign that your > ALSA configuration is hosed. :-( > Without PA started, do you hear something when you execute something > like `aplay /usr/share/sounds/shutdown.wav` in the console? $ aplay /usr/share/sounds/alsa/Noise.wav *** PULSEAUDIO: Unable to connect: Connection refused aplay: main:564: audio open error: Connection refused $ sudo aplay /usr/share/sounds/alsa/Noise.wav *** PULSEAUDIO: Unable to connect: Connection refused aplay: main:564: audio open error: Connection refused > The default device assumed by aplay is hw:0, but in very rare cases > you can actually have a hw:1 configured without a hw:0. In that > case, you might want to enumerate the first few reasonably high card > numbers until you hear sound: for i in "1 2 3 4 5"; do aplay -v > --device=hw: $i /usr/share/sounds/shutdown.wav; done; $ for i in $(seq 0 5) ; do dev="hw:$i" ; echo $dev ; aplay -v --device=$dev /usr/share/sounds/alsa/Noise.wav ; done hw:0 Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:918: Sample format non available hw:1 ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card aplay: main:564: audio open error: No such file or directory hw:2 ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card aplay: main:564: audio open error: No such file or directory hw:3 ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card aplay: main:564: audio open error: No such file or directory hw:4 ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card aplay: main:564: audio open error: No such file or directory hw:5 ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card aplay: main:564: audio open error: No such file or directory > If you don't get any sound, your problem is with ALSA and rather > outside the scope of this mailing list. You can catch me on #alsa on > chat.freenode.net as `allquixotic` if you want some help going > through your ALSA configuration. Thanks. I'll likely take you (or someone else) up on that offer. -- \ ?Any intelligent fool can make things bigger and more | `\ complex? It takes a touch of genius ? and a lot of courage | _o__) ? to move in the opposite direction.? ?Albert Einstein | Ben Finney