USB Micro not working on raspberry pi 2 - Raspberry Pi Forums


hi,

have bought usb microphone interact vocaly raspberry. test microphone on windows , works charm. raspberry under raspbian. plug microphone on raspberry , in file "/etc/modprobe.d/alsa-base.conf" add lines

code: select all

options snd-usb-audio index=0 options snd-bcm2835 index=1
restarted raspberry.

microphone recognized system

code: select all

pi@raspberrypi ~ $ lsusb bus 001 device 002: id 0424:9514 standard microsystems corp. bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 001 device 003: id 0424:ec00 standard microsystems corp. bus 001 device 004: id 0d8c:013c c-media electronics, inc. cm108 audio controller 
usb microphone before "bcm2835" card

code: select all

pi@raspberrypi ~ $ cat /proc/asound/cards  0 [device         ]: usb-audio - usb pnp sound device                       c-media electronics inc. usb pnp sound device @ usb-bcm2708_usb-1.3, full spee  1 [alsa           ]: bcm2835 - bcm2835 alsa                       bcm2835 alsa

code: select all

**** list of playback hardware devices **** card 1: alsa [bcm2835 alsa], device 0: bcm2835 alsa [bcm2835 alsa]   subdevices: 8/8   subdevice #0: subdevice #0   subdevice #1: subdevice #1   subdevice #2: subdevice #2   subdevice #3: subdevice #3   subdevice #4: subdevice #4   subdevice #5: subdevice #5   subdevice #6: subdevice #6   subdevice #7: subdevice #7 card 1: alsa [bcm2835 alsa], device 1: bcm2835 alsa [bcm2835 iec958/hdmi]   subdevices: 1/1   subdevice #0: subdevice #0 
and

code: select all

pi@raspberrypi ~ $ aplay -l null     discard samples (playback) or generate 0 samples (capture) pulse     pulseaudio sound server default:card=alsa     bcm2835 alsa, bcm2835 alsa     default audio device sysdefault:card=alsa     bcm2835 alsa, bcm2835 alsa     default audio device
when record sound command "arecord test.wav" file recorded when play there no sound...

don't understand why "aplay -l" or "aplay -l" not proive me reference usb microphone.

can me please ?

aplay -l , aplay -l show playback devices. try arecord -l.

onboard audio no longer default. using 'aplay -d hw:1,0 test.wav' playback?


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support