Linux Kodi 14.2: Xbox 360 Wireless Controller not detected
#1
Exclamation 
System:
  • Ubuntu 14.04.2 LTS (kernel: 3.13.0-45-generic)
  • Kodi (14.2-BETA1 Git:2259d0b). Platform: Linux x86 64-bit
  • Original XBOX 360 wireless controller with Xbox 360 USB Wireless Adapter
  • PPA: deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu trusty main

What I did:

Install ubuntu-xboxdrv:

Code:
sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv

Tested if it works with:
  • jstest: YES Smile
  • sdl-jstest: YES Smile
  • retroarch and mupen64plus playing N64 Mario Kart: YES Smile
  • Kodi: NOOOO Huh

I enabled extensive logging for kodi and uploaded a logfile here: http://xbmclogs.com/psky8dtse (until 20. March '15)

Kodi does not detect the joystick even though it is available over SDL and /dev/input/js0.

In http://forum.kodi.tv/showthread.php?tid=135871 it says:
Quote:In kodi.log: Search for "Enabled Joystick:" without quotes. Text on same line following "Enabled Joystick: " should be your Xbox 360 controller's device name.

But there is not a single line mentioning a joystick in my kodi.log.

I also added the keymap mentioned in that post to my userdata/keymaps

But still same result, nothing happens, nothing shows up in the log, ...

UPDATE: When running Kodi as the root user it actually detects the controllers... Are there some permissions I need to set/adapt?

UPDATE2: I wrote a NodeJS-bridge between Kodi and the Controller: https://github.com/cgrossde/XboxControllerKodiBridge
This way only the Bridge needs to run as root and Kodi can continue to run as an unprivileged user.
Reply
#2
http://kodi.wiki/view/Xbox_360_Wireless_Controller
http://forum.kodi.tv/showthread.php?tid=135871


I followed the links above and the joystick does not work to navigate the menus, only the arrow pad.
Reply
#3
Mine doesn't even react to the arrow pad ...
Reply
#4
I have the same problems, I have installed kodi and xboxdrv in arch linux. My xbox controller works everywhere (jstest/retroarch etc), but not in kodi. I get this in the kodi log, so it is definitely detected:

12:16:38 T:139747505629248 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver)
12:16:38 T:139747505629248 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11
12:16:38 T:139747505629248 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver) #2
12:16:38 T:139747505629248 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11

I saw some old post about using mimic xpad driver for xboxdrv, is this still needed?
Reply
#5
(2015-11-15, 14:29)UglyBob Wrote: I have the same problems, I have installed kodi and xboxdrv in arch linux. My xbox controller works everywhere (jstest/retroarch etc), but not in kodi. I get this in the kodi log, so it is definitely detected:

12:16:38 T:139747505629248 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver)
12:16:38 T:139747505629248 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11
12:16:38 T:139747505629248 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver) #2
12:16:38 T:139747505629248 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11

I saw some old post about using mimic xpad driver for xboxdrv, is this still needed?

I can answer my second question myself and say no, using mimic doesn't help...
Reply
#6
Sorry @Baxh I not fully understand English and use the GT. I'm reading the post, and do not know where I have to locate the files you've created bridge. You can specify which locations you have to locate?

I have the problem of infinite scroll, but if I emulators work. Use Kodibuntu 14.04.

Nor have I been able to find if there is already a solution to this problem because everything is in English, and after that I found were not as resolved.

Thank you.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 14.2: Xbox 360 Wireless Controller not detected0
This forum uses Lukasz Tkacz MyBB addons.