Kodi Community Forum
ir-keytable and "enabled kernel protocols" - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: ir-keytable and "enabled kernel protocols" (/showthread.php?tid=348803)



ir-keytable and "enabled kernel protocols" - patrol02 - 2019-10-29

Hi all,

I am trying to set up my IR remote.

ir-keytable shows that ir-6 kernel protocol is not enabled (only lirc is listed in Enabled Kernel Protocol section):

$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event5) with:
    Name: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
    Driver: mceusb, table: rc-rc6-mce
    LIRC device: /dev/lirc0
    Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon
    Enabled kernel protocols: lirc
    bus: 3, vendor/product: 1934:5168, version: 0x0001
    Repeat delay = 500 ms, repeat period = 125 ms

This remote works on another machine whose Enabled kernel protocol has both "lirc" and "rc-6".

How do I enable rc-6 kernel protocol?


RE: ir-keytable and "enabled kernel protocols" - black_eagle - 2019-10-29

sudo ir-keytable -p rc-6,lirc

OR

sudo ir-keytable -p all to turn all of 'em on.

Hint - man ir-keytable Wink


RE: ir-keytable and "enabled kernel protocols" - HiassofT - 2019-10-29

Make sure you don't have lirc running with the default (/dev/lirc0) driver, this will disable all kernel protocol decoders. With your setup rc-6 and the rc6-mce keymap should be enabled by default.

so long,

Hias


RE: ir-keytable and "enabled kernel protocols" - patrol02 - 2019-10-29

(2019-10-29, 13:39)black_eagle Wrote: sudo ir-keytable -p rc-6,lirc
 

Yes, I tried it before and it didn't work:

$ sudo ir-keytable -p all -t -v
[sudo] password for alexey:
Found device /sys/class/rc/rc0/
Parsing uevent /sys/class/rc/rc0/lirc0/uevent
/sys/class/rc/rc0/lirc0/uevent uevent MAJOR=247
/sys/class/rc/rc0/lirc0/uevent uevent MINOR=0
/sys/class/rc/rc0/lirc0/uevent uevent DEVNAME=lirc0
Input sysfs node is /sys/class/rc/rc0/input25/
Event sysfs node is /sys/class/rc/rc0/input25/event5/
Parsing uevent /sys/class/rc/rc0/input25/event5/uevent
/sys/class/rc/rc0/input25/event5/uevent uevent MAJOR=13
/sys/class/rc/rc0/input25/event5/uevent uevent MINOR=69
/sys/class/rc/rc0/input25/event5/uevent uevent DEVNAME=input/event5
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-rc6-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=mceusb
/sys/class/rc/rc0/uevent uevent DEV_NAME=Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
input device is /dev/input/event5
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (disabled)
/sys/class/rc/rc0/protocols protocol rc-6 (disabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol sharp (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol xmp (disabled)
/sys/class/rc/rc0/protocols protocol imon (disabled)
/sys/class/rc/rc0/protocols protocol lirc (enabled)
Opening /dev/input/event5
Input Protocol version: 0x00010001
Protocols changed to lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon
Testing events. Please, press CTRL-C to abort.

Then it doesn't react on my remote. Maybe something needs to be enabled system-wide?

LIRC is not installed on this system.


RE: ir-keytable and "enabled kernel protocols" - caesar753 - 2020-12-08

Hello, did you manage to get ir remote work?