Stereo audio output

Started by asa, July 02, 2023, 09:57:21 PM

Previous topic - Next topic

asa

Hi,

I have an I2S A20-Lime2-e16Gs16M board and a Lime2-Shield. I connected a headset to audio out and the sound is mono. Running amixer command I got the below output - Power Amplifier is Mono.

Simple mixer control 'Power Amplifier',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 63
  Mono: 63 [100%] [0.00dB]
Simple mixer control 'Power Amplifier DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Power Amplifier Mixer',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Power Amplifier Mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Please let me know how I can get stereo sound on line out.

I need a stereo sound output with volume playback control.

Thank you!

LubOlimex

I tested this report but stereo seems to work fine by default. I used the same hardware setup and default base image. I used headphones. Only ran:

apt update
apt dist-upgrade
u-boot-install

Didn't change anything else in alsamixer, nor anywhere else.

I used this wav file:

wget https://ftp.olimex.com/Lub-clients/file_example_WAV_10MG.wav --no-check-certificate

and played it with:

aplay file_example_WAV_10MG.wav

Please try the same and report back. If you need re-write the card with latest Olimage Linux base image.

Can you send me a picture of the audio jack of your headphones? Maybe it is incompatible with our jack?


Technical support and documentation manager at Olimex

asa

Hi LubOlimex,

Thank you so much for your help, I performed all commands and the test you recommended and I confirm now the sound is stereo!

Best regards!