Hi,
I don't know how much help this might be, but I took some notes a couple years ago when I switched from a dedicated linux box to a linux vmware instance. I remember it being a bit of an ordeal. It's amazing I took any notes at all.
On the old server, I was able to just use /dev/dsp and have it work. I don't remember whether I was forced to switch to ALSA on the new server, or whether I just did it by choice. It looks like I set up it up first to just emulate ALSA, so that programs could still use the "/dev/dsp" device. And then I got it working with darkice so it could directly use the device hw:0,0
In my notes I mentioned two links that were the most helpful, one of which was
TroubleShooting - ALSA wiki - and one that doesn't appear to exist anymore...
http://alsa.opensrc.org/index.php/FAQ - So I imagine you can probably just go to
Main Page - ALSA wiki and poke around in general.
The rest of this is just what I have in my notes. My memory is bad enough that I don't remember much about it, so I'm not sure if asking me any follow up questions is going to help much, but I'd be glad to look at devices and configs on my server.
---------------------------------------------
Notes:
Use 'alsamixer' to adjust the soundcard volume. It works just like the windows sound mixer.
Use tab to go through the screens.
Everything was defaulted to being muted. So I unmuted and turned up everything.
Before I could produce a decent volume, I also had to turn on capture.
Once I had the mixer set right, and the capture for line-in turned on, I did not need OSS
emulation for darkice (as described below). I just set the sound device to hw:0,0 and it
worked fine.
IMPORTANT: after setting stuff up in alsamixer, run 'alsactl store' to save it.
-----
OSS Emulation
To use ALSA's OSS emulation so that you can use the device “/dev/dsp”, do the following:
See if the modules are loaded:
lsmod | awk '$1~/oss/ || NR==1'
This line means they're not:
Module Size Used by Not tainted
Load the modules:
echo snd-seq-oss snd-pcm-oss snd-mixer-oss | xargs -n 1 modprobe
Put them in /etc/modules to have them automatically loaded.
Then you can use the device:
/dev/dsp
---------------------------------------------
end of notes
Also, I just checked to see which alsa packages I have installed on debian, and they are alsa-base, also-oss, and alsa-utils
The input of my darkice config section is:
[input]
device = hw:0,0
sampleRate = 22050
bitsPerSample = 16
channel = 2
Hope that helps at least some...
Brad