Hello,
I already post this to the OE forum (similiar topic about IR, and this topic was hinted for me by HiassofT), but as my platform is LE, I would post it also here:
I cant make IR work on Rpi2 platform without lirc.
I have this setup:
dtoverlay=gpio-ir,gpio_pin=18,gpio_pull=1,rc-map-name=rc-rc6-mce
[ 10.019347] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 10.091965] Registered IR keymap rc-rc6-mce
[ 10.092502] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input0
[ 10.092889] rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[ 10.130443] IR JVC protocol handler initialized
[ 10.145872] lirc_dev: IR Remote Control driver registered, major 244
[ 10.151610] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
[ 10.151642] IR LIRC bridge handler initialized
[ 10.179375] IR RC5(x/sz) protocol handler initialized
[ 10.179379] IR NEC protocol handler initialized
[ 10.179936] input: MCE IR Keyboard/Mouse (gpio-rc-recv) as /devices/virtual/input/input1
[ 10.181908] IR MCE Keyboard/mouse protocol handler initialized
[ 10.182268] IR Sony protocol handler initialized
[ 10.182437] IR Sharp protocol handler initialized
[ 10.183268] IR RC6 protocol handler initialized
[ 10.184733] IR SANYO protocol handler initialized
Display More
systemctl stop kodi
systemctl stop eventlircd
ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
Driver gpio-rc-recv, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: unknown other lirc rc-5 jvc sony nec rc-6 sharp xmp
Name: gpio_ir_recv
bus: 25, vendor/product: 0001:0001, version: 0x0100
Repeat delay = 200 ms, repeat period = 125 ms
Display More
When I try ir-keytable -t, no input shown from NEC and Samsung remotes. I also tried all other (-p rc-5, then rc-6, sony, sanyo, nec) explicitly, and test with NEC, Samsung and even Panasonic TV remotes, and still, no info at all. I dont know, where could be a problem here. The TV (Panasonic remote) is quite new, like 2015/2016 model, so I think it should be recognized by something.
Btw., Samsung remote (which I using with lirc) has this kind of codes inside lirc conf:
begin remote
name /storage/.config/lircd.conf
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 50205
begin raw_codes
name key_up
3338 1846 467 1127 461 1116
472 410 461 404 467 405
466 405 468 1120 493 378
468 1126 461 1116 472 403
468 410 461 1121 467 404
468 1121 466 404 468 1115
469 407 470 401 468 404
468 410 461 404 472 404
468 404 467 410 462 404
467 1119 468 411 461 404
468 403 472 404 468 410
461 1120 468 1121 461 404
472 405 467 404 467 1127
461 404 468 404 467
Display More
Any help would be appretiated. I think system doesnt operate with IR module at all, but I dont know what to setup differently except pin number.