nordicco Posted July 18, 2015 Share Posted July 18, 2015 How to get a headphone or simple mic to work on a ct as recording device? In vanilla armbian for ct capture_use and playback_use are undefined in script.bin and # arecord -l does not list any devices. According to http://www.cubieforums.com/index.php/topic,2211.msg20637.html#msg20637 I changed both values with bin2fex / fex2bin to "1", rebooted and now I get **** List of CAPTURE Hardware Devices ****card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 But any try to capture noise from different microphones or headsets does not work. Playback is not an issue (speaker-test works as expected). Every try with # arecord -vvv -c 2 /tmp/my.wav produces a file with silence. Did I miss anything? TIA -- output of amixer contents numid=1,iface=MIXER,name='Master Playback Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=63,step=0 : values=51numid=14,iface=MIXER,name='Master Capture Mute' ; type=BOOLEAN,access=rw------,values=1 : values=onnumid=13,iface=MIXER,name='Line output Volume' ; type=BOOLEAN,access=rw------,values=1 : values=onnumid=5,iface=MIXER,name='LineL Switch' ; type=BOOLEAN,access=rw------,values=1 : values=onnumid=6,iface=MIXER,name='LineR Switch' ; type=BOOLEAN,access=rw------,values=1 : values=onnumid=17,iface=MIXER,name='Linein Pre-AMP' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=4numid=10,iface=MIXER,name='Mic Input Mux' ; type=INTEGER,access=rw------,values=1,min=0,max=15,step=0 : values=9numid=24,iface=MIXER,name='Mic Power' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=23,iface=MIXER,name='Mic1 Boost' ; type=BOOLEAN,access=rw------,values=1 : values=onnumid=27,iface=MIXER,name='Mic1 gain Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0 : values=2numid=22,iface=MIXER,name='Mic2 Boost' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=26,iface=MIXER,name='Mic2 gain Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=0numid=20,iface=MIXER,name='MicL Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0 : values=1numid=21,iface=MIXER,name='MicR Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0 : values=1numid=25,iface=MIXER,name='ADC Input Mux' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=2numid=19,iface=MIXER,name='Capture Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=5numid=2,iface=MIXER,name='Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=12,iface=MIXER,name='Fm output Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=3numid=3,iface=MIXER,name='FmL Switch' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=4,iface=MIXER,name='FmR Switch' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=18,iface=MIXER,name='LINEIN APM Volume' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=3numid=7,iface=MIXER,name='Ldac Left Mixer' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=9,iface=MIXER,name='Ldac Right Mixer' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=16,iface=MIXER,name='Left Capture Mute' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=11,iface=MIXER,name='MIC output volume' ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0 : values=3numid=8,iface=MIXER,name='Rdac Right Mixer' ; type=BOOLEAN,access=rw------,values=1 : values=offnumid=15,iface=MIXER,name='Right Capture Mute' ; type=BOOLEAN,access=rw------,values=1 : values=off Link to comment Share on other sites More sharing options...
Igor Posted July 19, 2015 Share Posted July 19, 2015 http://www.cubieforums.com/index.php/topic,2211.msg16734.html#msg16734 Link to comment Share on other sites More sharing options...
nordicco Posted August 1, 2015 Author Share Posted August 1, 2015 Thank you Igor. Just in case anyone else tries to record sound with a microphone on a ct-board: It's not possible via the builtin 3.5"-jack. You need a USB-soundcard to record sound. I.e. a CM108 based usb-stick. The latter did it for me. Did I miss something? Link to comment Share on other sites More sharing options...
Recommended Posts