Hi everyone,
I’m new with kodi, and I’ve been struggling for 3 days to make my remote work with Kodi.
II’d like to use my remote to control Kodi.I configured raspbian and I’m now able to use my remote to switch my rasp on or off. So the IR works fine.
I’ve installed Raspbian and on top of this i’ve installed Kodi. The problem is that I can’t controll Kodi with my remote, nothing works.
Here is my lircd.conf :
begin remote
name lg
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 9025 4543
one 523 1728
zero 523 603
ptrail 521
repeat 9026 2290
pre_data_bits 16
pre_data 0x20DF
gap 108568
toggle_bit_mask 0x0
begin codes
KEY_PLAY 0x0DF2
KEY_REWIND 0xF10E
KEY_FORWARD 0x718E
KEY_PAUSE 0x5DA2
KEY_RIGHT 0x609F
KEY_DOWN 0x827D
KEY_OK 0x22DD
KEY_UP 0x02FD
KEY_LEFT 0xE01F
KEY_1 0x8877
KEY_2 0x48B7
KEY_3 0xC837
KEY_4 0x28D7
KEY_5 0xA857
KEY_6 0x6897
KEY_7 0xE817
KEY_8 0x18E7
KEY_9 0x9867
KEY_0 0x08F7
KEY_F1 0x4EB1
KEY_F2 0x8E71
KEY_F3 0xC639
KEY_F4 0x8679
end codes
end remote
I’ve read a lot about Lircmap.xml. The default one, located in /usr/share/kodi/system/keymaps is the following (I paste only the interesting part) :
<lircmap>
<remote device=”lg”>
<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_BACK</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
…
So everythings seem to be ready, but Kodi doesn’t react at all when I use my remote. When I try ther irw script my remote is well recognized. What’s going wrong ??
By the way, I read everywhere about the “Keymap.xml”. I don’t have anything named that way on my system. Is it strange ?
Moreover maybe it’s relevant, My xbox gamepad doesn’t work neither and I read everywhere that it should be handled by Kodi.
Any idea ? Thanks for reading my problems