Archive:Install XBMC on a Moneual Labs MonCaso 312 HTPC case
Over the last couple of months I have been struggling with the Moneual Labs MonCaso 312 HTPC case and to get the remote to work with XBMCLive. The following steps gave me all the functionality of a normal remote and it works like a charm.
Installed XBMCLive FRESH and ran the following commands:
apt-get update wget http://ftp.de.debian.org/debian/pool/main/l/lirc/lirc_0.9.0~pre1.orig.tar.bz2 tar -jxvf lirc_0.9.0~pre1.orig.tar.bz2 apt-get install libtool automake autoconf dialog cd lirc-0.9.0-pre1/ ./configure --with-driver=mplay2 make && make install
Changed the paths in /etc/init.d/lirc (from /usr/ to /usr/local/)
vi /etc/init.d/lirc :1,$ s/\/usr\//\/usr\/local\//g
Changed /etc/lirc/hardware.conf to have ONLY:
REMOTE_DRIVER="mplay2" REMOTE_DEVICE="/dev/ttyUSB0"
Edit the file /etc/lirc/lircd.conf as follow :
begin remote
name Moncaso_312
bits 8
eps 30
aeps 100
one 0 0
zero 0 0
gap 107899
toggle_bit_mask 0x0
begin codes
PwrOff 0x41
PwrOn 0x55
Hotkey 0x5A
DVD 0x14
Menu 0x5C
Sleep 0x58
Rec 0x11
Play 0x09
Eject 0x5E
Rew 0x0D
Pause 0x05
FF 0x15
Prev 0x1A
Stop 0x01
Next 0x1E
Full_Screen 0x0C
Ratio 0x10
Task_Switcher 0x17
Movie 0x40
Music 0x56
Photo 0x45
TV 0x46
OK 0x42
Up 0x19
Left 0x54
Right 0x43
Down 0x1D
Back 0x0B
Exit 0x1F
Mute 0x4A
More 0x4B
Open 0x04
Vol+ 0x0A
Vol- 0x0E
CH+ 0x12
CH- 0x16
1 0x4D
2 0x4E
3 0x4F
4 0x50
5 0x51
6 0x52
7 0x53
8 0x03
9 0x07
0 0x4C
Quick_Guide 0x08
Timer 0x18
end codes
end remote
I then rebooted the machine and open a ssh console and run irw, I get the keystrokes! yahoo!!! at this stage!!!
Added the following keymap to the /usr/share/xbmc/system/Lircmap.xml file and WALLA - everything works.
<remote device="Moncaso_312">
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FF</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</back>
<menu>Menu</menu>
<title>Hotkey</title>
<info>More</info>
<skipplus>Next</skipplus>
<skipminus>Prev</skipminus>
<display>Aspect</display>
<start>Home</start>
<record>Record</record>
<volumeplus>Vol+</volumeplus>
<volumeminus>Vol-</volumeminus>
<mute>Mute</mute>
<power>PwrOn</power>
<myvideo>Movie</myvideo>
<mymusic>Music</mymusic>
<mypictures>Photo</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>0</zero>
<obc5e>Eject</obc5e>
</remote>
Thank you to justme123 from the ubuntu site.
A full description of the work can be found at: http://ubuntuforums.org/showthread.php?t=1536934&page=8
Cyber7 01:22, 4 January 2012 (EST)