RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    I2S audio problems on version 4.0

    Scheduled Pinned Locked Moved Help and Support
    4 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chjensen
      last edited by

      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
      }

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by BuZz

        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.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • C
          chjensen
          last edited by

          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

          BuZzB 1 Reply Last reply Reply Quote 1
          • BuZzB
            BuZz administrators @chjensen
            last edited by

            @chjensen glad you have it sorted :-)

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            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.