HOW-TO:Install XBMC on a Moneual Labs MonCaso 312 HTPC case

From Official Kodi Wiki
Jump to: navigation, search

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
 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:


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">

Thank you to justme123 from the ubuntu site.

A full description of the work can be found at:

Cyber7 01:22, 4 January 2012 (EST)