v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-09-21, 11:47)HiassofT Wrote: The syntax of gpio pin setting in the gpio-ir overlay is different to lirc-rpi. You have to use
Code:
dtoverlay=gpio-ir,gpio_pin=26

Note "gpio_pin", not "gpio_in_pin"

Edit: also remove the "device_tree_overlay" lines in config.txt.

so long,

Hias

Still not working.
Code:
dtoverlay=gpio-ir,gpio_pin=26
dtoverlay=hifiberry-dacplus


Code:
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
        Driver gpio-rc-recv, table rc-rc6-mce
        Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
        Enabled protocols: lirc
        Name: gpio_ir_recv
        bus: 25, vendor/product: 0001:0001, version: 0x0100
        Repeat delay = 500 ms, repeat period = 125 ms

Code:
LibreELEC:~ # ps -a | grep lirc
  242 root       0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd
  460 root       0:00 lircd --device=/dev/lirc0 /storage/.config/lircd.conf
  466 root       0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd
  470 root       0:52 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
1455 root       0:00 grep lirc

-------- UPDATE ---------

I've realized that lircd was running even when disabled from Settings. I have removed its startup from autostart.sh (it needed to be there for some reasons in the past).
Now lircd is not started upon reboot.
Code:
LibreELEC:~ # ps -a | grep lirc
  225 root       0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd
  455 root       0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd
  462 root       0:34 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
  890 root       0:00 grep lirc
ir-keytable looks different:
Code:
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
        Driver gpio-rc-recv, table rc-rc6-mce
        Supported protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
        Enabled protocols: lirc nec rc-6
        Name: gpio_ir_recv
        bus: 25, vendor/product: 0001:0001, version: 0x0100
        Repeat delay = 500 ms, repeat period = 125 ms

mode2 gives me activity on pressing keys, but within kodi navigation still doesn't work.

upon mode2 execution, ir-keytable output changes
Code:
Enabled protocols: lirc


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by sailort - 2017-09-21, 11:55
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24