Wired X360 controller not detected
#1
OS: Ubuntu 14.04.3 LTS x64
PC: Acer Revo R3700
Kodi: 2:15.1~git20150816.1137-final-0trusty
Input device: Microsoft Corp. Xbox360 Controller (USB, not wireless)

Code:
disco@gurumeditation ~$ lsusb | grep 360
Bus 004 Device 002: ID 045e:028e Microsoft Corp. Xbox360 Controller
disco@gurumeditation ~$ ls -lh /dev/input/js0
crw-r--r-- 1 root root 13, 0 Aug 23 12:17 /dev/input/js0

I can confirm the controller is working in the OS by reading from /dev/input/js0 and pressing buttons.

Kodi user is in the following groups:
Code:
root@gurumeditation ~# groups kodi
kodi : kodi tty dialout audio video plugdev

However, Kodi doesn't seem to detect gamepad at all.
Code:
root@gurumeditation ~# grep -i joystick /home/kodi/.kodi/temp/kodi.log
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.AppleRemote.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Harmony.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Interact.AxisPad.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Logitech.RumblePad.2.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Nintendo.Wii.U.Pro.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Ouya.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.PS3.Remote.Keyboard.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.PS4.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://xbmc/system/keymaps/joystick.WiiRemote.xml
13:12:12 T:140387129309120    INFO: Loading special://masterprofile/keymaps/joystick.Microsoft.Xbox.360.Controller.xml
13:12:12 T:140387129309120    INFO: Loading special://profile/keymaps/joystick.Microsoft.Xbox.360.Controller.xml

I've copied x360 keymap from system, placed it into keymaps directory and added correct name (from lsusb output) inside <name> tags, no effect.

I've been reading multiple Kodi+x360 guides, tried both xpad and xboxdrv, nothing helped so far.

Any ideas?
Reply
#2
No, but I have a wired 360 pad at home, at the very least I can test it later.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#3
Thanks. It's no big deal if you don't, my MCE remote is arriving tomorrow. Just wanted to use the gamepad until then and ended up using a wireless keyboard instead. It appears that "Microsoft Corp. Xbox360 Controller" was added to Kodi 3 years ago and then removed for unknown reason.
http://forum.kodi.tv/showthread.php?tid=...pid1275730
Reply
#4
In that case, I'll plug'n'pray, and post what I find - it sounds likely I'll have the same result.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#5
Plugged the controller in, the player 1 segment lit.

Code:
Aug 25 23:33:53 kernel: [79605.818986] usb 3-1: new full-speed USB device number 2 using xhci_hcd
Aug 25 23:33:53 kernel: [79605.903990] usb 3-1: New USB device found, idVendor=045e, idProduct=028e
Aug 25 23:33:53 kernel: [79605.904002] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 25 23:33:53 kernel: [79605.904008] usb 3-1: Product: Controller
Aug 25 23:33:53 kernel: [79605.904013] usb 3-1: Manufacturer: ©Microsoft Corporation
Aug 25 23:33:53 kernel: [79605.904018] usb 3-1: SerialNumber: 1737B1F
Aug 25 23:33:53 kernel: [79606.059219] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:1c.2/0000:04:00.0/usb3/3-1/3-1:1.0/input/input16
Aug 25 23:33:53 kernel: [79606.059962] usbcore: registered new interface driver xpad

Code:
$ lsusb | grep 360
Bus 003 Device 002: ID 045e:028e Microsoft Corp. Xbox360 Controller
$ groups kodi
kodi : kodi adm dialout cdrom sudo dip plugdev lpadmin sambashare
$ grep -i joystick .kodi/temp/kodi.log
23:34:36 T:140335114651584  NOTICE: Enabled Joystick: Microsoft X-Box 360 pad

It all just worked, without any added keymaps.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#6
Added kodi to adm and sudo groups, no effect.

My manufacturer has weird name ("Manufacturer: \xffffffc2\xffffffa9\xffffffa9Microsoft Corporation"). Could it be causing this?
Code:
[179249.292048] usb 4-2: new full-speed USB device number 3 using uhci_hcd
[179249.507090] usb 4-2: New USB device found, idVendor=045e, idProduct=028e
[179249.507100] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[179249.507105] usb 4-2: Product: Controller
[179249.507111] usb 4-2: Manufacturer: \xffffffc2\xffffffa9\xffffffa9Microsoft Corporation
[179249.507116] usb 4-2: SerialNumber: 016601A
[179249.510408] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input16

Btw, MCE remote arrived today, just plugged it in, Kodi immediately recognized it and everything is perfect.
Reply

Logout Mark Read Team Forum Stats Members Help
Wired X360 controller not detected0