Archive:Sapphire Remote: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Nickr
No edit summary
>Nickr
No edit summary
Line 3: Line 3:
|Image=Sapphire remote face.jpg
|Image=Sapphire remote face.jpg
|Description=A very cheap but functional remote for Linux machines.
|Description=A very cheap but functional remote for Linux machines.
|More info= This remote is described here http://rtr.ca/sapphire_remote/ . It is a very nice and cheap remote. Mark Lord, the author of the above page should take all the credit, his driver is simple and simply brilliant. It requires compiling a driver and editing a couple of files, but don't worry. it's not that hard. This guide sets up the remote on a Ubuntu system, in particular these steps were tested on a new Xbmcbuntu 12.0 system.
|More info= This remote is described here http://rtr.ca/sapphire_remote/ . It is a very nice and cheap remote. Mark Lord, the author of the above page should take all the credit, his driver is simple and simply brilliant. It requires compiling a driver and editing a couple of files, but don't worry. it's not that hard. This guide sets up the remote on a Ubuntu system, in particular these steps were tested on a new XBMCbuntu 12.0 system.
== Steps involved ==
== Steps involved ==
# Install the tools required to compile the driver.
# Install the tools required to compile the driver.
# Download, compile and install the driver.
# Download, compile and install the driver.
# Install a keymap suitable for XBMC (the driver comes programmed for mythtv).
# Install a keymap suitable for XBMC (the driver comes programmed for mythtv).
== Install the tools required to compile the driver. ==
=== Install the tools required to compile the driver. ===
Ubuntu has a virtual package called build-essential which installs the compiler tools.
Ubuntu has a virtual package called build-essential which installs the compiler tools.
<source lang="bash">
<source lang="bash">
Line 14: Line 14:
</source>
</source>
The needed tools will be installed.
The needed tools will be installed.
== Download, compile and install the driver. ==
=== Download, compile and install the driver. ===
You need to download the latest driver from Mark's site. As at the time I am writing (7 April 2013) the latest is 4.4. Go to his website and get the most recent, and change the numbers in my example if there is a lter version.
You need to download the latest driver from Mark's site. As at the time I am writing (7 April 2013) the latest is 4.4. Go to his website and get the most recent, and change the numbers in my example if there is a lter version.
<source lang="bash">
<source lang="bash">
   $ cd ~/Downloads
   $ cd ~/Downloads
   $ wget http://rtr.ca/sapphire_remote/sapphire-4.4.tar.gz
   $ wget http://rtr.ca/sapphire_remote/sapphire-4.4.tar.gz
   $ tar xzvf sapphire-4.4
   $ tar xzvf sapphire-4.4.tar.gz
  $ cd sapphire-4.4
   $ sudo make install
   $ sudo make install
</source>
</source>
   
 
Some distros also need a startup script, I am not sure if ubuntu does, but no harm in doing it. Mark installs the script in /usr/local/bin/sapphire_startup.sh. To make this script run on boot, use your editor to add the command to /etc/rc.local
 
<source lang="bash">
  $ sudo nano -w /etc/rc.local
</source>
Put the command just above the ine that says exit 0, so it will look like this:
<source lang="bash">
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
 
/usr/local/bin/sapphire_startup.sh
 
exit 0
</source>
=== Install a keymap suitable for XBMC ===
 
}}This page is currently a work in progress. You can see some other info here http://forum.xbmc.org/showthread.php?tid=159433&pid=1368998#pid1368998 and I'll try and create some generic info for the wiki.--[[User:Nickr|Nickr]] 03:03, 25 March 2013 (EDT)
}}This page is currently a work in progress. You can see some other info here http://forum.xbmc.org/showthread.php?tid=159433&pid=1368998#pid1368998 and I'll try and create some generic info for the wiki.--[[User:Nickr|Nickr]] 03:03, 25 March 2013 (EDT)

Revision as of 23:40, 6 April 2013

This page is currently a work in progress. You can see some other info here http://forum.xbmc.org/showthread.php?tid=159433&pid=1368998#pid1368998 and I'll try and create some generic info for the wiki.--Nickr 03:03, 25 March 2013 (EDT)