On Sat, 8 Jul 2006, Randy McMurchy wrote:

   $ mpg123 some.mpg
   Can't open /dev/dsp

Not sure why your .mp3 file is named *.mpg, but that doesn't
matter (though .mpg and .mpeg are typically used for a/v files).

My typo - sorry.

Ensure the permissions on the sound device files are correct,

I've got /dev/sequencer{2} and /dev/snd/{seq,timer}, all crw-rw---- and I'm in the audio group - does that sound about right?

and use the 'aplay' command to play a .wav file. Even more
basic is to use the 'speaker-test' program.

Once you can get aplay to play the .wav file, everything is
downhill from there.

Ok - so my strategy now could be to try to get speaker-test working, as it's even more basic than aplay? Sadly:

~$ speaker-test

speaker-test 1.0.11

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned 
error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned 
error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -19,No such device

I'm guessing this means there is a kernel configuration or driver problem? If that's completely off-beam, please let me know!

Thanks for your (and the others who replied) quick & helpful response(s).

Mark

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to