Hello,
I’m really close to get the custom distribution of my dreams for an almost fully automated with Kodi+Plex+Sonaar+radaar+transmission+rpi-monitor+Moonlight on my raspberry pi. I made the choice to start from a raspbian lite for different reasons (control, learning…), instead of pre-made distributions like retropie or OSMC.
I made it bootable from USB Everything works great, Kodi for the local screen, Plex to serve my medias all over the house on every type of devices, and rpimonitor whit custom plugin to manage all the processes from webservices.
And now i’m getting to make little thing work, like different type of interfaces.
Now i’m trying to make my Xbox 360 controller work on Kodi 17 Krypton, in order to get Moonlight to boot from Kodi througt the Luna plugin who looks awesome.
I tried to find walkthrougt on the internet, but none of them seems the same or even applicable in Raspbian lite. A lot of them are made for Retropie, OSMC and other… And I don’t think things work the same and i’m afraid to make a mistake. And after hours of research, I can’t find someone who tried the same crazy stunt.
So I tried i manually, installed the xboxdrv driver from raspbian repo, and run an evtest and the controller is recognized by the pi. I made it bootable with an init.d script, I tried everything I saw in different walkthrougt, but Kodi don’t seem to see there is a controller plugged to it.
And I seem to be a little stuck now i try to make the controller to work with Kodi. Nothing respond, when i try to manage the controller in settings>system>input>manage controller, when I press a button to map it, no response. I even tried to make a custom xml mapping, but no response even.
When i try to run :
sudo xboxdrv --silent --detach-kernel-driver --mimic-xpad
I get this has a response:
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <[email protected]>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details.
Controller: Microsoft Xbox 360 Wireless Controller (PC)
Vendor/Product: 045e:0719
USB Path: 001:006
Wireless Port: 0
Controller Type: Xbox360 (wireless)
-- [ ERROR ] ------------------------------------------------------
Error couldn't claim the USB interface: LIBUSB_ERROR_NOT_FOUND
Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.
Then, naturally as he tells me, i run rmmod xpad
rmmod: ERROR: Module xpad is not currently loaded
So I said to myself, maybe xpad is not in raspbian lite package so I apt-getted it. Same response, xpad is not loaded. And even if I wanted to use xpad instead of xboxdrv, I can’t get any hint on the internet to make it work. I don’t know if it has any incidence on Kodi, but I really what to do next.
I’m relatively not used to Linux, it’s one of the reasons why I rely a lot on walkthrought, forum reasearch and I learned a lot from this, how things work in Debian… and I love it. And I try not to bother anyone with my problems on the forum. But i’m really stuck here so maybe someone here would have an answer to my problem ?