Remote Double/Triple press on Cubox-i4.

  • It has been a while, so i looked at the newest images for Cubox-i4x4 and got one working.....
    not sure if i got the name right:
    LibreELEC-imx6.arm-8.0-7.90.006-sr-3.14-v1.img

    and for the most part its works, except....
    when i press a button on the remote it acting like i pressed it several times.
    The Lirc in the libreelec addon is disabled. so i dont know how disable or
    at least see what else is reading the IR input (which is what i think is happening)

    if it helps, this is the remote im using:
    Amazon.com: New HP OEM Windows Media Center HTPC MCE PC RC6 IR Remote Control + IR emitter and Infrared Receiver for Windows7 Vista XP Home Premium and Ultimate Edition (Discontinued by Manufacturer): Home Audio & Theater

    oh, and if i plugin the extender its acts like i pressed the button four or five times....

    Edited 2 times, last by Animejin ().

  • If you could use CEC instead of IR, then CEC adapter settings will solve the multi-trigger problem.

    Flexin' vinyl, jammin' break beats. 8)

  • are you referring to the Settings -> System -> Peripherals?
    if so, after trying to mess with the settings, it didnt help....


    i also tried
    "systemctl mask eventlircd.service"

    but that too didnt work

    Edited once, last by Animejin ().

  • i also notice that when i stop kodi and ran "ir-keytable -t" press the OK button and got this:


    LibreELEC:~ # ir-keytable -t

    Testing events. Please, press CTRL-C to abort.

    1597448457.421222: event type EV_MSC(0x04): scancode = 0x800f0422

    1597448457.421222: event type EV_KEY(0x01) key_down: KEY_OK(0x0160)

    1597448457.421222: event type EV_SYN(0x00).

    1597448457.580213: event type EV_MSC(0x04): scancode = 0x800f0422

    1597448457.580213: event type EV_SYN(0x00).

    1597448457.920165: event type EV_KEY(0x01) key_down: KEY_OK(0x0160)

    1597448457.920165: event type EV_SYN(0x00).

    1597448458.046837: event type EV_KEY(0x01) key_down: KEY_OK(0x0160)

    1597448458.046837: event type EV_SYN(0x00).

    1597448458.130157: event type EV_KEY(0x01) key_up: KEY_OK(0x0160)

    1597448458.130157: event type EV_SYN(0x00).

    LibreELEC:~ #

    so what's reading my remote?

  • are you referring to the Settings -> System -> Peripherals?

    Exactly, but because it's for CEC events, it can't help you for IR events.

    Flexin' vinyl, jammin' break beats. 8)

  • so i learned that by default it loads "/usr/lib/udev/rc_keymaps/libreelec_multi" so i copied that file to "/Storage/.config/rc_keymaps/mce" after editing out the other remotes, i then created a file called "rc_maps.cfg" in the /storage/.config folder. i put this in the file:

    * * mce

    ^ so this mean any driver, any table, use the file "mce" to look up the key....

    sorry for the delayed answer....

  • Animejin , are you running a xmi6 cuboxi4pro with LibreElec kodiv19?

    no video issues as monocolor "look" and audio spif optical 5.1? (i tried the nigthly builds and all til now (250820) had a video encoder and audio issue. it didn't work properly. the stereo hdmi did work but i have hdmhi1.4 in the cuboxi and no hdmi to my reciever oly spif optical (dvd)

    so i am back to 17.6 kodi which runs for now.