First thank you for making this. I love being able to have Kodi on my Rock64.
I have everything up and working well for watching my media, but I wanted to get an IR remote online.
I am not a complete noob, and I have been trying to follow the wiki.
infrared_remotes [LibreELEC]
Still I can't seem to get the IR receiver to use RC-6.
First I tried using the existing HP keymap
LibreELEC:/usr/lib/udev/rc_keymaps # ir-keytable -c -w /usr/lib/udev/rc_keymaps/hp_mce
Read hp_mce table
Old keytable cleared
Wrote 64 keycode(s) to driver
Invalid protocols selected
Couldn't change the IR protocols
ir-keytable does show a receiver with rc-6 protocols, and I am trying to use the HP MCE remote which is an rc-6 device.
LibreELEC:/usr/lib/udev/rc_keymaps # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
Driver cec, table rc-cec
Supported protocols: cec
Enabled protocols:
Name: RC for dw_hdmi
bus: 30, vendor/product: 0000:0000, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc1/ (/dev/input/event2) with:
Driver gpio-rc-recv, table rc-pine64
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp cec
Enabled protocols: lirc nec
Name: gpio_ir_recv
bus: 25, vendor/product: 0001:0001, version: 0x0100
Repeat delay = 500 ms, repeat period = 125 ms
Display More
I tried running mode2 to see if the IR was getting any info from the remote, and I did see raw data when I did that.
LibreELEC:~ # mode2
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root.
space 16777215
pulse 2625
space 913
pulse 383
space 497
pulse 385
space 499
pulse 385
space 948
pulse 383
space 937
pulse 1296
space 920
pulse 387
space 505
pulse 386
space 507
pulse 385
space 509
pulse 383
space 507
pulse 385
space 508
pulse 384
space 508
pulse 385
space 511
pulse 388
space 500
pulse 386
space 506
pulse 411
space 480
pulse 829
space 504
pulse 409
space 472
pulse 413
space 471
pulse 389
space 946
pulse 385
space 506
pulse 409
space 481
pulse 412
space 483
pulse 384
space 506
pulse 853
space 924
pulse 386
space 510
pulse 383
space 507
pulse 386
space 507
pulse 384
space 506
pulse 387
space 506
pulse 396
space 496
pulse 411
space 480
pulse 411
space 482
pulse 828
space 69285
pulse 2629
space 913
pulse 410
space 470
pulse 388
space 499
pulse 411
space 921
pulse 410
space 911
pulse 1298
space 921
pulse 410
space 479
pulse 412
space 480
pulse 412
space 479
pulse 412
space 482
pulse 411
space 480
pulse 387
space 507
pulse 412
space 480
pulse 412
space 480
pulse 410
space 484
pulse 410
space 481
pulse 854
space 476
pulse 411
space 471
pulse 387
space 499
pulse 410
space 922
pulse 408
space 481
pulse 411
space 481
pulse 412
space 480
pulse 413
space 482
pulse 852
space 924
pulse 412
space 479
pulse 413
space 480
pulse 386
space 507
pulse 410
space 480
pulse 410
space 485
pulse 410
space 480
pulse 416
space 479
pulse 408
space 481
pulse 856
Display More
I think I just need to enable rc-6, but the command I am trying doesn't seem to work.
LibreELEC:~ # ir-keytable -p rc-6 -t
Invalid protocols selected
Couldn't change the IR protocols
Testing events. Please, press CTRL-C to abort.
Can anyone give me an suggestion for what I need to do to have a remote working?