[LIVE] HOW-TO get the original Xbox DVD Remote Kit and Dongle to work with XBMC Live
#16
thecheekymonkey Wrote:ok after quite a while nd a few headaches, managed to sort it.

yours is a good guide, but a couple of spelling mistakes in the original posting, at least , some wrong directories gave me loads of probs, especially me being a linux novice, BUT IVE EDITED THE QUOTE ABOVE WITH THE PROPER SPELLINGS / DIRECTORIES THAT WORKED FOR MY SYSTEM AND EVERYTHING IS SPOT ON NOW.


the above edited quote has worked perfect for me, Many thanks for the innitial guide Big Grin

EDITED AGAIN : the blacklist file was incorrectly named


To get the xbox dongle and remote working on your computer under XBMC LIve you first need to get a xbox to usb adapter or make it yourself .

Why you ask? money is my answer Mce remote are about $50-$60AU but xbox Remotes are $20-$30AU. Its all about the money

I did this thru windows

Steps needed to get it all to work after you’ve connected it to the computer.

1. Download Putty (freeware) <Actually, I used Poderosa>
2. Get root access
3. Setup files

STEP 1

Download Putty (freeware)
http://the.earth.li/~sgtatham/putty/.../x86/putty.exe

STEP 2

1- Open Putty (freeware)
2- type in the field "Hostname (or IP adress)" the IP of your xbmc then press open
3- it will ask you for name type: xbmc
4- then the actual password type: xbmc
then press enter (note it will seem like your not typing but you are)
5- you are loged in
6- Now type: sudo passwd root
7- Follow the instructions

Enter old password then new one

You're all done


STEP 3



First off some vim commands to understand what your doing

w Write (Save)
q Quit (Close)
wq Write and Quit. (Save and Close)
q! Force Quit (Close without saving changes)



To get started

1- Open Putty (freeware)
2- type in the field "Hostname (or IP adress)" the IP of your xbmc then press open
3- it will ask you for name type: root
4- then the NEW password (note it will seem like your not typing but you are)
5- you are loged in

type: sudo vim /etc/lirc/hardware.conf
press i

copy and paste ( if there is anything in the file delete everything then paste):
__________________________________________________ ________

# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_atiusb lirc_dev lirc_i2c"

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""
# /etc/lirc/hardware.conf

__________________________________________________ ________

press esc
hold shift and :
type wq and press enter

now typeConfusedudo vim /etc/lirc/lircd.conf
press i

copy and paste ( if there is anything in the file delete everything then paste):

__________________________________________________ ________

#
# LIRCD configuration file for Xbox DVD Kit
#
# Marko Friedemann <mfr|bmx-chemnitz.de>
#
#
# brand: Microsoft
# model: Xbox DVD Remote
# supported devices: Xbox DVD Remote via xpad-ir driver
#
# comment: EXPERIMENTAL
#

begin remote

name XboxDVDDongle
bits 8

begin codes

SELECT 0x0b
UP 0xa6
DOWN 0xa7
RIGHT 0xa8
LEFT 0xa9
INFO 0xc3

9 0xc6
8 0xc7
7 0xc8
6 0xc9
5 0xca
4 0xcb
3 0xcc
2 0xcd
1 0xce
0 0xcf

DISPLAY 0xd5
BACK 0xd8
SKIP- 0xdd
SKIP+ 0xdf
STOP 0xe0
REVERSE 0xe2
FORWARD 0xe3
TITLE 0xe5
PAUSE 0xe6
PLAY 0xea
MENU 0xf7

end codes

end remote
__________________________________________________ ________

press esc
hold shift and :
type wq and press enter

Now you need to remove Xpad

type: sudo vim /etc/modprobe.d/blacklist.conf

(NOTE do not delete anything in this file just add)

press i then press down arrow until you reach the end of the writing.

now type:blacklist xpad

press esc
hold shift and :
type wq and press enter

Close down Putty restart you xbmc system

All done should work
AFTV Stick 4K
AFTV (Gen 1)
Reply
#17
i updated my original post with the correct stuff thank thecheekymonkey. i thought this thread died long ago
Reply
#18
Thanks OP (and contributors!) for this guide. I'm not currently using the original Xbox remote but I maybe getting a 2nd HTPC soon and I already have the Xbox USB dongle so I'll use this guide for that.
Reply
#19
Is it possible for someone to upload a xbmclive.iso with this included?
Reply
#20
Ok, there's an issue somewhere here. I've just installed a new system using Camelot and Karmic. All my config files are correct as the tutorial suggests, even checked with my other system that works.

The Lirc daemon fails though.

'lsusb' shows the dongle, no issue there. But that's it! The log doesn't even show any info on this...

Can one of you Linux geniuses PLEASE make this work?

Why is the Xbox remote so bloody hard to get working? The last one I used took me ages and Linux failed something in Lirc at startup and installed something else (no idea what) and the remote came to life!

Any help greatly appreciated!

I am getting the EXACT same errors as 'markcleaveland' in this thread:

http://forum.xbmc.org/showthread.php?tid=62490
Reply
#21
GOT IT!!!


