kunt1z
2006-01-09 07:57:05 UTC
Something happens...
I run alsaconf, a script that modify /etc/modules.conf file, then I
restart /etc/init.d/alsasound service and I try to play a sound with
aplay. Here's what happens:
$ aplay test.wav
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
aplay: main:547: audio open error: No such file or directory
What does it mean "unable to open slave"? And why it says "no such file
or directory"? Which file? The test.wav has correct path.
I try to run as root speaker-test, the result is similar:
# speaker-test
speaker-test 1.0.11rc2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
[...]
I don't have a .asoundrc file, my user is in the "audio" group and
permission of /dev/dsp files (and other files) is correct.
Any suggestion?
Thanx!
I run alsaconf, a script that modify /etc/modules.conf file, then I
restart /etc/init.d/alsasound service and I try to play a sound with
aplay. Here's what happens:
$ aplay test.wav
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
aplay: main:547: audio open error: No such file or directory
What does it mean "unable to open slave"? And why it says "no such file
or directory"? Which file? The test.wav has correct path.
I try to run as root speaker-test, the result is similar:
# speaker-test
speaker-test 1.0.11rc2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
ALSA lib pcm_dmix.c:852:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
[...]
I don't have a .asoundrc file, my user is in the "audio" group and
permission of /dev/dsp files (and other files) is correct.
Any suggestion?
Thanx!