[RPi3] No S/PDIF Audio

  • Hi guys,With LE11 installed, I cannot make my spdif soundcard work !

    It is supposed to be selected in kodi sound settings but only the PCM 2.0 or HDMI work.

    As i have an old DENON amplifier without HDMI I still need to use the spdif output to get dolby digital from amazon prime !

    I followed your thread on the forum...Unfortunately The procedure described doesnt work for me.

    I'm not a computer geek specialist and I do not know how to edit the /storage/.config/system.d/kodi.service file.

    I opened a session in raspbian and I cannot edit or create the file (I dont find it either).

    Can you please provide me any help to make the spdif work again on LE11 (kodi 19).

    Thanks in advance

  • I understood that the only way to edit a file is via the pi console and a sudo command.

    The thing is that the file kodi.service doesnt exist in my system.d directory.

    Is there another way to force KODI to add the SPDIF output?

    is there another file to be edited?

    Thanks in advance

  • I understood that the only way to edit a file is via the pi console and a sudo command.

    I've separated your post from a x86 Generic thread. Now you talk about "pi console". What's your hardware?

    "sudo command" doesn't exist on LE.

  • my hardware is :

    rpi3

    Kuman SC07C Raspberry Pi HiFi Digi+ with spdif.(Soundcard)

    the sudo command can be typed in raspbian session in the pi console I guess. I didnt try it so far because I dont know which commands to type. I would rather prefer to edit an existing file...

    Thanks in advance

    [

  • hi there,

    Im using a rpi3

    My os is LE10 (kodi 19.5)

    I have an extra soundcard hifiberry+ but I dont know how to configure the spdif output.

    It doesnt appear in the sound settings of kodi...

    Only appears alsa defaut hdmi (4 times) and pulse default bluetooth.

    See enclosed a picture

    Any idea to force the spdif output of my hifiberry+?

    I bought a hdmi splitter to spdif but it doesnt work either...

    Thanks in advance

  • Da Flex

    Thanks for your help.

    dtoverlay=hifiberry-digi is already in config.txt but it doesnt help...

    The only audio settings I can choose are hdmi and audio pulse bluetooth.

    See picture enclosed.

    Im desperate...

    Thanks in advance

  • hello Da flex,

    I deleted the lines

    • dtparam=i2c_arm=on
    • dtparam=audio=on
    • hdmi_force_hotplug=1

    But it didnt work out

    Then I downgraded L10 to LE9 2.8 (leia 18.5).

    Unfortunately i still dont see hiifidberry in my available audio outputs in kodi...

    Do you have any idea how to force it into config.txt?

    Thanks in advance

  • Kuman SC07C Raspberry Pi HiFi Digi+ with spdif.(Soundcard)

    That package contains the PiFi Digi+ soundcard, not the original HiFiBerry Digi+. So the driver at config.txt doesn't work for you.

    the sudo command can be typed in raspbian session in the pi console I guess. I didnt try it so far because I dont know which commands to type.

    LE doesn't support sudo, because you're already super user after login. I assume you have instructions, how to install the driver on Raspberry Pi OS (former Raspbian). Please share a link of those instructions. Maybe we can help to install that driver on LE.

  • Hi Da Flex,

    Im a bit lost as I am a real beginner in here.

    I dont know which instructions you are talking about in Raspberry PI OS.

    I just can tell you that before upgrading LE 9 to LE10, my spdif output was working and available in kodi 18 (leia). When I downgraded from LE10 to LE9 it mystiriously disappeared.

    By the meantime, I still have another kodi 17 installed on my pi.

    This session works with my soundcard in spid. See the picture enclosed...

  • I dont know which instructions you are talking about in Raspberry PI OS.

    The hardware package has to have some instructions for driver installation. That's what I wanted to see.

    It seems to use the HiFiBerry driver, but the soundcard is a HiFiBerry clone, so mysterious things can happen. /shrug

  • HI Da Flex,

    As advised, I rechecked the instructions I received when I bought the card ( you are right its a PiFi Digi+ soundcard, not the original HiFiBerry Digi+)in 2016 :

    https://www.amazon.fr/gp/product/B01DD94DL6/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1

    2) CONFIGURATION DU RPi

    Déroulez les étapes suivantes indépendamment de l'image (distrib) installée sur votre RPi,

    - Connectez-vous sur votre RPi

    $ ssh <mon-rpi> -l pi

    - Ouvrir le fichier /boot/config.txt

    $ sudo nano /boot/config.txt

    - Commentez l'entrée : "dtparam=audio=on" (si elle existe)

    - Ajoutez une ligne pour la carte HiFi DiGi+

    dtoverlay=hifiberry-digi

    - Sauvegardez et quittez

    - Ouvrir le fichier /etc/modules

    $ sudo nano /etc/modules

    - Ajoutez la ligne suivante pour charger le module de la carte au boot

    snd_soc_hifiberry_digi

    - Redémarrez votre raspberry

    $ sudo reboot

    3) PARAMÉTRAGE KODI

    - Après reboot, allez dans Paramètres > Système > Audio

    - Sélectionnez "ALSA: snd_rpi_hifiberry_digi,S/PDIF"

    (Désactivez le passthrough s'il était actif)

    Maintenant votre son passe à travers la carte HiFi DiGi+

    Well it was ok in the past... but not working anymore

    Then I checked other tutos :

    Create /etc/asound.conf with the following content: pcm.!default { type hw card 0 } ctl.!default { type hw card 0 }

    Reboot again

    Any other idea?

    Should I update the LE9 to LE11?

    Will it help?

    Thanks in advance

  • Theory: HiFiBerry driver has been updated since newer LE versions, so it's not working with your clone anymore.

    Solution: Buy an original HiFiBerry soundcard. They are working fine on LE since many years.

    Before buying a new soundcard, you can try Raspberry Pi OS with Kodi. If it's also not working there, my theory is confirmed.