/dev/lirc0: cannot open: No such file or directory

Can’t get “ir-ctl -t 20000” to work

##############################################
#                  CoreELEC                  #
#            https://coreelec.org            #
##############################################

CoreELEC (official): 8.90.2 (S905.arm)
CoreELEC:~ # ir-ctl -t 20000
/dev/lirc0: cannot open: No such file or directory
CoreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
        Name: meson-ir
        Driver: meson-ir, table: rc-empty
        Supported protocols: other rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
        Enabled protocols: nec
        bus: 25, vendor/product: 0000:0000, version: 0x0000
        Repeat delay = 500 ms, repeat period = 125 ms

# systemctl status lircd

● lircd.service - Flexible IR remote input/output application support
   Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
Condition: start condition failed at Tue 2018-03-06 01:16:39 +03; 2 months 9 days ago
           └─ ConditionPathExists=/storage/.config/lircd.conf was not met
     Docs: http://lirc.org/html/configure.html

and dmesg output http://ix.io/1akY

You need to use the correct DTB with CoreELEC.
If you upgraded from an old LE version, put the SD card in your PC and copy + rename the correct DTB file from the ‘device_trees’ folder.

I have Mecool KII Pro.
I copied gxbb_p200_k2_pro.dtb from the “device_trees” to the root directory and renamed it to dtb.img

Definitely a DTB issue.

Are you sure your not running from internal as the DTB update procedure is a little different then.

There are two version of KII pro with S905 and new one with S905D. For S905D use gxl_p231_2g_dvb.dts.

1 Like

and for KI Plus S905D?

For new Ki Plus with S905D use gxl_p231_1g_dvb.dts.

1 Like

I bought it from aliexpress, seller wrote Mecool KII Pro S905 in the description. How can I be sure?

No I’m not running it from internal storage. I have android on internal.

CoreELEC:~ # cat /proc/cpuinfo
Processor       : AArch64 Processor rev 4 (aarch64)
processor       : 0
processor       : 1
processor       : 2
processor       : 3
Features        : fp asimd evtstrm crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : Amlogic
Serial          : 1f0c13003209a3a13e932786eb086f51

here is dtb image I grabbed from /dev/dtb in android dtb.img.gz (127.8 KB)

I solved my tvheadend server problem by importing tvheadend configs to a fresh CoreELEC installation.
@afl1 device doesn’t boot with gxl_p231_2g_dvb.dtb