CE 8.90.1 and Lirc

  • Hi Guys,

    I'm trying to setup lirc on a CoreElec 8.90.1 as I need a button on the remote to restart Kodi that runs outside of Kodi (because its +10 to WAF in my household), but while I have the ir-keytables portion working well, I am struggling with the lirc half. The remote I am using is a logitech harmony setup as a MCE remote with the inbuilt ir receiver in the Beelink GT1 Ultimate s912 box. It seems that while lircd is running, irw is not able to connect to the socket (error below)

    Some points:

    *I previously had ir-keytable + lirc working on a ubuntu setup so I have been reusing configs where possible. Its been a few years since I set it up on ubuntu, so I may be missing something in CoreElec, but I followed the wiki once I started having troubles

    *I am launching ir-keytable via a custom udev rule and not using /storage/.config/rc_maps.cfg as I need to set button delays (I've since discovered that there is a separate rule for key delays, so I can go back to using rc_maps.cfg if it helps).

    *I have tried running the commands listed in post 6 of this thread with some modifications (using lircd instead of lircd-lirc0) to no avail.

    *eventlircd has been removed and I'm not sure if something else needs to be done because of this.

    *irw error:

    Code
    Cannot connect to socket /var/run/lirc/lircd: No such file or directory

    *Info requested in the above thread:

    ir-keytable:

    Code
    Found /sys/class/rc/rc0/ (/dev/input/event2) with:
            Driver: meson-ir, table: rc-empty
            lirc device: /dev/lirc0
            Supported protocols: lirc rc-5 jvc sony nec sanyo mce_kbd rc-6
            Enabled protocols: lirc nec rc-6
            Name: meson-ir
            bus: 25, vendor/product: 0000:0000, version: 0x0000
            Repeat delay = 1000 ms, repeat period = 100 ms

    *dmesg

    http://ix.io/190f

    *journalctl -a

    http://ix.io/190g

    *lsmod

    http://ix.io/190h

    *ls -la /storage/.config/

    *ls -la /storage/.cache/services/

    Code
    total 16
    drwxr-xr-x    2 root     root          4096 Apr 27 14:15 .
    drwxr-xr-x   10 root     root          4096 Apr 27 14:15 ..
    -rw-r--r--    1 root     root             0 Apr 29 19:35 avahi.conf
    -rw-r--r--    1 root     root             0 Apr 29 19:35 crond.conf
    -rw-r--r--    1 root     root           176 Apr 29 19:35 samba.conf
    -rw-r--r--    1 root     root            70 Apr 29 19:35 sshd.conf

    *ls -la /dev/lirc*

    Code
    crw-------    1 root     root      229,   0 Apr 29 19:34 /dev/lirc0

    *systemctl -a

    http://ix.io/190j

    *udevadm info -a -n /dev/lirc

    http://ix.io/190k

    */storage/.config/lircd.conf

    http://ix.io/190l

    */storage/.config/rc_keymaps/rc6_mce

    http://ix.io/190w


    Anyone have any suggestions on why lirc is not working on my system? Im stumped...

    Edited once, last by teeedub (April 29, 2018 at 11:35 AM).