2010-04-14, 06:41
Hi All,
I am new to XBMC, and love it, but am having a lot of trouble getting a lirc remote working.
I have lirc set up and working in other programs like freevo ..
My lack of understanding is how the key names I have in my lircd.conf are translated to xbmc. Normally in other programs you make a lircrc file with all the mappings.
I understand with XBMC that you put a Lircmap.xml file in /home/user/.xbmc/userdata. I did that, the file looks like this.
The names in the middle are what my lircd.conf calls them i.e
And then there is the keymap.xml file, just to add to the confusion. Do I have to make a custom one of those?
How does xbmc listen to the lirc commands?
Is there a way to make xbmc output some debugging so I can see if anything is being received.
Many Thanks,
B.
I am new to XBMC, and love it, but am having a lot of trouble getting a lirc remote working.
I have lirc set up and working in other programs like freevo ..
My lack of understanding is how the key names I have in my lircd.conf are translated to xbmc. Normally in other programs you make a lircrc file with all the mappings.
I understand with XBMC that you put a Lircmap.xml file in /home/user/.xbmc/userdata. I did that, the file looks like this.
Quote:<lircmap>
<remote device="Streamzap_PC_Remote">
<power>POWER</power>
<record>RECORD</record>
<play>PLAY</play>
<reverse><<</reverse>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>>>|</forward>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>OK</select>
<pageplus>CH_UP</pageplus>
<pageminus>CH_DOWN</pageminus>
<back>EXIT</back>
<menu>MENU</menu>
<title>BLUE</title>
<info>GREEN</info>
<skipplus>NextChapter</skipplus>
<skipminus>PrevChapter</skipminus>
<display>YELLOW</display>
<start>RED</start>
<volumeplus>VOL_UP</volumeplus>
<volumeminus>VOL_DOWN</volumeminus>
<mute>MUTE</mute>
<myvideo>MyMovie</myvideo>
<mymusic>MyMusic</mymusic>
<mypictures>MyPhoto</mypictures>
<mytv>MyTV</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
</lircmap>
The names in the middle are what my lircd.conf calls them i.e
Quote:begin remote
name Streamzap_PC_Remote
bits 6
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 889 889
zero 889 889
plead 889
pre_data_bits 8
pre_data 0xA3
gap 108344
toggle_bit 2
begin codes
0 0x00
1 0x01
2 0x02
3 0x03
4 0x04
5 0x05
6 0x06
7 0x07
8 0x08
9 0x09
POWER 0x0A
MUTE 0x0B
CH_UP 0x0C
VOL_UP 0x0D
CH_DOWN 0x0E
VOL_DOWN 0x0F
UP 0x10
LEFT 0x11
OK 0x12
RIGHT 0x13
DOWN 0x14
MENU 0x15
EXIT 0x16
PLAY 0x17
PAUSE 0x18
STOP 0x19
|<< 0x1A
>>| 0x1B
RECORD 0x1C
<< 0x1D
>> 0x1E
RED 0x20
GREEN 0x21
YELLOW 0x22
BLUE 0x23
end codes
end remote
And then there is the keymap.xml file, just to add to the confusion. Do I have to make a custom one of those?
How does xbmc listen to the lirc commands?
Is there a way to make xbmc output some debugging so I can see if anything is being received.
Many Thanks,
B.