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.

No support Capture selection, for Allwinner A20 Audio Codec

Featured Replies

Hello,

 

Please help with this issue:

 

No Сapture selection in alsamixer or amixer.

 

root@cubieboard2:~# arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0]

  Subdevices:1/1

  Subdevice #0: subdevice #0

 

root@cubieboard2:~# amixer -c 1 sget 'Line Boost'

  Capabilities: volume volume-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 7

  Mono: 7 [100%] [9.00dB]

 

root@cubieboard2:~# amixer -c 1 sset 'Line Boost' cap

amixer: Invalid command!

 

root@cubieboard2:~# arecord -f S16_LE -r 22050 -D hw:1,0 /home/456.wav  - The sound is recorded from the internal microphone('Mic1 Boost') and there is no possibility to change the sound source.

 

How to choose a sound source: Line In('Line Boost')?

 

 

Armbian 21.02.2 Buster with Linux 5.10.16-sunxi

Solved by Danny

  • Author

Hello,

 

Continuation of the topic the problem with capturing audio on CubieBoard2.

 

At the moment, the issue has been resolved.

In file sun4i-codec.c there was no description of the ADCIS register, which is responsible for selecting the sound source.

Modifications have been made to file sun4i-codec.c to select the Capture Source and Captute Level.

New sun4i-codec.c

Patch sun4i-codec.c

 

If it is possible to make these changes to the kernel for builds Armbian Buster & Armbian Focal.

This change is needed for the A20 processors.

 

With thanks

 

Oleg

47 minutes ago, olegoldtom said:

Are you writing about the need for current and new files?

No. I was writing about if you are willing to add your patches to our build repository so they get integrated into Armbian. The branches that should be worked on are sunxi-current (Linux 5.10.y) and sunxi-edge (at the moment 5.11.y).

 

Armbian heavily relies on community contributions because (human) resources are very limited :(

 

  • Author

Hello, Werner

 

11 часов назад, Werner сказал:

I was writing about if you are willing to add your patches to our build repository so they get integrated into Armbian.

 

I will try to figure out how to do this, but I have very little experience.

 

I will be very grateful if you can help add these changes to the Armbian build.

 

The changes have been tested and are working.

 

Oleg

Edited by olegoldtom

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.