2008-10-31, 23:53
I am using the remote from a Hauppauge PVR-150,The silver remote where the receiver plugs into the card not the USB variety)
It took me longer than I expected to set up, so I thought I would post what I did here for future googlers.
added to /etc/modprobe.d/aliases
edited /etc/lirc/hardware.conf
/etc/lirc/lircd.conf
/usr/share/xbmc/system/Lircmap.xml
It took me longer than I expected to set up, so I thought I would post what I did here for future googlers.
added to /etc/modprobe.d/aliases
Code:
alias char-major-61 lirc_i2c
edited /etc/lirc/hardware.conf
Code:
REMOTE_MODULES="lirc_dev lirc_i2c"
/etc/lirc/lircd.conf
Code:
begin remote
name hauppauge_pvr150
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 0 0
zero 0 0
gap 200000
min_repeat 4
toggle_bit 2
begin codes
POWER 0x00000000000017BD
GO 0x00000000000017BB
TV 0x000000000000179C
VIDEOS 0x0000000000001798
MUSIC 0x0000000000001799
PICTURES 0x000000000000179A
GUIDE 0x000000000000179B
RADIO 0x000000000000178C
OK 0x00000000000017A5
UP 0x0000000000001794
LEFT 0x0000000000001796
RIGHT 0x0000000000001797
DOWN 0x0000000000001795
BACK/EXIT 0x000000000000179F
MENU 0x000000000000178D
PREVCH 0x0000000000001792
MUTE 0x000000000000178F
VOL+ 0x0000000000001790
VOL- 0x0000000000001791
CH+ 0x00000000000017A0
CH- 0x00000000000017A1
RECORD 0x00000000000017B7
STOP 0x00000000000017B6
PLAY 0x00000000000017B5
REW 0x00000000000017B2
FFW 0x00000000000017B4
REPLAY 0x00000000000017A4
PAUSE 0x00000000000017B0
SKIP 0x000000000000179E
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
* 0x000000000000178A
0 0x0000000000001780
# 0x000000000000178E
RED 0x000000000000178B
GREEN 0x00000000000017AE
YELLOW 0x00000000000017B8
BLUE 0x00000000000017A9
end codes
end remote
/usr/share/xbmc/system/Lircmap.xml
Code:
<lircmap>
<remote device="hauppauge_pvr150">
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FFW</forward>
<reverse>REW</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>OK</select>
<pageplus>CH+</pageplus>
<pageminus>CH-</pageminus>
<back>BACK/EXIT</back>
<menu>PREVCH</menu>
<title>PLAY</title>
<info>MENU</info>
<skipplus>SKIP</skipplus>
<skipminus>REPLAY</skipminus>
<display>*</display>
<start>GO</start>
<record>RECORD</record>
<volumeplus>VOL+</volumeplus>
<volumeminus>VOL-</volumeminus>
<mute>MUTE</mute>
<power>POWER</power>
<myvideo>VIDEOS</myvideo>
<mymusic>MUSIC</mymusic>
<mypictures>PICTURES</mypictures>
<mytv>TV</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>10</zero>
<mytv>RED</mytv>
<mymusic>GREEN</mymusic>
<mypictures>YELLOW</mypictures>
<myvideo>BLUE</myvideo>
</remote>