Hi. I'm running LE 7.2.009 (kszaq build)
I'm having some trouble with remote IR control. Some buttons works fine, some others activate different actions, some others do nothing.
I'm trying to figure out on how change mapping for my remote.
I followed the suggestion to copy the original Android remote.conf file to my /storage/.config directory. No luck.
I investigated on how remote can work in LE, and I got confused.
Lircd is not running (and no lirc in dmesg after boot). From process list i found "eventlircd" running. It uses .evmap configuration files stored in /etc/evenlircd.d directory.
I can't figure how this can let my remote control (partially) works, so I'm not able to modify my mapping.
Also, I have no idea on where or how the map in remote.conf file is "translated" into something usable by KODI (i.e. /keymaps/remote.xml or Lircmap.xml)
My remote.conf contains mapping like:
...
key_begin
0x01 11
0x4e 2
0x0d 3
...
I didn't succeed to use any of the traditional lirc tools to grab button event, I even didn' t understand which /dev/input my remote is linked to.
From my syslog the only clue when I press remote buttons:
# journalctl -f
Dec 09 18:14:28 LibreELEC kernel: remote: press ircode = 0x16,
Dec 09 18:14:28 LibreELEC kernel: remote:
Dec 09 18:14:28 LibreELEC kernel: scancode = 0x0067,maptable = 0,code:0xe916fe01
Dec 09 18:14:28 LibreELEC kernel: remote: release ircode = 0x16,
Dec 09 18:14:28 LibreELEC kernel: remote:
Dec 09 18:14:28 LibreELEC kernel: scancode = 0x0067, maptable = 0,code:0x00000000
Dec 09 18:14:29 LibreELEC kernel: remote: press ircode = 0x50,
Dec 09 18:14:29 LibreELEC kernel: remote:
Dec 09 18:14:29 LibreELEC kernel: scancode = 0x006a,maptable = 0,code:0xaf50fe01
Dec 09 18:14:29 LibreELEC kernel: remote: release ircode = 0x50,
Dec 09 18:14:29 LibreELEC kernel: remote:
Dec 09 18:14:29 LibreELEC kernel: scancode = 0x006a, maptable = 0,code:0x00000000
Dec 09 18:14:30 LibreELEC kernel: remote: press ircode = 0x13,
Dec 09 18:14:30 LibreELEC kernel: remote:
Dec 09 18:14:30 LibreELEC kernel: scancode = 0x001c,maptable = 0,code:0xec13fe01
Dec 09 18:14:31 LibreELEC kernel: remote: release ircode = 0x13,
Dec 09 18:14:31 LibreELEC kernel: remote:
Dec 09 18:14:31 LibreELEC kernel: scancode = 0x001c, maptable = 0,code:0x00000000
Dec 09 18:14:32 LibreELEC kernel: remote: press ircode = 0x51,
Dec 09 18:14:32 LibreELEC kernel: remote:
Dec 09 18:14:32 LibreELEC kernel: scancode = 0x0069,maptable = 0,code:0xae51fe01
Dec 09 18:14:33 LibreELEC kernel: remote: release ircode = 0x51,
Dec 09 18:14:33 LibreELEC kernel: remote: scancode = 0x0069, maptable = 0,code:0x00000000
I read something special is for amremote device, so I stopped trying with my own knowledge.
Can someone please point me in the right direction to understand basics of remote control for this hardware related to this OS? My Linux knowledge didn't help ...
Thanks
giuliano