getting original xbox dvd dongle to work with Ubuntu 12.04
This guide is mostly copied and pasted from these two fantastic posts: http://ubuntuforums.org/showpost.php?p=11422009&postcount=19 and http://forum.xbmc.org/showthread.php?tid=98348
Just follow the instructions and input the lines of code into a terminal...
--------------------------------------------------------------------------------------------------------------------
...got it going, I just compiled the xbox driver rather than all of lirc
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
Code:
sudo update-initramfs -u sudo apt-get build-dep lirc sudo apt-get install git dialog automake autoconf libtool git clone git://lirc.git.sourceforge.net/gitroot/lirc/lirc wget http://old.nabble.com/attachment/31787507/0/lirc_0.9.1_lirc_xbox_driver.patch cd lirc/ patch -p1 <../lirc_0.9.1_lirc_xbox_driver.patch gedit drivers/lirc_xbox/lirc_xbox.c
#include <linux smp_lock.h="smp_lock.h">
Code:
./autogen.sh ./configure -with-driver=userspace cd drivers/lirc_xbox/ make sudo make install sudo apt-get install lirc
edit
sudo gedit /etc/lirc/hardware.conf
to use lirc_xbox as the remote module so it looks like this:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_xbox"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
#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=""
#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="false"
START_LIRCMD=""
- Backup /etc/lirc/lircd.conf
sudo gedit /etc/lirc/lircd.conf
and replace with this:
sudo gedit /etc/lirc/lircd.conf
and replace with this:
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
REWIND 0xE2
FFWD 0xE3
PLAY 0xEA
PAUSE 0xE6
STOP 0xE0
SKIP- 0xDD
SKIP+ 0xDF
TITLE 0xE5
INFO 0xC3
BACK 0xD8
end codes
end remote
No comments:
Post a Comment