Had to make some changes that I found in the wiki...

Follow the guide as before, however you need to replace the codes with these:

/etc/lirc/hardware.conf:

Code:
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES="lirc_atiusb lirc_dev"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS="-r"

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF="lircd.conf"

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="true"
START_LIRCMD=""

--------------------------------------------------------------------


/etc/lirc/lircd.conf:
Code:
# brand: Microsoft Xbox DVD Receiever (also works with generic)
# remote control: Xbox remote or any remote using RCA DVD player codes

begin remote

name XboxDVDDongle
bits 8
eps 30
aeps 100

one 0 0
zero 0 0
gap 163983
toggle_bit_mask 0x0

begin codes
LEFT 0xA9
UP 0xA6
RIGHT 0xA8
DOWN 0xA7
SELECT 0x0B
1 0xCE
2 0xCD
3 0xCC
4 0xCB
5 0xCA
6 0xC9
7 0xC8
8 0xC7
9 0xC6
0 0xCF
MENU 0xF7
DISPLAY 0xD5
REVERSE 0xE2
FORWARD 0xE3
PLAY 0xEA
PAUSE 0xE6
STOP 0xE0
SKIP- 0xDD
SKIP+ 0xDF
TITLE 0xE5
INFO 0xC3
BACK 0xD8
end codes

end remote


If using the Xbox DVD IR dongle, add this line to the bottom of /etc/modprobe.d/blacklist.conf:

Code:
blacklist xpad


To enable the Volume COntrol just like the Xbox does (3,6 and 0), follow this guide here:
http://forum.xbmc.org/showpost.php?p=452392&postcount=4
Reply
#22
Updated 19-1-2010
Reply
#23
Can you please edit the first post and fix the 'blacklist' file location...

Currently it's like this:

Code:
type: sudo vim /etc/modprobe.d/blacklist

it should read:

Code:
type: sudo vim /etc/modprobe.d/blacklist.conf
Reply
#24
Im a long time XBMC user on the XBOX but just switched over to XBMCLive on a Revo...
I have a Marantz remote that I used for the xbox and had a few custom IR codes using the obc codes. I couldn't find anyone that had already mapped these out into a valid lircd.conf file so put one together and thought I would share it. This will give you access to all 255 valid IR signals via the xbox dongle.

