I had my Raspberry Pi configured to work with a USB microphone (C-Media microphone USB). I had made the following changes
For /lib/modprobe.d/aliases
I update the following lines
options snd-usb-audio index=0
options snd_bcm2835 index=1
My asoundrc file has the following
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
My microphone shows up as a USB device when I run lsusb
but doesn't show up when I try a arecord -l
I have attached a copy of the dmesg log which shows an error. Any suggestions on fixing this issue are welcome.
][1]][1]
in your asoundrc is a typo, right? Because if I include that in/etc/asound.conf
, arecord naturally says parse error. I don't have your particular mic, but runningsudo modprobe snd_bcm2835 index=1
results in unknown parameter 'index' so perhaps what you want to try instead is:sudo modprobe -r snd_bcm2835; sudo modprobe snd-usb-audio index=0
. (Once this is better troubleshooted/easily reproducible at runtime, then we can loop back and try to get it consistent at boot time e.g. /lib/modprobe.d)sudo modprobe -r snd_bcm2835;
sudo modprobe snd-usb-audio index=0
Do you have any suggestions on how I can force this error on bootup?lsusb
in your question, ideally, in text .... images suck, because they cannot be indexed (for search) and our blind friends cannot help you.