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

    Sound not working with HifiBerry

    Scheduled Pinned Locked Moved Help and Support
    audiohifiberrysoundvolume
    4 Posts 2 Posters 1.0k 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.
    • B
      Bk
      last edited by

      I recently installed the newest version of RetroPie on my Rapberry Pi 3 with a HifiBerry DAC+ ZERO for audio. I followed this official instruction https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/ for the setup and the device is recognised when i type aplay -l in the console but in RetroPie's sound settings the volume is always at 0% and there is no sound anywhere. I already tried all combinations of the settings for Audio Card and Audio Device but still no luck. Any help would be appreciated... Thanks in advance

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Post the output of

        aplay -L
        aplay -l
        

        Is alsamixer working your sound card, i.e. does it have a volume control ?

        B 1 Reply Last reply Reply Quote 0
        • B
          Bk @mitu
          last edited by

          @mitu
          Thanks for the reply.

          $ aplay -L
          null
             Discard all samples (playback) or generate zero samples (capture)
          default
          output
          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
          dsnoop:CARD=sndrpihifiberry,DEV=0
             snd_rpi_hifiberry_dac, Hifiberry DAC HiFi pcm5102a-hifi-0
             Direct sample snooping device
          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
          
          $ aplay -l
          **** List of PLAYBACK Hardware Devices ****
          card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
          

          Concerning the alsamixer, I assume I have to type "alsamixer sndrpihifiberry" or "alsamixer snd_rpi_hifiberry_dac"? If so, both give me "cannot open mixer: No such file or directory".

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Bk
            last edited by

            @bk said in Sound not working with HifiBerry:

            Concerning the alsamixer, I assume I have to type "alsamixer sndrpihifiberry" or "alsamixer snd_rpi_hifiberry_dac"? If so, both give me "cannot open mixer: No such file or directory".

            No, you should just type alsamixer and note the mixer's name (4th row on the top left menu). For instance, in the screenshot below the mixer is named Headphone.
            6e169b26-75f2-459a-8dc8-8f15484be18f-image.png.
            However, based on the error you're receiving (cannot open mixer) it looks like the device has no hardware volume control (mixer). You may be able to add a software volume control, following the instructions from this page.

            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.