I have a Audio DAC SHIM (Line-Out) which I installed onto a Raspberry Pi Zero 2 W.
When first installed without soldering there was no audio, unless pressing/fiddling a bit with the board. So after reading this topic Audio DAC Shim (Line Out), No Sound until finger test I decided to solder the board onto the Pi Zero with the required pins. This indeed solved the issue of no audio at all, however now I can now only hear audio from one channel, the right channel is working the left is not.
I believe I have the board correctly configured config.txt
:
# Added overlay for pimoroni audio-dac-shim-line-out
dtoverlay=hifiberry-dac
gpio=25=op,dh
# No sound other than hifiberry dac
dtparam=audio=off
Below is the output of aplay -L
:
null
Discard all samples (playback) or generate zero samples (capture)
default
output
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Hardware device with all software conversions
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac, HifiBerry DAC HiFi pcm5102a-hifi-0
Direct sample mixing device
Running the following command to test the audio
speaker-test -c2 -twav -l7
Produces the following:
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 8 to 131072
Period size range from 4 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 0.388100
0 - Front Left
1 - Front Right
Time per period = 3.071849
0 - Front Left
1 - Front Right
Time per period = 3.071868
0 - Front Left
1 - Front Right
Time per period = 3.070820
0 - Front Left
1 - Front Right
Time per period = 3.071268
0 - Front Left
1 - Front Right
Time per period = 2.733433
0 - Front Left
1 - Front Right
I can only hear the “Front Right” sample.
Anyone experience the same issue, or is there something else I should configure or test?