Kodi Community Forum
How do I start the userspace 360 controller driver in standalone mode? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Off-Topic (https://forum.kodi.tv/forumdisplay.php?fid=113)
+--- Thread: How do I start the userspace 360 controller driver in standalone mode? (/showthread.php?tid=54663)



How do I start the userspace 360 controller driver in standalone mode? - hexland - 2009-07-15

I wonder if someone could help me here...

I successfully installed XBMC, skins, etc all from the guide here
http://www.xbmc.org/forum/showthread.php?t=53812

It's all working great, and XBMC starts automatically when the machine boots.

I followed the instructions here (http://www.stolennotebook.com/anthony/2008/09/13/using-xbmc-for-linux-with-an-xbox-360-wireless-controller-and-the-userspace-usb-driver-xboxdrv/)
and successfully downloaded, compiled and ran the Userspace USB driver.

However, I can't work out where to put the invocation of the driver so that it starts before XBMC starts.

Code:
xboxdrv --wid 0 -s -l 2 --dpad-as-button --deadzone 12000

Can anyone help me with a location for this line? Is it supposed to go in the .bash_profile? (I tried this, but it didn't seem to do anything)

Thanks


- hexland - 2009-07-15

close this please, I worked it out.

I put the xboxdrv into /etc/rc.local and ran it as a daemon


- joebrady - 2009-07-15

Nod