2016-02-23, 22:39
Hello,
I'm on Ubuntu 15.10 if that matters, using Kodi 16. It's my first install, so I don't know if it was OK before.
It seems that Lirc is correctly configured on my machine (eventually!), since irw output correct keys. E.g.,:
when pressing the "OK" button on my MCE remote. Also, my .kodi/userdata/Lircmap.xml contains (I've just removed the <?xml opening and header comments) :
the remote name (devinput) matches the one defined in lirc and shown in irw output just above.
Some of the keys work in Kodi (such as LEFT, RIGHT, UP, DOWN, ENTER, VOLUME_UP...), but not all. Actually, it seems that my settings are just ignored, since <select> seems to be mapped to KEY_ENTER instead! My .kodi/userdata/keymaps/remote.xml contains "standard" definition. For instance, up to "Select" action:
"Select" action should be triggered by "select" key, which is bound to "KEY_OK" in Lircmap.xml. Which is not the case...
So, what am I doing wrong? How could I get intermediate information to figure out what is not correctly set?
Thanks!
PS - I've just swapped KEY_LEFT and KEY_RIGHT in Lircmap.xml, and it confirms that this file is just ignored since those keys are still correctly interpreted...
I'm on Ubuntu 15.10 if that matters, using Kodi 16. It's my first install, so I don't know if it was OK before.
It seems that Lirc is correctly configured on my machine (eventually!), since irw output correct keys. E.g.,:
Code:
0000000080010160 00 KEY_OK devinput
Code:
<lircmap>
<remote device="devinput">
<!-- new kernel-based lirc button names -->
<eject>KEY_EJECTCD</eject>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<start>KEY_HOME</start>
<back>KEY_EXIT</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_AGAIN</skipminus>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<livetv>LiveTV</livetv>
<guide>KEY_EPG</guide>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<menu>KEY_DVD</menu>
<clear>KEY_CLEAR</clear>
<enter>KEY_ENTER</enter>
</remote>
</lircmap>
Some of the keys work in Kodi (such as LEFT, RIGHT, UP, DOWN, ENTER, VOLUME_UP...), but not all. Actually, it seems that my settings are just ignored, since <select> seems to be mapped to KEY_ENTER instead! My .kodi/userdata/keymaps/remote.xml contains "standard" definition. For instance, up to "Select" action:
Code:
<keymap>
<global>
<remote>
<play>PlayPause</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
...
So, what am I doing wrong? How could I get intermediate information to figure out what is not correctly set?
Thanks!
PS - I've just swapped KEY_LEFT and KEY_RIGHT in Lircmap.xml, and it confirms that this file is just ignored since those keys are still correctly interpreted...