Get Kathrein RCU-676 remote to work with LE9

  • Hey guys,

    I'm trying to get my Kathrein RCU-676 to work with LE9. The remote itself seems to be RC6 but it behaves a bit strange. I've created a custom keymap

    So far so good. But sometimes the same key doesn't respond to 0x80468xxx but to 0x80460xxx. Do I have any chance to get that working somehow?

  • Which platform / build and which of IR receiver are you using? Please upload your dmesg output

    Code
    dmesg | paste


    The xxxx8xxx/xxxx0xxx scancode change you are seeing is the toggle bit (it flips if you release a button and then press it again).

    But this is quite odd, LE kernel contains a patch that enables the toggle bit on all RC6 protocol variants, not only on the original Microsoft MCE. So you should never get a xxxx8xxx scancode, only xxxx0xxx ones...

    linux-057-removed-mce-customer-code-restriction-in-rc6-decode.patch

    so long,

    Hias

  • Excuse me, I could've shared some more information... It's an Intel NUC5i5RYB with integrated Nuvoton-CIR. I'm using the generic Milhouse "LibreELEC-Generic.x86_64-9.0-Milhouse-20180823222245-#0823-gb56a1af.tar" right now.

    http://ix.io/1l8c

    But the remote itself isn't a MCE remote, it just uses the RC6 protocol. You can find some information here: product detail

    Edited once, last by Yoshi (August 24, 2018 at 6:43 PM).

  • It's just for testing. Please try to disable it and check if you get proper scancodes with ir-keytable -t / evtest.

    I suspect that patch from LE could be missing in the CrazyCat addon. If that's the case I'd like to write a proper patch for the issue which I can send upstream and include both in LE base kernel and the CrazyCat drivers (the patch in LE is not good and needed fixing for a long time).

    so long,

    Hias

  • With disabled CrazyCat addon it seems to work fine. :)

  • Thanks for the feedback! I've asked CvH , our DVB driver maintainer, to include a fix for it. I'll drop you a line when an updated build is available.

    BTW: The user manual of the remote mentions that it supports various remote codes (selectable with back+number)

    9364782.pdf

    Could you tell use which configuration you used and post scancodes for the other remote code settings as well (if they use the rc6 protocol)? Just posting the scancode of a single button (eg "1") with the various configurations would do fine.

    so long,

    Hias

  • Back + 2

    Code
    Push: 0x80461001
    Release: 0x80469001

    Back + 3

    Code
    Push: 0x80462001
    Release: 0x8046a001

    Back + 4

    Code
    Push: 0x80463001
    Release: 0x8046b001

    Back + 5, Back + 6 and Back + 7 don't user RC6, they use a different protocol. I've used the "standard setting" (Back + 1). That's how the remote is configured normally. This table below is the fully mapped remote code with all buttons available.

    And thanks a lot for your help, I really appreciate it. :) Is it possible to include my keymap in the standard builds in the future?

  • Looks better now, but somehow the RC-6 protocol is disabled now.

    If I stop kodi and eventlircd, start ir-keytable with "ir-keytable -p rc-6 -t" and start eventlircd and kodi again it works. But after a reboot rc6 is turned off again. :/

    But as long as RC6 is enabled, the remote works as it should.

    €dit: Ah forget about it, I'm stupid... I created a lircd.conf but I realized that I don't need it anymore. Without the lircd.conf it works fine :)