RPi remote thread

Here you can discuss things that are not directly related to running or using XBMC4XBOX.
Post Reply
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

RPi remote thread

Post 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.
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: RPi remote thread

Post 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
Last edited by LudviG on Tue Jan 22, 2013 10:45 pm, edited 1 time in total.
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: RPi remote thread

Post 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?
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
Xphazer
Posts: 524
Joined: Wed Jul 04, 2012 4:39 am
Location: Montréal
Has thanked: 240 times
Been thanked: 106 times

Re: RPi remote thread

Post 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
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: RPi remote thread

Post 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 :)
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
bh1644
Posts: 1
Joined: Wed Apr 03, 2013 5:54 am

Re: RPi remote thread

Post 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!
Attachments
dongle.JPG
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: RPi remote thread

Post 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
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
EFORCE
Posts: 47
Joined: Thu Jul 19, 2012 2:35 pm
Location: Netherlands
Has thanked: 3 times
Been thanked: 2 times

Re: RPi remote thread

Post 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
Post Reply