missing audio passthrough for SPDIF on imx platform

  • Hello,

    When using LE master on my Cubox-I2ex with the old SR kernel (3.14.60) there is no possibility to use passthrough audio over SPDIF any longer. Don't know if this works with the newer xbian kernel.
    I can activate passthrough in the audio settings in Kodi but the selection for the passthrough device is greyed out while the HDMI device is selected.

    From the kodi logs I saw the following:

    Code
    18:34:09 T:3033317952  NOTICE:     Device 1
    18:34:09 T:3033317952  NOTICE:         m_deviceName      : @
    18:34:09 T:3033317952  NOTICE:         m_displayName     : Default (Integrated SPDIF Analog)
    18:34:09 T:3033317952  NOTICE:         m_displayNameExtra:
    18:34:09 T:3033317952  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
    18:34:09 T:3033317952  NOTICE:         m_channels        : FL,FR
    18:34:09 T:3033317952  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
    18:34:09 T:3033317952  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
    18:34:09 T:3033317952  NOTICE:         m_streamTypes     : [color=#FF0000]No passthrough capabilities[/color]

    A quick google search showed me the following thread from geexbox project. Seems like they had a similar issue. But I don't know how to test or implement something similar in LE project. Maybe someone could help?
    kodi misses spdif in audio passthrough on cubox i4 – GeeXboX

    If you need some more logs or output of some commands please let me know.

    Thanks in advance

  • Seems aliases.conf must be edit but I dont know if this is possible without making custom image. Maybe it would be possible through alsa.conf in /storage but not sure.

  • I just tried with alsa.conf in /storage/.config/

    content was:

    Code
    alias 'On-board_SPDIF' cards.imx-spdif
    alias 'Integrated_SPDI' cards.imx-spdif

    Correct like this or did I make a mistake or misunderstood something?
    Indeed this doesn't change anything...