Through trial and error, I was eventually able to record form the mic using the following command. Interestingly, it only works 50% of the time. The other 50% of the time results in a blank (no noise) audio file of the same length.
arecord -v -Dplughw:0,2 -N -d 10 -r48k -c2 this.wav
Later on, I learned that I could enumerate the available capture devices with aplay -l
aplay-l | grep card
card 0: Live [SBLive! Value [CT4871]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
card 0: Live [SBLive! Value [CT4871]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
card 0: Live [SBLive! Value [CT4871]], device 3: emu10k1 [Multichannel Playback]
You can see how card 0: device 2 translates into hw:0,2 but pulseaudio is using hw:0,2 so it appears busy. That's why I had to use plughw:0,2
And to make it the default recording device, I modified .asoundrc in my home directory:
Now simple commands like "arecord -d 5 this.wav" work as expected but... is it a hack?