Posts by HiassofT

    Ah, yes, you are right about KEY_HOME (<start> code in kodi). The global section maps that to PreviousMenu, but in FullscreenVideo it's changed to OSD.

    Not 100% sure about the window names, have a look here for the list of Window IDs: Window IDs - Official Kodi Wiki - the links to Keymaps and Action IDs at the bottom of the page might also be worth a read.

    so long,

    Hias

    I haven't used Pulseaudio or Bluetooth audio devices myself yet, so my knowledge in that area is zero.

    But lrusak, who wrote that wiki article, is quite experienced in that area, so that information should be accurate.

    In that aspect the Wolfson / Cirrus cards work identical to all other ALSA cards, so it's better to post in the General Forum if you have questions about that.

    so long,

    Hias

    That looks like you are running into RPi issue #906 Issues · raspberrypi/linux · GitHub (sorry, stupid forum software thinks I'm posting spam because the title of the bug report contains the censored word "sens*t*ve" - just add 906 at the end of the URL to get to the details). Heavy USB traffic, like it's generated by DVB sticks, can interfere with proper operation of GPIIO IR receivers. Unfortunately there's no solution to that.

    Since your DVB stick has an IR receiver built in the best solution would be to use that, and disable the GPIO IR receiver (either by uncommenting the dtoverlay line in config.txt or by disabling lirc in LibreELEC settings).

    LibreELEC already ships with a keytable for the xbox one remote (let's hope it's the correct one) and the IR receiver of your DVB stick seems to support the remote protocol (NEC) as well.

    To get that working just create a .config/rc_maps.cfg file with the following content:

    Code
    * * xbox_one

    so long,

    Hias

    For 1 and 2 I'm using this:

    buttons mapped to KEY_EPG and KEY_HOME in keytable.

    In oder to get the EPG working I use the following Lircmap.xml

    Code
    <lircmap>
        <remote device="devinput">
            <guide>KEY_EPG</guide>
        </remote>
    </lircmap>

    The linux input events translated by eventlircd will show up as "devinput" lirc events in kodi.

    As for 3: that should be doable with mapping a button to KEY_PVR - that should map to <recordedtv> in the default kodi keymap for devinput and will then bring up the window via this entry in the default kodi remote.xml

    Code
    <recordedtv>ActivateWindow(TVRecordings)</recordedtv>

    so long,

    Hias

    We are only removing the driver for the old xbox USB IR receiver. You'll still be able to use the remote with another IR receiver that's compatible with it - eg the universal GPIO receiver on RPi or most built-in IR receivers eg on Intel NUCs.

    lirc_xbox doesn't support configuration via ir-keytable as it is an old lirc-only device driver.

    so long,

    Hias

    That post you mentioned is the right start. Follow the steps outlined there, and if something's not quite clear just ask.

    I'm currently putting a guide together which will be posted on the wiki, every feedback from you users is helpful to me.

    For me as a dev who's into that stuff it's the other way round, too many things are obvious to me and I might forget mentioning them. Knowing about these things and what's not really obvious to you will help me creating the guide.

    so long,

    Hias

    BTW: It's better to build a simple GPIO IR receiver (eg using a TSOP34138) which you can then use with the "gpio-ir" overlay.

    LibreELEC 9.0 will ship without the lirc_xbox driver (it's already removed from current Milhouse builds).

    Kernel is moving away from the old lirc drivers to the newer rc-core drivers (with in-kernel decoding support, you don't need userspace lirc for remotes). The lirc_xbox never made it into the upstream kernel, it was only added to OpenELEC (and kept in LibreELEC), and due to the ongoing changes in the kernel we can no longer support it. OpenELEC already removed it, and now we have to do the same as well.

    so long,

    Hias

    The xbox receiver isn't detected by the system at all - the only usb devices listed in dmesg are RPi's ethernet adapter (smsc95xx) and your chicony keyboard.

    Check again without the keyboard, or adding an active powered USB hub in between.

    so long,

    Hias

    One more, I had my line-in configured to play on speakers through .sh script and udevrules in old build.

    How do I get this to work? Do I need to enable anything else as you advised above?

    Add this to the rpi cirrus config script:

    Code
    # default input gain +8dB
    setup_line_in 8
    
    # route line in to mixer 2 of speaker-out. 32 means 0dB gain
    set_mixer $speaker_out_signals $line_in_signals 32 2

    Adjust the gain settings as you like, but better keep the output gain at 0dB (raw value 32), otherwise you risk clipping.

    Some more examples on how to work with the mixer helper functions can be found in the mixer-scripts for raspbian: rpi-cirrus-config/mixer-scripts at master · HiassofT/rpi-cirrus-config · GitHub

    so long,

    Hias

    How did you configure speaker out?

    Since version 7.0.3 of my community builds custom configuration is now handled via .config/rpi-cirrus-config.sh. Use the rpi-cirrus-config.sh.sample file from that directory as a template, you only need to un-comment the "playback_to_speakers" line and reboot.

    Instead of the old, separate shell-scripts to configure the card helper functions from the /usr/lib/alsa/rpi-cirrus-functions.sh script are now used - this turned out to be more flexible and easier to maintain than the separate scripts.

    Also make sure you selected "RPi-Cirrus Analog" as audio output device, "RPi-Cirrus S/PDIF" will only output to S/PDIF and mute all other outputs. "Analog" will output to whatever you have configured in the rpi-cirrus-config.sh script (default is line+headset+spdif out).

    so long,

    Hias

    Could you try with the gpio-ir overlay instead of the lirc-rpi overlay?

    Just change your config.txt to contain this:

    Code
    dtoverlay=gpio-ir,gpio_pin=25

    Also disable Lirc in LibreELEC Settings -> Services.

    Then follow this guide to configure the remote using ir-keytable: WD TV Live remote

    Using irrecord to manually create a lircd.conf file has always been problematic. In your case it created an invalid file - you'd have to remove the 0x00000000 from the keycodes.

    Using a remote with a IR standard protocol like rc-5, rc-6 or nec and the in-kernel decoding (which is available if you use gpio-ir) avoids most of these pitfalls.

    so long,

    Hias