Remote control problem (Milhouse nightly build)

  • Hi all,

    I'm having some problem with the media center USB remote control connected to a X86 laptop and libreelec:

    Code
    LibreELEC:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event10) with:
        Driver mceusb, table rc-rc6-mce
        Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
        Enabled protocols: lirc nec rc-6
        Name: Media Center Ed. eHome Infrared
        bus: 3, vendor/product: 0471:060c, version: 0x0101
        Repeat delay = 500 ms, repeat period = 125 ms

    It's almost a year that I'm using the Milhouse nightly build releases and I noticed that starting from the release:

    Code
    LibreELEC (community) Version: devel-20170407212644-#0407-gf3caa55
    LibreELEC git: f3caa554927846aca7c85bb723b9c9f7f90cce70
    
    
    http://milhouse.libreelec.tv/builds/master/Generic/LibreELEC-Generic.x86_64-9.0-Milhouse-20170407212644-%230407-gf3caa55.tar

    my remote control stopped to work properly.
    Basically when a remote key is pressed, it's like it's pressed twice.
    For instance: when the up key is pressed on the main menu, the cursor moves two items up.
    I don't have any particular configuration saved on my /.config/ folder (I always used the default configuration provided)

    Instead, I don't have any problem with the day before release (the last release that works for me):

    Code
    LibreELEC (community) Version: devel-20170406210249-#0406-gf3caa55
    LibreELEC git: f3caa554927846aca7c85bb723b9c9f7f90cce70
    
    
    http://milhouse.libreelec.tv/builds/master/Generic/LibreELEC-Generic.x86_64-9.0-Milhouse-20170406210249-%230406-gf3caa55.tar

    Any help?
    Thank you in advance for your response.

    Regards.

    Edited once, last by Avok78 (April 29, 2017 at 6:06 PM).

  • Your remote presses are both decoded by the kernel and by lirc. In this case disable lirc in LE settings so that only in-kernel decoding is used. If needed you can change remote button configuration via ir-keytable (instead of lircd.conf) - see here for more details about it:
    thread-7152-post-43745.html#pid43745

    Before you disable lirc in the LE settings it would be great if you could upload some logs:

    Code
    systemctl status lircd.service | paste
    journalctl -a | paste
    dmesg | paste
    ir-keytable | paste

    When lirc is started it should disable in-kernel decoding - at least it's doing this in my test setups. So it would be great to know why this isn't happening on your setup.

    so long,

    Hias

  • Thanks for the help. Just updated my Kaby Lake Brix machines to a Milhouse build and was getting the same problem. Disabling Lirc set everything back to normal.