Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: gennariello on January 26, 2021, 06:36:08 PM

Title: A64 audio input line-in
Post by: gennariello on January 26, 2021, 06:36:08 PM
Hi,

I need to forward sound from the 3.5mm jack input (AUX cable) to the onboard speaker connector (I need to create a sort of loop).
I can play sound from filesystem, but I'm unable to register any kind of sound using the line-IN input.
I've tried recording from all sound cards listed with "arecord -L"; linux creates a file but I can't hear any sound if I play it. Which sound card is the correct one?

My board is A64-OLinuXino-1Ge16GW and I'm using the official focal OS image.

Can anyone help me?
Thank you very much,
gennariello
Title: Re: A64 audio input line-in
Post by: Brian on January 26, 2021, 07:27:19 PM
There are two jumpers behind the line in connector. Factory are soldered to "mic in". You have to move to "ine in". Then try again with alsamixer settings. Sorry, i do not have a board here. Will test it tomorow at the office.
Title: Re: A64 audio input line-in
Post by: LubOlimex on January 27, 2021, 08:22:01 AM
As Brian pointed out by default the connector is set to MIC IN (not LINE IN).
Title: Re: A64 audio input line-in
Post by: gennariello on January 27, 2021, 05:37:18 PM
Hi all and thank you for your replies.

You are right, I need to switch the jumper... but since the default is connected to mic-in, using a line-in input I think I should record noise, not absence of sound.
I've also tried with a microphone and no sound can be recorded.
I think I'm wrong also in others configuration.

Is the following the right sound card?
default:CARD=sun50ia64audio
    sun50i-a64-audio, 1c22c00.dai-sun8i sun8i-0
    Default Audio Device


Title: Re: A64 audio input line-in
Post by: goibhniu on February 11, 2021, 12:50:48 AM
Hi gennariello, I got my first A64-OLinuXino-1G recently and I struggled to figure out how to get the mic to work, so perhaps I can help.

There are an amazing amount of options in alsamixer that are new to me. In the end, the main trick was to enable capture for Mic1 and AIF1 Data Digital ADC (by pressing the space bar) and also unmute Mic1 and AIF1 Slot 0, but perhaps some other settings also needed to be adjusted. Here's a screenshot of my alsamixer settings. I'm using an Olimex mic and headphones.

(https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/10613/bf1ba8b1c-ed24ad/ruCxW9DhDaem/3KayrwentV7yE9HqTfmxL79LOF0CbnYx9p8RvOfc.png)

By the way, I want to set some of these up for friends so we can play music together online with Jamulus.