Posts by EisenHeim

    Hi,

    I've got the same setup (with a HiFi shield plus), and I ran into the same problem.

    I've made a repo on my github with the image of lrusak, and the modules I took from my running setup.

    Feel free to use it, I hope it helps !

    GitHub - 3isenHeiM/HiFi-Shield-Plus: This repo contains the modules for the support of the Hi-Fi Shield+ on the Odroid C2 for LibreELEC distro.

    Since the tar is more than 25Mb, I can't upload it on GitHub. Here's the link to my dropbox :Dropbox - LibreELEC-Odroid_C2.aarch64-8.0-devel-20161031231959-r24348-g560ee96.tar

    Do anybody knows if the latest version of LibreELEC (8.0.0) supports the HiFi Shield ?
    I mean, are theses modules present in the release ?

    Code
    snd-soc-pcm5102
    snd-soc-odroid-dac

    We have problems here with new version, because of the lack of integration of those 2 modules to make the HFi shield work...

    Thanks guys :)

    Here's the log file : AFEK

    My first guess is that it's relates to the plugin WavForHue...

    Yep, I've heard about those memory leaks... Hope it'll be fixed ;)
    [hr]
    It was it indeed ^^

    I was unable to uninstall it on the GUI, so I went the hard way :

    Code
    # rm -rf /storage/.kodi/addons/visualization.wavforhue/

    And it solved the problem :)

    PS : Should I mark the thread as solved ?

    I'm running too the 7.90.009, on my Odroid-C2, and I've got one serious issue : I can't play any music anymore.
    When I try to play music, Kodi crashes, no matter where is stored the mp3 files.
    I tried from my NAS, and directly from the music folder, and it had the same behavior.

    It plays the song for about 1s, and then cut. From there Kodi's UI stops responding...
    What's weirder is that there's no traces whatsoever in kodi.log...

    I experienced this misbehavios since 15 days (auto update gone wrong ?) but I re-updated it, and I got the same problem.
    I also tried with the sound outputting via HDMI, and the behavior was the same (I normally have DAC).
    I have no problems to play a Movie or a TVShow, it's only with Music..

    To conclude : the problem doesn't come from the song itself, nor the output chosen. From Kodi itself, then ?

    And if I right-click on a song, the "Play" option is replaced with "Play with..." and I got to choose between "PAPlayer (default)" or "VideoPlayer".
    Both lead to the same crash.

    The only way is then to stop & start kodi via SSH (systemctl).

    Does anybody experience this thing ?

    Thanks for reading me this far !


    I stop Kodi, I can play pink noise on FL and FR speakers, I load module in alsa using pactl command but when I start Kodi, I only have to choice on devices and not three (no PULSE: O-DROID DAC).

    So using default alsa output is not good for me because my HTPC is set up to use HDMI output for Kodi and stereo track and optical output for passthrough.

    I can't use my Odroid-C2 this way for the moment :(

    I don't fully understand the behavior of all this, but if this commands return 17 or more, it's gonna show up in the Kodi sources.

    Code
    LibreELEC:~ # pactl load-module module-alsa-sink device=hw:1,0
    17

    Sometimes, after the reboot, this command returns 16, and it doesn't work...

    So what I do is re-launching the tests of the speakers.
    If when you launch this again you got this error :

    Code
    LibreELEC:~ # speaker-test -D plughw:1,0 -c 2
    
    
    speaker-test 1.1.2
    
    
    Playback device is plughw:1,0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Playback open error: -16,Device or resource busy

    Just wait 5s and do it again. It'll go fine...

    After that do the again the "# pactl load-module module-alsa-sink device=hw:1,0" and after starting kodi, everything should be fine.


    Hope it helps :)

    I kinda solved the problem this morning, even if it isn't persistent for the moment...

    Code
    $ systemctl stop kodi


    1) Check that libreELEC "finds" the sound card : simple speaker test :

    Code
    $ speaker-test -D plughw:1,0 -c 2

    (plughw:0,0 is the default sound card, plughw1,0 is the Odroid DAC)

    If you hear noise coming from the 2 speakers linked with your DAC, OK.
    If not, the problem should still be in the modules that aren't loaded properly...


    2) Make alsa load the module manually :

    Code
    $ pactl load-module module-alsa-sink device=hw:1,0
    $ systemctl start kodi

    3) Choose the DAC in the Kodi audio settings :


    This is only a temporary solution, but it works until reboot !


    If somebody, could come up with a way to make it reliable, it'll be great :) :)

    Because it's not supported in our kernel yet?


    Aplay outputs this :

    Code
    LibreELEC:~ # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AMLM8AUDIO [AML-M8AUDIO], device 0: I2S.31 dit-hifi-0
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    card 1: ODROIDDAC [ODROID-DAC], device 0: I2S.31 pcm5102-0
      Subdevices: 1/1
      Subdevice #0: subdevice #0

    Doesn't that mean that the DAC audio output should be available in Kodi ?

    Hi, I'm in the same case : Odroid C2 + HiFi Shield+

    I'm trying to get the sound to the DAC, because my amplifier is connected to RCA.

    Here's are the step I made, after upgrading to the version http://lrusak.libreelec.tv/LibreELEC-Odr...60ee96.tar

    I also made a file /storage/.config/asound.conf with

    Code
    pcm.!default  {
     type hw card 1
    }
    ctl.!default {
     type hw card 1
    }


    Still, I cannot find the DAC audio output in Kodi settings and the sound still comes out of the TV speakers (through HDMI)...
    If it appears righit with aplay -l, why doesn't it show on the UI ?

    Am I missing something ?

    Thanks for everything :)