Raspberry Pi is not recording from USB Microphone -


i've usb hub (plugabble) usb daffodil sound card. speakers working great, microphone not working. don't know anymore working.

the usb sound card set default

the arecord command records no sound recorded.

the aplay play sounds nicely.

here of settings:

pi@raspberrypi ~ $ arecord -l null     discard samples (playback) or generate 0 samples (capture) default:card=set     c-media usb headphone set, usb audio     default audio device sysdefault:card=set     c-media usb headphone set, usb audio     default audio device front:card=set,dev=0     c-media usb headphone set, usb audio     front speakers surround40:card=set,dev=0     c-media usb headphone set, usb audio     4.0 surround output front , rear speakers surround41:card=set,dev=0     c-media usb headphone set, usb audio     4.1 surround output front, rear , subwoofer speakers surround50:card=set,dev=0     c-media usb headphone set, usb audio     5.0 surround output front, center , rear speakers surround51:card=set,dev=0     c-media usb headphone set, usb audio     5.1 surround output front, center, rear , subwoofer speakers surround71:card=set,dev=0     c-media usb headphone set, usb audio     7.1 surround output front, center, side, rear , woofer speakers iec958:card=set,dev=0     c-media usb headphone set, usb audio     iec958 (s/pdif) digital audio output   pi@raspberrypi ~ $ sudo 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 1a40:0101 terminus technology inc. 4-port hub bus 001 device 005: id 148f:5370 ralink technology, corp. rt5370 wireless adapter bus 001 device 006: id 0d8c:000c c-media electronics, inc. audio adapter  pi@raspberrypi ~ $ sudo amixer set capture cap 8 amixer: unable find simple control 'capture',0  pi@raspberrypi ~ $ amixer simple mixer control 'headphone',0 capabilities: pvolume pswitch pswitch-joined penum playback channels: front left - front right limits: playback 0 - 151 mono: front left: playback 44 [29%] [-20.13db] [on] front right: playback 44 [29%] [-20.13db] [on] simple mixer control 'mic',0 capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined penum playback channels: mono capture channels: mono limits: playback 0 - 32 capture 0 - 16 mono: playback 23 [72%] [34.36db] [on] capture 9 [56%] [13.39db] [on] simple mixer control 'auto gain control',0 capabilities: pswitch pswitch-joined penum playback channels: mono mono: playback [off] 

thanks!

this depends on distribution, since different distributions handle devices differently.

so think running raspian jessy tried configure on wheezy.

so if right should go file alsa.conf command sudo nano /usr/share/alsa/alsa.conf , edit lines

 defaults.ctl.card 0  defaults.pcm.card 0  

to

 defaults.ctl.card 1  defaults.pcm.card 1 

then go file .asoundrc command sudo nano /home/pi/.asoundrc , edit looks following:

pcm.!default {     type hw     card 1 }  ctl.!default {     type hw     card 1 } 

do reboot , work.

if wrong guess please comment under answer , update :) hope helped.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -