Talk:Main Page: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Cyber7
>Cyber7
Line 21: Line 21:




Installed XBMC FRESH.
Installed XBMC FRESH and ran the following commands:
 
  apt-get update
<blockquote>
  wget http://ftp.de.debian.org/debian/pool/main/l/lirc/lirc_0.9.0~pre1.orig.tar.bz2
apt-get update
  tar -jxvf lirc_0.9.0~pre1.orig.tar.bz2
</blockquote>
  apt-get install libtool automake autoconf dialog
 
  cd lirc-0.9.0-pre1/
<blockquote>
  ./configure --with-driver=mplay2
wget http://ftp.de.debian.org/debian/pool/main/l/lirc/lirc_0.9.0~pre1.orig.tar.bz2
  make && make install
</blockquote>
Changed the paths in /etc/init.d/lirc (from /usr/ to /usr/local/)
 
  vi /etc/init.d/lirc
<blockquote>
  :1,$ s/\/usr\//\/usr\/local\//g
tar -jxvf lirc_0.9.0~pre1.orig.tar.bz2
Changed /etc/lirc/hardware.conf to have ONLY:
</blockquote>
  REMOTE_DRIVER="mplay2"
 
  REMOTE_DEVICE="/dev/ttyUSB0"
5. [CODE]apt-get install libtool automake autoconf dialog[/CODE]
Edit the file /etc/lirc/lircd.conf as follow :
  [CODE]cd lirc-0.9.0-pre1/[/CODE]
begin remote
6. [CODE]./configure --with-driver=mplay2[/CODE]
7. [CODE]make && make install[/CODE]
8. Changed the paths in /etc/init.d/lirc (from /usr/ to /usr/local/)
  [CODE]vi /etc/init.d/lirc
  :1,$ s/\/usr\//\/usr\/local\//g[/CODE]
9. Changed /etc/lirc/hardware.conf to have ONLY:
Code:
    REMOTE_DRIVER="mplay2"
    REMOTE_DEVICE="/dev/ttyUSB0"
10. Edit the file /etc/lirc/lircd.conf as follow :
 
[CODE]begin remote
   name  Moncaso_312
   name  Moncaso_312
   bits            8
   bits            8
Line 57: Line 45:
   gap          107899
   gap          107899
   toggle_bit_mask 0x0
   toggle_bit_mask 0x0
       begin codes
       begin codes
           PwrOff                  0x41
           PwrOff                  0x41
Line 108: Line 95:
           Timer                    0x18
           Timer                    0x18
       end codes
       end codes
end remote
  end remote
[/CODE]
 
If I then reboot the machine and open a ssh console and run irw, I get the keystrokes!
I then rebooted the machine and open a ssh console and run irw, I get the keystrokes!
<yahoo!!! at this stage!!!>
yahoo!!! at this stage!!!


Added the following keymap to the /usr/share/xbmc/system/Lircmap.xml file and WALLA - everything works.
Added the following keymap to the /usr/share/xbmc/system/Lircmap.xml file and WALLA - everything works.


[CODE]<remote device="Moncaso_312">
  <remote device="Moncaso_312">
         <play>Play</play>
         <play>Play</play>
         <pause>Pause</pause>
         <pause>Pause</pause>
Line 155: Line 142:
         <nine>9</nine>
         <nine>9</nine>
         <zero>0</zero>
         <zero>0</zero>
<obc5e>Eject</obc5e>
        <obc5e>Eject</obc5e>
</remote>[/CODE]
  </remote>
 


Thank you everyone and you can use these instructions. They work 100%!
Thank you everyone and you can use these instructions. They work 100%!

Revision as of 07:14, 3 January 2012

Typo in second paragraph

There is a typo in the second paragraph on the main page:

To edit the XBMC Wiki just register for an account. Page creation and editing of certain pages requires an account that is a few days old and has made a hand full of edits.

Should be

To edit the XBMC Wiki just register for an account. Page creation and editing of certain pages requires an account that is a few days old and has made a handful of edits.

Reference: [1]

--AaronTC 13:19, 5 November 2011 (EDT)

Whoops. Done. Most of the pages are directly editable, so if you see any other typos you should be able to access them directly. Cheers. -- Ned Scott 19:45, 5 November 2011 (EDT)

HOWTO: Moneual Labs MonCaso 312 HTPC case

Hi Guys Over the last couple of days I have re-built my mono 312 and the following steps get you going on XBMC:


Installed XBMC 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 everyone and you can use these instructions. They work 100%!