Microsoft Xbox Wireless Controller (xbox1 controller) no input in irw
#1
Hi.

I'm having a problem with my xbox 1 controller (Microsoft Xbox Wireless Controller) and XBMC/Ubuntu.. This is not the dvd remote, this is a controller.

First of all, controller is tested in windows and works fine there.

Most of the buttons work in XBMC out of box as well. Exept D-Pad, back, start and volume on right analog stick is upside down.

Installed lirc, but i'm getting no output to irw, so it's hard for me to map the buttons.
Furthermore I have no idea on how to config lircd.conf with button names.

lirc starts and stops fine.

Here are some data :

From hardware.conf, bold lines edited :

Quote:# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Logitech Xbox Wireless Controller"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

cat /proc/bus/input/devices show :

Quote:I: Bus=0003 Vendor=046d Product=ca84 Version=0103
N: Name="Logitech Xbox Cordless Controller"
P: Phys=usb-0000:00:04.0-6.1/input0
S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb2/2-6/2-6.1/2-6.1:1.0/input/input5
U: Uniq=
H: Handlers=event5 js0
B: EV=b
B: KEY=683f0000 400000 0 0 0 0 0 0 0 0
B: ABS=3003f

When I start lirc it show :

Quote:xbmc@htpc:~$ sudo /etc/init.d/lirc restart
* Stopping remote control daemon(s): LIRC [ OK ]
* Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [ OK ]
xbmc@htpc:~$

daemon log says :

Quote:Nov 13 22:15:40 htpc lircd-0.8.6[2382]: caught signal
Nov 13 22:15:40 htpc lircd-0.8.6[2446]: config file contains no valid remote control definition
Nov 13 22:15:40 htpc lircd-0.8.6[2447]: lircd(default) ready, using /var/run/lirc/lircd
Nov 13 22:16:04 htpc lircd-0.8.6[2447]: accepted new client on /var/run/lirc/lircd
Nov 13 22:16:04 htpc lircd-0.8.6[2447]: could not get file information for /dev/lirc
Nov 13 22:16:04 htpc lircd-0.8.6[2447]: default_init(): No such file or directory
Nov 13 22:16:04 htpc lircd-0.8.6[2447]: Failed to initialize hardware
Nov 13 22:16:09 htpc lircd-0.8.6[2447]: removed client

I have no idea anymore, been reading a ton of guides and gotten nowhere.. This should be possible right ?

Hope anyone can help me get any further with this one.

Thanks in advance.
Reply
#2
.. sorry no comment.. thought i saw something .. guess not
Reply
#3
got everything working with xboxdrv now, removed lirc alltoghether, since it's not needed for this controller to work.

just need to find out how to wrap xboxdrv around xbmc as a daemon, so it can autostart now Smile

EDIT :

Found the solution to autostarting xboxdrv with all parameters (without stalling the loading of xbmc) :

Quote:sudo nano /etc/init/tty2.conf

replace this line :

Quote:exec /sbin/getty -8 38400 tty2

with :

Quote:exec /home/xbmc/xboxdrv/xboxdrv –silent –dpad-as-button –deadzone 3000


Ta-daaa ! You can now use your old xbox1 controller.

Much thanks to this guide here : http://stolennotebook.com/anthony/2008/0...r-xboxdrv/
Reply

Logout Mark Read Team Forum Stats Members Help
Microsoft Xbox Wireless Controller (xbox1 controller) no input in irw0