Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › 1 Xbox Controller works fine; 2 Xbox Controller not…
- This topic has 2 replies, 2 voices, and was last updated 10 years, 7 months ago by retrogamer.
-
AuthorPosts
-
05/17/2014 at 15:51 #6850retrogamerParticipant
Hi everyone,
hope you could help me with my problem…. I’m actually this freaked out and dont know where to look for erors anymore…
I’ve set up RetroPie with the installation instruction on this wiki. Its works fine. I Already got 1 xbox 360 Wireless controller working (although like mentioned in the wiki) and already started a game. Everythings perfect.
Now i tried to install a second Xbo 360 Wireless Controller. I plugged the wireless usb receiver in my pi and started it.
No xbox controller is recognized. The “X” is blinking ==> not connected/recognized.If i remove the second wireless usb controller and reboot, my first Xbox Controller is recognized and i can play.
I’ve got the following config:
/etc/rc.local:
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi xboxdrv --trigger-as-button --wid 0 --led 2 --detach-kernel-driver --deadzone 4000 --silent & sleep 1 xboxdrv --trigger-as-button --wid 1 --led 3 --detach-kernel-driver --deadzone 4000 --silent & exit 0
The steps i already did:
1. Remove the entries in rc.local and reboot with only 1 inserted 360 usb wireless connector. then i used the command:xboxdrv --trigger-as-button --wid 0 --led 2 --detach-kernel-driver --deadzone 4000 --silent &
and the xboxdrv says “connected” and my xbox controller was recognized and i could game on.
2. Remove the entries in rc.local and reboot with my 2 inserted 360 usb wireless cc onnectors. Then i used the same command as above and i received the errorroot@raspberrypi:~# xboxdrv --trigger-as-button --wid 0 --led 2 --detach-kernel-driver --deadzone 4000 --silent & [1] 2466 root@raspberrypi:~# xboxdrv 0.8.4 - http://pingus.seul.org/~grumbel/xboxdrv/ Copyright © 2008-2011 Ingo Ruhnke <> 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:004 Wireless Port: 0 Controller Type: Xbox360 (wireless) -- [ ERROR ] ------------------------------------------------------ Error couldn't claim the USB interface: LIBUSB_ERROR_BUSY Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.
Looking at dmesg, it shows that the pi recognizes both my xbox 360 controllers:
3.134469] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:73:21:8b [ 3.259321] usb 1-1.2: new full-speed USB device number 4 using dwc_otg [ 3.397546] usb 1-1.2: New USB device found, idVendor=045e, idProduct=0719 [ 3.414211] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.437297] usb 1-1.2: Product: Xbox 360 Wireless Receiver for Windows [ 3.459094] usb 1-1.2: Manufacturer: \xffffffc2\xffffffa9\xffffffa9Microsoft [ 3.465621] usb 1-1.2: SerialNumber: E0182D10 [ 3.579342] usb 1-1.3: new full-speed USB device number 5 using dwc_otg [ 3.740598] usb 1-1.3: New USB device found, idVendor=045e, idProduct=0719 [ 3.759074] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.779061] usb 1-1.3: Product: Xbox 360 Wireless Receiver for Windows [ 3.787485] usb 1-1.3: Manufacturer: \xffffffc2\xffffffa9\xffffffa9Microsoft [ 3.808511] usb 1-1.3: SerialNumber: E0181EF0 [ 3.981278] udevd[156]: starting version 175 [ 5.779547] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0 [ 6.079829] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.2/input/input1 [ 6.298350] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory [ 6.577381] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.4/input/input2 [ 6.935715] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.6/input/input3 [ 7.160676] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4 [ 7.329853] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.2/input/input5 [ 7.508802] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.4/input/input6 [ 7.679934] input: Xbox 360 Wireless Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.6/input/input7 [ 7.802765] usbcore: registered new interface driver xpad [ 12.661666] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 13.267071] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 25.236442] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 26.795305] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1 [ 34.064877] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS [ 34.549470] Bluetooth: Core ver 2.16 [ 34.552717] NET: Registered protocol family 31 [ 34.552749] Bluetooth: HCI device and connection manager initialized [ 34.552853] Bluetooth: HCI socket layer initialized [ 34.552883] Bluetooth: L2CAP socket layer initialized [ 34.552976] Bluetooth: SCO socket layer initialized [ 34.629324] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 34.629358] Bluetooth: BNEP filters: protocol multicast [ 34.629439] Bluetooth: BNEP socket layer initialized [ 34.685109] Bluetooth: RFCOMM TTY layer initialized [ 34.685244] Bluetooth: RFCOMM socket layer initialized [ 34.685264] Bluetooth: RFCOMM ver 1.11 [ 38.003415] input: Xbox Gamepad (userspace driver) as /devices/virtual/input/input8
Do you have any ideas/hints for me ? Im trying to get the 2 controllers to work for 3 days now and actually i dont have another idea where to look/what to do…
Thanks !
Retrogamer
05/17/2014 at 17:24 #6852trimmtrabbParticipantYou only need one wireless adapter plugged in, insert this in rc.local:
fi xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent & sleep 1 xboxdrv --trigger-as-button --wid 1 --led 3 --deadzone 4000 --silent & sleep 1 exit 0
Reboot and both pads should connect (they need syncing first) and will be assigned seperate id’s
05/18/2014 at 10:58 #6862retrogamerParticipantHi trimmtrabb,
thank you very much for your help…. i guess i was just too stupid to try with only 1 wireless adapter.
Many thanks! -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.