Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to use Microphone or LineIn on ct?

Featured Replies

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=51
numid=14,iface=MIXER,name='Master Capture Mute'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=13,iface=MIXER,name='Line output Volume'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=5,iface=MIXER,name='LineL Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=6,iface=MIXER,name='LineR Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=17,iface=MIXER,name='Linein Pre-AMP'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=4
numid=10,iface=MIXER,name='Mic Input Mux'
  ; type=INTEGER,access=rw------,values=1,min=0,max=15,step=0
  : values=9
numid=24,iface=MIXER,name='Mic Power'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=23,iface=MIXER,name='Mic1 Boost'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=27,iface=MIXER,name='Mic1 gain Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0
  : values=2
numid=22,iface=MIXER,name='Mic2 Boost'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=26,iface=MIXER,name='Mic2 gain Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=0
numid=20,iface=MIXER,name='MicL Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0
  : values=1
numid=21,iface=MIXER,name='MicR Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0
  : values=1
numid=25,iface=MIXER,name='ADC Input Mux'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=2
numid=19,iface=MIXER,name='Capture Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=5
numid=2,iface=MIXER,name='Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=12,iface=MIXER,name='Fm output Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=3
numid=3,iface=MIXER,name='FmL Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=4,iface=MIXER,name='FmR Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=18,iface=MIXER,name='LINEIN APM Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=3
numid=7,iface=MIXER,name='Ldac Left Mixer'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=9,iface=MIXER,name='Ldac Right Mixer'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=16,iface=MIXER,name='Left Capture Mute'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=11,iface=MIXER,name='MIC output volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=7,step=0
  : values=3
numid=8,iface=MIXER,name='Rdac Right Mixer'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=15,iface=MIXER,name='Right Capture Mute'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off

 

  • Author

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?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.