Posts by angrysadman
-
-
Hi! Sorry, my english is poor.
i tryin to configure my remote by following instructions and according librelec IR wiki page:
systemctl stop eventlircd
systemctl stop kodi
ir-keytable -t # all work's well
Code: nano /storage/.config/rc_keymaps/mxq
Display More# table mxq, type: nec 0x20d = "KEY_UP" 0x24f = "KEY_DOWN" 0x24e = "KEY_LEFT" 0x20c = "KEY_RIGHT" 0x219 = "KEY_ENTER" 0x210 = "KEY_VOLUMEDOWN" 0x214 = "KEY_VOLUMEUP" 0x208 = "KEY_BACK" 0x24b = "KEY_MENU" 0x205 = "KEY_PLAYPAUSE" 0x247 = "KEY_REWIND" 0x204 = "KEY_FASTFORWARD" 0x209 = "KEY_STOP" 0x256 = "KEY_PAGEUP" 0x211 = "KEY_PAGEDOWN" 0x253 = "KEY_HOME"
Code: ir-keytable -a /storage/.config/rc_maps.cfg -s rc0Old keytable cleared Wrote 16 keycode(s) to driver Protocols changed to nec
systemctl start eventlircd
systemctl start kodi
Press any buttons and nothing happens... when i'm trying to cat /dev/input/event2 my remote reacting (before i've started eventlircd). Ok then systemctl start eventlircd and test in irw - see nothing. Seems that KODI didn't recieve translated LIRC events, how to fix that?
Hardware: MXQ Quick Play (S905), w/various remotes (nec protocol)
Software: LibreELEC (5schatten): RR-20190423-716b9f8 (S905.arm) + LibreELEC-S905.arm-9.1-RR-20190423-716b9f8 (updated)
Code: dmesg
Display More[ 7.294580@3] Registered IR keymap rc-empty [ 7.294839@3] input: meson-ir as /devices/c8100580.meson-ir/rc/rc0/input2 [ 7.294985@3] rc0: meson-ir as /devices/c8100580.meson-ir/rc/rc0 [ 7.306459@3] IR RC6 protocol handler initialized [ 7.306904@3] IR NEC protocol handler initialized [ 7.308783@2] IR RC5(x) protocol handler initialized [ 7.309894@3] IR Sony protocol handler initialized [ 7.312215@2] IR JVC protocol handler initialized [ 7.312823@3] IR MCE Keyboard/mouse protocol handler initialized [ 7.313444@3] input: MCE IR Keyboard/Mouse (meson-ir) as /devices/virtual/input/input3 [ 7.313877@3] meson-ir c8100580.meson-ir: receiver initialized [ 7.314059@3] IR SANYO protocol handler initialized [ 7.316836@2] lirc_dev: IR Remote Control driver registered, major 230 [ 7.317677@2] rc rc0: lirc_dev: driver ir-lirc-codec (meson-ir) registered at minor = 0 [ 7.317686@2] IR LIRC bridge handler initialized
Code: lspci
Display Moreir_lirc_codec 5148 0 lirc_dev 11736 1 ir_lirc_codec ir_mce_kbd_decoder 5140 0 ir_sanyo_decoder 3115 0 ir_sony_decoder 2625 0 ir_jvc_decoder 2759 0 ir_nec_decoder 3495 0 ir_rc6_decoder 3647 0 ir_rc5_decoder 2711 0 meson_ir 4261 0 rc_core 18740 11 lirc_dev,meson_ir,ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder
Code: ir-keytable -v
Display MoreFound device /sys/class/rc/rc0/ Parsing uevent /sys/class/rc/rc0/lirc0/uevent /sys/class/rc/rc0/lirc0/uevent uevent MAJOR=230 /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/input2/ Event sysfs node is /sys/class/rc/rc0/input2/event2/ Parsing uevent /sys/class/rc/rc0/input2/event2/uevent /sys/class/rc/rc0/input2/event2/uevent uevent MAJOR=13 /sys/class/rc/rc0/input2/event2/uevent uevent MINOR=66 /sys/class/rc/rc0/input2/event2/uevent uevent DEVNAME=input/event2 Parsing uevent /sys/class/rc/rc0/uevent /sys/class/rc/rc0/uevent uevent NAME=rc-empty /sys/class/rc/rc0/uevent uevent DRV_NAME=meson-ir input device is /dev/input/event2 /sys/class/rc/rc0/protocols protocol rc-5 (enabled) /sys/class/rc/rc0/protocols protocol nec (enabled) /sys/class/rc/rc0/protocols protocol rc-6 (enabled) /sys/class/rc/rc0/protocols protocol jvc (enabled) /sys/class/rc/rc0/protocols protocol sony (enabled) /sys/class/rc/rc0/protocols protocol sanyo (enabled) /sys/class/rc/rc0/protocols protocol mce_kbd (enabled) /sys/class/rc/rc0/protocols protocol lirc (enabled) 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 rc-5 jvc sony nec sanyo mce_kbd rc-6 Name: meson-ir bus: 25, vendor/product: 0000:0000, version: 0x0000 Repeat delay = 500 ms, repeat period = 125 ms