hi,
on my LFS system, I managed to get my speakers to produce some output like this:
speaker-test -Dhw:2 -c2
it won't work if the number of channels is lower or higher.
Now I want to make that Device (hw:2) to be the default card alsa uses. I tried to use mplayer by using that device and two channels (mplayer /path/to/audioFile.mp3 -ao alsa:device=hw=2 -channels 2), but it only says "could not initialize audio device". And as you see, I have to set alsa manually as the audio driver, is there some way to configure this? I don't have a /dev/dsp file, why is that??
EDIT: OK, I figured out how to set the card default, so that it works with speaker-test, but it still doesn't work with mplayer. Before I set this card default, a "virtual MIDI card" was default, and mplayer managed to load that, and play, but of course I couldn't hear anything. Now mplayer says could not open/initialize audio device
I have a ubuntu installation on the same machine, and the sound works there..
dracayr