I2S audio problems on version 4.0
-
I am having trouble with my external soundcard on version 4.0.
Everything is working perfect up to version 3.8.1, but when I tried to use version 4.0, the audio stopped working in C64 and MAME games.
I have configured the audio settings, the same way in both versions.
The sound card is home made, and is based on the ADAU1761 device from Analog Device.
I have made my own program to boot the ADAU1761 via I2C, and I can read the correct configuration in the ADAU1761 after boot-up.
Is anything changed regarding handling an external soundcard? I have discovered, when I’m adding SND_SOC_PCM5102A to the /etc/module file, the audio settings is corrupted somehow. When I write aplay -l to see the sound devices, a lot of errors occurs. This only occur in version 4.0, and not in 3.8.1 or earlier.My configuration is:
Added to /boot/config.txt:- dtoverlay=hifiberry-dac
Enabled in /boot/config.txt:
- dtparam=i2c_arm=on
- dtparam=i2s=on
Added to /etc/modules:
- snd_soc_pcm5102a
- snd_soc_hifiberry_dac
Created /etc/asound.conf:
pcm.!default {
type hw
card 0
format s16_LE
} -
The only thing that may have changed to break it that I can think of is the Raspbian Kernel - You could see if downgrading the kernel helps - https://github.com/Hexxeh/rpi-update (and then try and work out at what point it broke - if it is a kernel issue) - you could also update to the latest kernel with that tool to see if it is an issue that has been fixed.
-
I found a solution.
I had to add the following to the /etc/modules
snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac -
@chjensen glad you have it sorted :-)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.