> > > After 2 months of searching to find a way to do this on my own, and asking for help which nobody has been able to give or been willing to give me, I found these 2 posts in the group which seem to point me in the right direction: https://groups.google.com/forum/#!search/xboxdrv/xboxdrv/Dj7YEd4UYuA/Sf99x5vDnkMJ https://groups.google.com/forum/#!search/xboxdrv/xboxdrv/EiqrpLjAUzY/31QgPbmBA_AJ But I don't really understand how they work or how I could use them yet and I'm not having much luck with anything I try to identify the number of controllers connected. When starting my pi and watching what I can while it boots up I see xboxdrv start quite early in the process but it then moves on far to quick to see what happens next, but as the pi get towards the end of the process I see the following: [ERROR] USBController::on_read_data(): failed to resubmit USB transfer: LIBUSB_ERROR_IO [ERROR] USBController::on_read_data(): failed to resubmit USB transfer: LIBUSB_ERROR_IO [ERROR] USBController::on_read_data(): failed to resubmit USB transfer: LIBUSB_ERROR_IO [ERROR] USBController::on_read_data(): failed to resubmit USB transfer: LIBUSB_ERROR_IO I assumed this was because xboxdrv was not starting up with root access and the 4 instances were for each port?, Controller still worked though, just haven't tried to use more than 1 in a game yet. So I now wanted to see what happened when I started xboxdrv with no root so I did the following: "sudo killall xboxdrv" "xboxdrv" the result was: Controller: Microsoft Xbox 360 Wireless Controller Vendor/Product: 045e:0291 USB Path: 001:005 Wireless Port: 0 Controller Type: Xbox360 (wireless)
-- [ ERROR ] ------------------------------------------------------ USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS Now to test with root, so I stopped xboxdrv again and used "sudo xboxdrv" my result was: Controller: Microsoft Xbox 360 Wireless Controller Vendor/Product: 045e:0291 USB Path: 001:005 Wireless Port: 0 Controller Type: Xbox360 (wireless) Your Xbox/Xbox360 controller should now be available as: /dev/input/js4 /dev/input/event0 The error has gone I was right about root but I have 2 controllers connected but only seeing 1 and starting another instance of xboxdrv just gives me the same info as above no 2nd controller on js5. I also get that same information when no controller is connected . shouldn't it be telling me there is no controller, and I don't have a mouse or kb attached I ssh the pi. I thought I might be able to use --list-controller to identify how many controllers are connected but when I try this I get the following: 0 | 0 | 0x045e | 0x0291 | Microsoft Xbox 360 Wireless Controller (Port: 0) 0 | 1 | 0x045e | 0x0291 | Microsoft Xbox 360 Wireless Controller (Port: 1) 0 | 2 | 0x045e | 0x0291 | Microsoft Xbox 360 Wireless Controller (Port: 2) 0 | 3 | 0x045e | 0x0291 | Microsoft Xbox 360 Wireless Controller (Port: 3) Now looking at it, you would think that's 4 wireless controllers attached but in reality its just the available ports a controller can attach to on the rf module, doesn't matter if there are actually any controllers connected or not its always the same. It looks like xboxdrv is only recognizing 1 wireless controller, even when there are 4 connected to the RF module and multiple instances of xboxdrv doesn't seem to work either, if I take the battery out of the controller it see's as js4, xboxdrv stops, I confirmed this by typing "sudo killall xboxdrv" and got: xboxdrv: no process found. So I gave this a try and I type "sudo xboxdrv --wid 0" that controller works so I tried "sudo xboxdrv --wid 1" I'm getting input from 2nd controller and can switch back to the 1st again so obviously the controllers are connected but cant I get xboxdrv to recognize them all at the same time and starting multiple instances of xboxdrv using wid just makes the last entered the master, leaving me feeling like I've got no hope of accomplishing what I want to achieve, Do I just have a bad set-up of xboxdrv, or is there something that the retropie set-up has missed and until I sort that it will only show 1 controller at a time, Can somebody please help I'm at my wits end I've read that many forums and faqs and got nowhere. -- You received this message because you are subscribed to the Google Groups "xboxdrv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/xboxdrv. For more options, visit https://groups.google.com/d/optout.
