olegoldtom Posted February 18, 2021 Posted February 18, 2021 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
Werner Posted February 18, 2021 Posted February 18, 2021 Providing logs with armbianmonitor -u helps with troubleshooting and significantly raises chances that issue gets addressed.
olegoldtom Posted April 3, 2021 Author Posted April 3, 2021 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 1
Werner Posted April 3, 2021 Posted April 3, 2021 Would you mind create PR to sunxi-current and sunxi-edge to get it integrated? https://github.com/armbian/build/tree/master/patch/kernel
olegoldtom Posted April 3, 2021 Author Posted April 3, 2021 Sorry, I am not registered on GitHub. Are you writing about the need for current and new files?
Werner Posted April 3, 2021 Posted April 3, 2021 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
olegoldtom Posted April 4, 2021 Author Posted April 4, 2021 (edited) 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 April 4, 2021 by olegoldtom
Solution Danny Posted May 11, 2021 Solution Posted May 11, 2021 I had the same issue. Created a PR: https://github.com/armbian/build/pull/2818 Thanks for the fix olegoldtom !! 2
Igor Posted May 11, 2021 Posted May 11, 2021 8 hours ago, Danny said: Created a PR Thank you!! Merged.
Recommended Posts