Page 1 of 1

RPi remote thread

Posted: Wed Jan 09, 2013 5:32 pm
by LudviG
Since there is alot of discussion around remotes for the RPi, i suggest we collect all the info in one thread. I can start off with my questions and info.

I got a Microsoft MCE remote, and it worked right out of the box.

Image

There is just one thing i really miss, and that is the 30 sec skip. Is it somehow to make the arrow keys do that?

I am also tempet to make use of an original X-box DVD dongle remote, since that is what i have been using for ages. I know poeple have done it, and i hope someone can make a guide on how to do it.

Re: RPi remote thread

Posted: Wed Jan 09, 2013 5:42 pm
by LudviG
Here is a link that Xphazer posted, thanks for sharing :)

It gives a short guide on how to use the XBOX remote with RPi

https://blog.slucas.fr/en/tips/raspberr ... box-dongle

Here is a post from Kozz on how to remap keys:
Kozz wrote:Just got my xbox ir dongle working too using a usb adapter by following the method posted by Xphazer here

BUT I wanted to re-map a few keys like 3 & 6 as volume up/down and 0 as queue to playlist,
it was kind of unclear what to edit when I started my search but in the end I managed to figure it out

First I highly recommend installing the nano text editor to make life easier when editing text files over ssh

To install this add-on you must do so from the Add-on Manager from within XBMC by going to:
Settings
Add-ons
Get add-ons
OpenELEC Mediacenter OS Add-ons
Program Add-ons
Add-on:nano
Install

Now you can start to add the custom keymap

1)Login to openelec as root over ssh (for info on this see here http://wiki.openelec.tv/index.php?title ... use_SSH.3F)

2)Now you need to copy the Lircmap.xml from the read-only system to the xbmc userdata folder with the following command

Code: Select all

cp  /usr/share/xbmc/system/Lircmap.xml /storage/.xbmc/userdata
3) Now you can edit this Lircmap.xml with nano, it will be loaded from this location when xbmc starts so you dont need to move it back to its original location.

Code: Select all

nano /storage/.xbmc/userdata/Lircmap.xml
use the arrows on your keyboard to scroll down to the section <remote device="XboxDVDDongle">
Image
You can now edit the functions between the <> brackets, you can substitute any xbmc actions they are listed here
for example I set <volumeplus>3</volumeplus> and <volumeminus>6</volumeminus> the actions in the xbmc wiki start with upper case but work as lowercase in openelec

Once you have edited the buttons to the functions you want in nano you need to write the changes with Ctrl+o (that's letter o not zero)
then you can exit nano with Ctrl+x

The changes you make should take effect immediately and work right away, but if they don't try to restart the Pi with reboot
This info was originally posted in this thread: http://www.xbmc4xbox.org.uk/forum/viewt ... f=11&t=782

Re: RPi remote thread

Posted: Wed Jan 16, 2013 11:01 pm
by LudviG
I need some help.

I have a spare USB cable and a xbox extension cable i would like to merge into one with the possibility for the xbox dvd dongle.

Image

I opened bot cables, and ofc the colours was different.

Image

USB is red, green black and white

Image

XBOX cable is red, brown, yellow, blue and white.

Image

Do i need another USB cable with 5 strands? What colours to match?

Re: RPi remote thread

Posted: Thu Jan 17, 2013 1:19 am
by Xphazer
You will need to use a multimeter and figure out your self to be entirely sure.
You don't need the yellow wire, its only for light guns and a few other things. (Yellow on the Xbox diagrams).

The fallowing image will probably have everything you need about controller ports wiring.
Also this page might help you a bit: http://www.xboxscene.com/xbox-tutorials ... 1|315|#315

Image

Re: RPi remote thread

Posted: Fri Jan 18, 2013 12:38 am
by LudviG
Thanks to the image Xphazer posted i started this project.

First off, figuring out what colour cables goes to wich pins on the plugs:
Image

Then soldering (with my waaaaay to cheap soldeing iron):
Image
Image

The finished product:
Image


Then i did some modifications to the Lircmap.xml as described further up in this thread. It worked like a char, so now i just have to get hold of another female xbox plug :)

Re: RPi remote thread

Posted: Wed Apr 03, 2013 6:02 am
by bh1644
wow, that's a lot of trouble, at least it would be for an untalented guy like myself... :D

I just spent $7 here and it works like a champ!

Re: RPi remote thread

Posted: Wed Apr 03, 2013 9:41 am
by xbs
MCE model 1039 works out of the box with OpenELEC including 30sec jumps.
Image

Harmony 300i also works when set to MCE 1039, only had to teach the remote the back command for some reason.
Image

I also added a USB cable to one of my Xbox IR recievers but can't get it to work with OE.
Image

Re: RPi remote thread

Posted: Wed Apr 10, 2013 8:36 pm
by EFORCE
Since the XBOX remote works out of the box and I am a lazy guy, I searched for a XBOX to USB cable and found one for 2.95 euro excl shipping.
Bought one and it works perfectly.....
http://www.tradekantoor.eu/shop/default ... _id=280104