paroj / xpad

Linux Kernel Driver for the Xbox/ Xbox 360/ Xbox One Controllers
847 stars 185 forks source link

Xbox one controller not sending data #60

Open ad-ab opened 7 years ago

ad-ab commented 7 years ago

Hi, I am sorry to bother, I am not sure where else to write. In the past i have successfully got my xbox one controller running. Just for info I am running it with moonlight-embedded on osmc. I tried to recompile the module for the new kernel and run into some issues that i don't know how to tackle. I have the ordinary xbox one controller that came with the xbox one bundle.

My controller lights up as usual but I get no button presses in the system. jstest /dev/input/js0 returns http://pastebin.com/fJtZMx6C. Pressing any buttons doesn't do anything on this screen, it stays the same no mater what I do with the controller.

using fftest /dev/input/event2 allows me to make the controller react and rumble.

Debug information as described on the mainpage also yields no result. I have no xpad-dbg messages or anything similar. I don't know how to enable verbose logging like it was described in https://github.com/paroj/xpad/issues/57.

Could someone please help an advise me what im doing wrong or how i can enable verbose debugging to add more information here?

Thank you.

P.S.: I would also add that i used the last master version of the xpad source code (this was 1.1.2017). P.S.S.: Also lsusb -v : http://pastebin.com/pMixpqQx

exentio commented 7 years ago

I have the same problem, I got it to work, but when I rebooted it didn't work anymore. I was using this when it worked: https://github.com/cgutman/xpad/tree/3rdparty

Edit: I tried on my laptop, because I'm trying literally everything, it works even without installing xpad, I just installed linuxconsole and sdl2-jstest-git to test the inputs. I really don't know what to do anymore Edit 2: Apparently my PC can power external hard drives without external power but not an XBox One controller, while a Thinkpad T430 can. A USB hub with external power fixed the problem. Consider this possibility before you spend 48 hours like I did, searching for a software problem that doesn't exist

cgutman commented 7 years ago

Please try again with the "powera" branch of my repo. https://github.com/cgutman/xpad/tree/powera

ad-ab commented 7 years ago

I will try once i get home and have some time today. Thank you in advance, I will let you know how it went.

ad-ab commented 7 years ago

Once again thanks for your time. I have tried your branch and the result is basically the same. The controller powers up and i can get it to vibrate but i dont get any input from it. Does anyone know, how i can enable verbose debugging to see the communication between the controller and the xpad driver? I have successfully got my xbox one gamepad working on a previous version of my kernel :-( Any ideas?