/etc/lirc/lircd.conf:
Code:
begin remote

  name  Xbox_Remote
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          163983
  toggle_bit_mask 0x0

      begin codes
          obc000              0xff
          obc001              0xfe
          obc002              0xfd
          obc003              0xfc
          obc004              0xfb
          obc005              0xfa
          obc006              0xf9
          obc007              0xf8
          obc008              0xf7
          obc009              0xf6
          obc010              0xf5
          obc011              0xf4
          obc012              0xf3
          obc013              0xf2
          obc014              0xf1
          obc015              0xf0
          obc016              0xef
          obc017              0xee
          obc018              0xed
          obc019              0xec
          obc020              0xeb
          obc021              0xea
          obc022              0xe9
          obc023              0xe8
          obc024              0xe7
          obc025              0xe6
          obc026              0xe5
          obc027              0xe4
          obc028              0xe3
          obc029              0xe2
          obc030              0xe1
          obc031              0xe0
          obc032              0xdf
          obc033              0xde
          obc034              0xdd
          obc035              0xdc
          obc036              0xdb
          obc037              0xda
          obc038              0xd9
          obc039              0xd8
          obc040              0xd7
          obc041              0xd6
          obc042              0xd5
          obc043              0xd4
          obc044              0xd3
          obc045              0xd2
          obc046              0xd1
          obc047              0xd0
          obc048              0xcf
          obc049              0xce
          obc050              0xcd
          obc051              0xcc
          obc052              0xcb
          obc053              0xca
          obc054              0xc9
          obc055              0xc8
          obc056              0xc7
          obc057              0xc6
          obc058              0xc5
          obc059              0xc4
          obc060              0xc3
          obc061              0xc2
          obc062              0xc1
          obc063              0xc0
          obc064              0xbf
          obc065              0xbe
          obc066              0xbd
          obc067              0xbc
          obc068              0xbb
          obc069              0xba
          obc070              0xb9
          obc071              0xb8
          obc072              0xb7
          obc073              0xb6
          obc074              0xb5
          obc075              0xb4
          obc076              0xb3
          obc077              0xb2
          obc078              0xb1
          obc079              0xb0
          obc080              0xaf
          obc081              0xae
          obc082              0xad
          obc083              0xac
          obc084              0xab
          obc085              0xaa
          obc086              0xa9
          obc087              0xa8
          obc088              0xa7
          obc089              0xa6
          obc090              0xa5
          obc091              0xa4
          obc092              0xa3
          obc093              0xa2
          obc094              0xa1
          obc095              0xa0
          obc096              0x9f
          obc097              0x9e
          obc098              0x9d
          obc099              0x9c
          obc100              0x9b
          obc101              0x9a
          obc102              0x99
          obc103              0x98
          obc104              0x97
          obc105              0x96
          obc106              0x95
          obc107              0x94
          obc108              0x93
          obc109              0x92
          obc110              0x91
          obc111              0x90
          obc112              0x8f
          obc113              0x8e
          obc114              0x8d
          obc115              0x8c
          obc116              0x8b
          obc117              0x8a
          obc118              0x89
          obc119              0x88
          obc120              0x87
          obc121              0x86
          obc122              0x85
          obc123              0x84
          obc124              0x83
          obc125              0x82
          obc126              0x81
          obc127              0x80
          obc128              0x7f
          obc129              0x7e
          obc130              0x7d
          obc131              0x7c
          obc132              0x7b
          obc133              0x7a
          obc134              0x79
          obc135              0x78
          obc136              0x77
          obc137              0x76
          obc138              0x75
          obc139              0x74
          obc140              0x73
          obc141              0x72
          obc142              0x71
          obc143              0x70
          obc144              0x6f
          obc145              0x6e
          obc146              0x6d
          obc147              0x6c
          obc148              0x6b
          obc149              0x6a
          obc150              0x69
          obc151              0x68
          obc152              0x67
          obc153              0x66
          obc154              0x65
          obc155              0x64
          obc156              0x63
          obc157              0x62
          obc158              0x61
          obc159              0x60
          obc160              0x5f
          obc161              0x5e
          obc162              0x5d
          obc163              0x5c
          obc164              0x5b
          obc165              0x5a
          obc166              0x59
          obc167              0x58
          obc168              0x57
          obc169              0x56
          obc170              0x55
          obc171              0x54
          obc172              0x53
          obc173              0x52
          obc174              0x51
          obc175              0x50
          obc176              0x4f
          obc177              0x4e
          obc178              0x4d
          obc179              0x4c
          obc180              0x4b
          obc181              0x4a
          obc182              0x49
          obc183              0x48
          obc184              0x47
          obc185              0x46
          obc186              0x45
          obc187              0x44
          obc188              0x43
          obc189              0x42
          obc190              0x41
          obc191              0x40
          obc192              0x3f
          obc193              0x3e
          obc194              0x3d
          obc195              0x3c
          obc196              0x3b
          obc197              0x3a
          obc198              0x39
          obc199              0x38
          obc200              0x37
          obc201              0x36
          obc202              0x35
          obc203              0x34
          obc204              0x33
          obc205              0x32
          obc206              0x31
          obc207              0x30
          obc208              0x2f
          obc209              0x2e
          obc210              0x2d
          obc211              0x2c
          obc212              0x2b
          obc213              0x2a
          obc214              0x29
          obc215              0x28
          obc216              0x27
          obc217              0x26
          obc218              0x25
          obc219              0x24
          obc220              0x23
          obc221              0x22
          obc222              0x21
          obc223              0x20
          obc224              0x1f
          obc225              0x1e
          obc226              0x1d
          obc227              0x1c
          obc228              0x1b
          obc229              0x1a
          obc230              0x19
          obc231              0x18
          obc232              0x17
          obc233              0x16
          obc234              0x15
          obc235              0x14
          obc236              0x13
          obc237              0x12
          obc238              0x11
          obc239              0x10
          obc240              0x0f
          obc241              0x0e
          obc242              0x0d
          obc243              0x0c
          obc244              0x0b
          obc245              0x0a
          obc246              0x09
          obc247              0x08
          obc248              0x07
          obc249              0x06
          obc250              0x05
          obc251              0x04
          obc252              0x03
          obc253              0x02
          obc254              0x01
      end codes
end remote
Reply
#25
just a question...

The XBOX Dongle work with Wake-on-USB ?

because i try this with my revo... but ...Nothing...

thx !
Reply
#26
I haven't been successful with this either, but I haven't spent a lot of time on it...
Reply
#27
can anyone help.
running xbmc live from xbmcfreak 9.11 live 13.

having a problem with a command not found:

login as: root
[email protected]'s password:
Linux Vigor22 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Thu Mar 18 19:45:55 2010 from 192.168.1.10
root@Vigor22:~# sudo vim /etc/lirc/hardware.conf
sudo: vim: command not found

so haven't got anywhere with this.

Thanks
Least
Reply
#28
Quote:root@XBMCLive:~# sudo vim /etc/lirc/hardware.conf
sudo: vim: command not found

whats wrong ...its sayes vim: command not found i am using xbmc-live-9.11-b1
the fix is to use nano instead.

in the commands replace 'vim' with 'nano'
Reply
#29
WORKS FINALLY , i had a non permanent installation and didn't work, finally i found the problem.
Reply
#30
Sly666 Wrote:just a question...

The XBOX Dongle work with Wake-on-USB ?

because i try this with my revo... but ...Nothing...

thx !


I have not been able to get my Revo to wake from USB with the XBOX Dongle either. Maybe it has to do with the dongle?

EDIT: Changed to a true MCE USB dongle and wake from suspend works just fine. It's the dongle. XBOX DVD Dongle CANNOT wake from USB.
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] HOW-TO get the original Xbox DVD Remote Kit and Dongle to work with XBMC Live0