Posts by mikebzh44

    Hi.

    I bought a new AV receiver 2 weeks ago (Yamaha RX-V483) and I was very happy to control Kodi running on my Odroid C2 using CEC and AV receiver remote.

    Every things were find but few days ago, I reboot the Odroid and now no more CEC control :(

    As my Set Top Box from my Internet provider is also connected to my AV receiver (and CEC works), I have switch HDMI cables, I also try with my old RPi with a fresh flashed LibreELEC SD card on both HDMI cabl but still no CEC controls.

    The weird thing is that when I put Kodi into debug mode and look into kodi.log, I can see that CEC key press are detected :

    I also copy and edit remote.xml to replace <left>Left<left> by <a8>Left</a8> or <key id='a8'>Left</left> and I try with Keymap Editor addon but I'm stuck :(

    Any help will be appreciate ;)

    Thanks


    can you try using SPDIF with that alsa device? just to make sure that that doesn't work.

    Yes, it works. Kodi is using ALSA: Default (AML-M8AUDIO Analog) but sounds came from my A/V receiver linked to th C2 by optical.

    But only in PCM and only on 2 channels. No options for passthrough in Kodi audio settings.

    I have try EisenHeim steps.

    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 :(

    Try :

    But can find any SPDIF output in audio settings :(

    Do I need to edit some files in /storage/.conf ?

    Try to modify /storage/.config/modprobe.d/disable-spdif-for-hd-audio.conf but modules are not loaded at boot time.
    [hr]


    /storage/.config/modules-load.d/

    So :

    Where is my mistake ?

    Thanks for your help.
    [hr]
    OK, rename files with .conf in /storage/.config/modules-load :

    Code
    # ls -l /storage/.config/modules-load.d/
    total 4
    -rw-r--r--    1 root     root          1703 Sep 29 06:29 README
    -rw-r--r--    1 root     root            19 Nov 16 18:48 snd-soc-odroid-dac.conf
    -rw-r--r--    1 root     root            16 Nov 16 18:48 snd-soc-pcm5102.conf

    and now modules are loaded at boot time :

    But still not SPDIF output in Kodi :

    It's a HiFi-Shield+

    I try to load modules at boot time following tuto given in my previous message but :

    /etc/modules does not exist

    there is only /etc/modules-load.d/README

    Try to add snd-soc-pcm5102.conf in /usr/lib/modules-load.d but it's a read-only filesystem :

    Code
    LibreELEC-c2:/usr/lib/modules-load.d # touch snd-soc-pcm5102.conf
    touch: snd-soc-pcm5102.conf: Read-only file system

    So how can I load modules at boot time ?

    Thanks.

    Thank you very much for this build.

    Modules are OK now :

    And aplay find the card :

    Code
    LibreELEC-c2:~ # 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

    I have kill and restart Kodi but no optical output available on Kodi :

    So I have create /storage/.conf/asoud.conf and restart Odroid C2. But I have to reload modules (where/how can I specifie to LE to load this modules at boot time ?).

    But Kodi audio output is not displaying Optical output :(

    Modules are not compiled or provided :

    Code
    LibreELEC-c2:~ # modprobe snd-soc-pcm5102
    modprobe: FATAL: Module snd-soc-pcm5102 not found in directory /lib/modules/3.14.29
    LibreELEC-c2:~ # modprobe snd-soc-odroid-dac
    modprobe: FATAL: Module snd-soc-odroid-dac not found in directory /lib/modules/3.14.29
    LibreELEC-c2:~ #

    Do I need to install Volumio OS so I can copy modules into LE ?

    ODROID Forum • View topic - C1+/C2 HiFi shield (pcm5102) driver

    EDIT :

    On Volumio, kernel is 3.4.79 and modules are :

    Code
    root@volumio:/# find . -name snd-soc-pcm5102*.*
    ./lib/modules/3.14.79/kernel/sound/soc/codecs/snd-soc-pcm5102.ko
    ./static/lib/modules/3.14.79/kernel/sound/soc/codecs/snd-soc-pcm5102.ko
    root@volumio:/# find . -name snd-soc-odroid-dac*.*
    ./lib/modules/3.14.79/kernel/sound/soc/aml/m8/snd-soc-odroid-dac.ko
    ./lib/modules/3.14.79/kernel/sound/soc/aml/m8/snd-soc-odroid-dac2.ko
    ./static/lib/modules/3.14.79/kernel/sound/soc/aml/m8/snd-soc-odroid-dac.ko
    ./static/lib/modules/3.14.79/kernel/sound/soc/aml/m8/snd-soc-odroid-dac2.ko

    I have try also with regular LibreELEC release :

    LibreELEC-Odroid_C2.aarch64-7.90.007.img

    But modules are not provided.