RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulation Station detects my xbox 360 game controller but I cannot even map it

    Scheduled Pinned Locked Moved Help and Support
    emulation stati
    21 Posts 3 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @RetroGamer29
      last edited by mitu

      @retrogamer29 If the dmesg | grep xpad command doesn't produce anything, then it means the xpad driver is not loading. Make sure the xpad driver is installed then plug in the controller again. Is this a Microsoft OEM controller or a clone ?

      R 1 Reply Last reply Reply Quote 0
      • R
        RetroGamer29 @mitu
        last edited by

        @mitu This is a real microsoft xbox 360 controller with its play and charge kit. How do I install the driver?

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @RetroGamer29
          last edited by

          @retrogamer29 https://retropie.org.uk/docs/Xbox-360-Controller/#xpad-driver

          1 Reply Last reply Reply Quote 0
          • R
            RetroGamer29
            last edited by

            I did that weird that nothing comes up. It says it is installed but I will restart. Go to retropie. go to retropie setup go to manage packages and driver packages and uninstall reboot and do the same go back reinstall and reboot and see if that works.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @RetroGamer29
              last edited by mitu

              @retrogamer29 If it appears as installed, but the xpad driver is not loaded, then the controller is not recognized as a gamepad. Can you run cat /proc/bus/usb/devices and post the output here ?

              R 1 Reply Last reply Reply Quote 0
              • R
                RetroGamer29 @mitu
                last edited by RetroGamer29

                @mitu I get cat: /proc/bus/usb/devices: No such file or directory

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @RetroGamer29
                  last edited by

                  @retrogamer29 Sorry, it's cat /proc/bus/input/devices.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RetroGamer29 @mitu
                    last edited by

                    @mitu Well it just states my logitech keyboard. I don't see the Xbox 360 controller there. Its also a lot to write out as its on my TV.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @RetroGamer29
                      last edited by mitu

                      @retrogamer29 Run it as cat /proc/bus/input/devices > /home/pi/RetroPie/roms/out.txt, then browse over file shares at \\retropie\roms and get the out.txt file. If the controller doesn't appear in the list, then run

                      lsusb -v   > /home/pi/RetroPie/roms/lsusb.txt
                      

                      and the - similarly, from the roms folder - get the contents of the lsusb.txt file and post it here.

                      1 Reply Last reply Reply Quote 0
                      • R
                        RetroGamer29
                        last edited by RetroGamer29

                        I: Bus=0003 Vendor=046d Product=401b Version=0111
                        N: Name="Logitech M215 2nd Gen"
                        P: Phys=usb-3f980000.usb-1.1.3:1
                        S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.2/0003:046D:C52B.0003/0003:046D:401B.0004/input/input0
                        U: Uniq=401b-29-6e-07-cf
                        H: Handlers=mouse0 event0
                        B: PROP=0
                        B: EV=17
                        B: KEY=ffff0000 0 0 0 0 0 0 0 0
                        B: REL=143
                        B: MSC=10

                        I: Bus=0003 Vendor=046d Product=4016 Version=0111
                        N: Name="Logitech K330"
                        P: Phys=usb-3f980000.usb-1.1.3:2
                        S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.2/0003:046D:C52B.0003/0003:046D:4016.0005/input/input1
                        U: Uniq=4016-77-76-47-3a
                        H: Handlers=sysrq kbd leds event1
                        B: PROP=0
                        B: EV=12001f
                        B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c007 ffff7bfa d941dfff febeffdf ffefffff ffffffff fffffffe
                        B: REL=40
                        B: ABS=1 0
                        B: MSC=10
                        B: LED=1f

                        Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.00
                        bDeviceClass 0 (Defined at Interface level)
                        bDeviceSubClass 0
                        bDeviceProtocol 0
                        bMaxPacketSize0 32
                        idVendor 0x046d Logitech, Inc.
                        idProduct 0xc52b Unifying Receiver
                        bcdDevice 24.00
                        iManufacturer 1 Logitech
                        iProduct 2 USB Receiver
                        iSerial 0
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 84
                        bNumInterfaces 3
                        bConfigurationValue 1
                        iConfiguration 4 RQR24.00_B0018
                        bmAttributes 0xa0
                        (Bus Powered)
                        Remote Wakeup
                        MaxPower 98mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 3 Human Interface Device
                        bInterfaceSubClass 1 Boot Interface Subclass
                        bInterfaceProtocol 1 Keyboard
                        iInterface 0
                        HID Device Descriptor:
                        bLength 9
                        bDescriptorType 33
                        bcdHID 1.11
                        bCountryCode 0 Not supported
                        bNumDescriptors 1
                        bDescriptorType 34 Report
                        wDescriptorLength 59
                        Report Descriptors:
                        ** UNAVAILABLE **
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0008 1x 8 bytes
                        bInterval 8
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 1
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 3 Human Interface Device
                        bInterfaceSubClass 1 Boot Interface Subclass
                        bInterfaceProtocol 2 Mouse
                        iInterface 0
                        HID Device Descriptor:
                        bLength 9
                        bDescriptorType 33
                        bcdHID 1.11
                        bCountryCode 0 Not supported
                        bNumDescriptors 1
                        bDescriptorType 34 Report
                        wDescriptorLength 148
                        Report Descriptors:
                        ** UNAVAILABLE **
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x82 EP 2 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0008 1x 8 bytes
                        bInterval 2
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 2
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 3 Human Interface Device
                        bInterfaceSubClass 0 No Subclass
                        bInterfaceProtocol 0 None
                        iInterface 0
                        HID Device Descriptor:
                        bLength 9
                        bDescriptorType 33
                        bcdHID 1.11
                        bCountryCode 0 Not supported
                        bNumDescriptors 1
                        bDescriptorType 34 Report
                        wDescriptorLength 98
                        Report Descriptors:
                        ** UNAVAILABLE **
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x83 EP 3 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0020 1x 32 bytes
                        bInterval 2
                        Device Status: 0x0000
                        (Bus Powered)

                        Bus 001 Device 004: ID 045e:028f Microsoft Corp. Xbox360 Wireless Controller
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.00
                        bDeviceClass 255 Vendor Specific Class
                        bDeviceSubClass 255 Vendor Specific Subclass
                        bDeviceProtocol 255 Vendor Specific Protocol
                        bMaxPacketSize0 8
                        idVendor 0x045e Microsoft Corp.
                        idProduct 0x028f Xbox360 Wireless Controller
                        bcdDevice 2.04
                        iManufacturer 0
                        iProduct 0
                        iSerial 0
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 18
                        bNumInterfaces 1
                        bConfigurationValue 1
                        iConfiguration 0
                        bmAttributes 0xa0
                        (Bus Powered)
                        Remote Wakeup
                        MaxPower 100mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 0
                        bInterfaceClass 255 Vendor Specific Class
                        bInterfaceSubClass 93
                        bInterfaceProtocol 255
                        iInterface 0
                        Device Status: 0x0000
                        (Bus Powered)

                        Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.10
                        bDeviceClass 255 Vendor Specific Class
                        bDeviceSubClass 0
                        bDeviceProtocol 255
                        bMaxPacketSize0 64
                        idVendor 0x0424 Standard Microsystems Corp.
                        idProduct 0x7800
                        bcdDevice 3.00
                        iManufacturer 0
                        iProduct 0
                        iSerial 0
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 39
                        bNumInterfaces 1
                        bConfigurationValue 1
                        iConfiguration 0
                        bmAttributes 0xe0
                        Self Powered
                        Remote Wakeup
                        MaxPower 2mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 3
                        bInterfaceClass 255 Vendor Specific Class
                        bInterfaceSubClass 0
                        bInterfaceProtocol 255
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 2
                        Transfer Type Bulk
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0200 1x 512 bytes
                        bInterval 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x02 EP 2 OUT
                        bmAttributes 2
                        Transfer Type Bulk
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0200 1x 512 bytes
                        bInterval 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x83 EP 3 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0010 1x 16 bytes
                        bInterval 4
                        Binary Object Store Descriptor:
                        bLength 5
                        bDescriptorType 15
                        wTotalLength 22
                        bNumDeviceCaps 2
                        USB 2.0 Extension Device Capability:
                        bLength 7
                        bDescriptorType 16
                        bDevCapabilityType 2
                        bmAttributes 0x00000006
                        Link Power Management (LPM) Supported
                        SuperSpeed USB Device Capability:
                        bLength 10
                        bDescriptorType 16
                        bDevCapabilityType 3
                        bmAttributes 0x00
                        wSpeedsSupported 0x000e
                        Device can operate at Full Speed (12Mbps)
                        Device can operate at High Speed (480Mbps)
                        Device can operate at SuperSpeed (5Gbps)
                        bFunctionalitySupport 1
                        Lowest fully-functional device speed is Full Speed (12Mbps)
                        bU1DevExitLat 10 micro seconds
                        bU2DevExitLat 1500 micro seconds
                        Device Status: 0x0001
                        Self Powered

                        Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.00
                        bDeviceClass 9 Hub
                        bDeviceSubClass 0 Unused
                        bDeviceProtocol 2 TT per port
                        bMaxPacketSize0 64
                        idVendor 0x0424 Standard Microsystems Corp.
                        idProduct 0x2514 USB 2.0 Hub
                        bcdDevice b.b3
                        iManufacturer 0
                        iProduct 0
                        iSerial 0
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 41
                        bNumInterfaces 1
                        bConfigurationValue 1
                        iConfiguration 0
                        bmAttributes 0xe0
                        Self Powered
                        Remote Wakeup
                        MaxPower 2mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 9 Hub
                        bInterfaceSubClass 0 Unused
                        bInterfaceProtocol 1 Single TT
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0001 1x 1 bytes
                        bInterval 12
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 1
                        bNumEndpoints 1
                        bInterfaceClass 9 Hub
                        bInterfaceSubClass 0 Unused
                        bInterfaceProtocol 2 TT per port
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0001 1x 1 bytes
                        bInterval 12
                        Hub Descriptor:
                        bLength 9
                        bDescriptorType 41
                        nNbrPorts 3
                        wHubCharacteristic 0x000d
                        Per-port power switching
                        Compound device
                        Per-port overcurrent protection
                        TT think time 8 FS bits
                        bPwrOn2PwrGood 50 * 2 milli seconds
                        bHubContrCurrent 1 milli Ampere
                        DeviceRemovable 0x02
                        PortPwrCtrlMask 0xff
                        Hub Port Status:
                        Port 1: 0000.0503 highspeed power enable connect
                        Port 2: 0000.0103 power enable connect
                        Port 3: 0000.0103 power enable connect
                        Device Qualifier (for other device speed):
                        bLength 10
                        bDescriptorType 6
                        bcdUSB 2.00
                        bDeviceClass 9 Hub
                        bDeviceSubClass 0 Unused
                        bDeviceProtocol 0 Full speed (or root) hub
                        bMaxPacketSize0 64
                        bNumConfigurations 1
                        Device Status: 0x0001
                        Self Powered

                        Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.00
                        bDeviceClass 9 Hub
                        bDeviceSubClass 0 Unused
                        bDeviceProtocol 2 TT per port
                        bMaxPacketSize0 64
                        idVendor 0x0424 Standard Microsystems Corp.
                        idProduct 0x2514 USB 2.0 Hub
                        bcdDevice b.b3
                        iManufacturer 0
                        iProduct 0
                        iSerial 0
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 41
                        bNumInterfaces 1
                        bConfigurationValue 1
                        iConfiguration 0
                        bmAttributes 0xe0
                        Self Powered
                        Remote Wakeup
                        MaxPower 2mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 9 Hub
                        bInterfaceSubClass 0 Unused
                        bInterfaceProtocol 1 Single TT
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0001 1x 1 bytes
                        bInterval 12
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 1
                        bNumEndpoints 1
                        bInterfaceClass 9 Hub
                        bInterfaceSubClass 0 Unused
                        bInterfaceProtocol 2 TT per port
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0001 1x 1 bytes
                        bInterval 12
                        Hub Descriptor:
                        bLength 9
                        bDescriptorType 41
                        nNbrPorts 4
                        wHubCharacteristic 0x000d
                        Per-port power switching
                        Compound device
                        Per-port overcurrent protection
                        TT think time 8 FS bits
                        bPwrOn2PwrGood 50 * 2 milli seconds
                        bHubContrCurrent 1 milli Ampere
                        DeviceRemovable 0x02
                        PortPwrCtrlMask 0xff
                        Hub Port Status:
                        Port 1: 0000.0503 highspeed power enable connect
                        Port 2: 0000.0100 power
                        Port 3: 0000.0100 power
                        Port 4: 0000.0100 power
                        Device Qualifier (for other device speed):
                        bLength 10
                        bDescriptorType 6
                        bcdUSB 2.00
                        bDeviceClass 9 Hub
                        bDeviceSubClass 0 Unused
                        bDeviceProtocol 0 Full speed (or root) hub
                        bMaxPacketSize0 64
                        bNumConfigurations 1
                        Device Status: 0x0001
                        Self Powered

                        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                        Device Descriptor:
                        bLength 18
                        bDescriptorType 1
                        bcdUSB 2.00
                        bDeviceClass 9 Hub
                        bDeviceSubClass 0 Unused
                        bDeviceProtocol 1 Single TT
                        bMaxPacketSize0 64
                        idVendor 0x1d6b Linux Foundation
                        idProduct 0x0002 2.0 root hub
                        bcdDevice 4.14
                        iManufacturer 3 Linux 4.14.52-v7+ dwc_otg_hcd
                        iProduct 2 DWC OTG Controller
                        iSerial 1 3f980000.usb
                        bNumConfigurations 1
                        Configuration Descriptor:
                        bLength 9
                        bDescriptorType 2
                        wTotalLength 25
                        bNumInterfaces 1
                        bConfigurationValue 1
                        iConfiguration 0
                        bmAttributes 0xe0
                        Self Powered
                        Remote Wakeup
                        MaxPower 0mA
                        Interface Descriptor:
                        bLength 9
                        bDescriptorType 4
                        bInterfaceNumber 0
                        bAlternateSetting 0
                        bNumEndpoints 1
                        bInterfaceClass 9 Hub
                        bInterfaceSubClass 0 Unused
                        bInterfaceProtocol 0 Full speed (or root) hub
                        iInterface 0
                        Endpoint Descriptor:
                        bLength 7
                        bDescriptorType 5
                        bEndpointAddress 0x81 EP 1 IN
                        bmAttributes 3
                        Transfer Type Interrupt
                        Synch Type None
                        Usage Type Data
                        wMaxPacketSize 0x0004 1x 4 bytes
                        bInterval 12
                        Hub Descriptor:
                        bLength 9
                        bDescriptorType 41
                        nNbrPorts 1
                        wHubCharacteristic 0x0008
                        Ganged power switching
                        Per-port overcurrent protection
                        TT think time 8 FS bits
                        bPwrOn2PwrGood 1 * 2 milli seconds
                        bHubContrCurrent 0 milli Ampere
                        DeviceRemovable 0x00
                        PortPwrCtrlMask 0xff
                        Hub Port Status:
                        Port 1: 0000.0503 highspeed power enable connect
                        Device Status: 0x0001
                        Self Powered

                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator
                          last edited by

                          Hm, according to the xpad driver's source, the device should be recognized as a controller (ID 045e:028f), but it's not. The last listing from lsusb -v it's not the same as the previous one:

                           Bus 001 Device 004 ID: 045e:020f Microsoft Corp. Xbox360 Wireless Controller
                          

                          but I assume it was just a typo.

                          Can you exit Es, disconnect the dongle and then type

                          sudo dmesg -c > /dev/null
                          sudo modprobe xpad
                          

                          then connect the dongle back, type

                          emulationstation
                          

                          and try configuring the controller.

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RetroGamer29 @mitu
                            last edited by

                            @mitu Thanks for all the help but there is still absolutely no difference.

                            The xbox 360 controller still does not work. I never thought it would be so hard to get a controller working with it.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.