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

    Problem with Batoh PS3 controller

    Scheduled Pinned Locked Moved Help and Support
    bluetoothps3 controllerpairingissues
    11 Posts 2 Posters 1.6k 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.
    • P
      pscotto1234
      last edited by

      Hi all,
      I'm trying to pair a new ps3 controller but it doesn't work either via USB and bouetooth.
      When connected via USB it's not detected in emulationstation but is listed in usb device:

      pi@retropie:~ $ lsusb
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 009: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
      Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      
      pi@retropie:~ $ lsusb -D /dev/bus/usb/001/009
      Device: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
      Couldn't open device, some information will be missing
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.00
        bDeviceClass            0
        bDeviceSubClass         0
        bDeviceProtocol         0
        bMaxPacketSize0        64
        idVendor           0x054c Sony Corp.
        idProduct          0x0268 Batoh Device / PlayStation 3 Controller
        bcdDevice            5.72
        iManufacturer           0
        iProduct                2
        iSerial                 0
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength       0x0029
          bNumInterfaces          1
          bConfigurationValue     1
          iConfiguration          0
          bmAttributes         0x80
            (Bus Powered)
          MaxPower              500mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           2
            bInterfaceClass         3 Human Interface Device
            bInterfaceSubClass      0
            bInterfaceProtocol      0
            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     0x02  EP 2 OUT
              bmAttributes            3
                Transfer Type            Interrupt
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               1
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x82  EP 2 IN
              bmAttributes            3
                Transfer Type            Interrupt
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval
      

      I tried both ps3 controller driver and sixaxis but it's won't pair and it's not working in USB.
      I found this old thread but I don't understand how can I solve this issue.
      Could you help me?

      My system is:
      Retropie 4.7.20
      raspberry pi4 2GB
      PSU 5V 3A
      uSD Samsung 32GB

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

        @pscotto1234 said in Problem with Batoh PS3 controller:

        I found this old thread but I don't understand how can I solve this issue.

        In the old topic the issue was with RPI's Bluetooth packages, but the controller was working via USB. Did you enable support the 3rd party controllers, as the poster from the other topic has done ? See https://retropie.org.uk/docs/PS3-Controller/#using-the-retropie-shell-to-configure-the-ps3-controller-bluetooth-connection-for-sixaxis.

        P 1 Reply Last reply Reply Quote 0
        • P
          pscotto1234 @mitu
          last edited by

          @mitu said in Problem with Batoh PS3 controller:

          @pscotto1234 said in Problem with Batoh PS3 controller:

          I found this old thread but I don't understand how can I solve this issue.

          In the old topic the issue was with RPI's Bluetooth packages, but the controller was working via USB. Did you enable support the 3rd party controllers, as the poster from the other topic has done ? See https://retropie.org.uk/docs/PS3-Controller/#using-the-retropie-shell-to-configure-the-ps3-controller-bluetooth-connection-for-sixaxis.

          Yes, I follow exactly the tutorial and my old controller worked very well. I bought a new controller to replace the broken one and I cannot pair it any more.
          I upgraded the whole system and reinstalled sixaxis. Then I enabled third party controller but won’t work.
          Windows recognise usb controller.
          Can I try to do something else?

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

            If you test the controller with jstest - while connected over USB - does it work, do you get any reaction when pressing the buttons/moving the joysticks ?

            P 1 Reply Last reply Reply Quote 0
            • P
              pscotto1234 @mitu
              last edited by

              @mitu said in Problem with Batoh PS3 controller:

              If you test the controller with jstest - while connected over USB - does it work, do you get any reaction when pressing the buttons/moving the joysticks ?

              It says “no such file or directory”.
              When I connect it to usb no js0 file is present in /dev/input/ while if I connect another wired controller js0 appears.

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

                Can you post the dmesg output taken after connecting the controller ? Run

                sudo dmesg -c
                # plug in the controller
                dmesg
                

                then post the result of the last dmesg command.
                You may try removing the sixaxis driver and see if it works without it, the new controller may have a different firmware that does not need the quirks/3rd party controller option.

                1 Reply Last reply Reply Quote 0
                • P
                  pscotto1234
                  last edited by

                  @mitu

                  [   70.325508] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
                  [   70.464240] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 0.01
                  [   70.464258] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
                  [   70.464272] usb 1-1.3: Product: PS3 Controller
                  [   70.481038] usbhid 1-1.3:1.0: can't add hid device: -32
                  [   70.481152] usbhid: probe of 1-1.3:1.0 failed with error -32
                  [   70.483852] usb 1-1.3: USB disconnect, device number 3
                  [   71.155563] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
                  [   71.293196] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 5.72
                  [   71.293214] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
                  [   71.293228] usb 1-1.3: Product: PS3 Controller
                  [   71.355639] hid_sony: loading out-of-tree module taints kernel.
                  [   71.360083] sony 0003:054C:0268.0001: failed to retrieve feature report 0xf2 with the Sixaxis MAC address
                  [   71.360596] sony 0003:054C:0268.0001: hiddev96,hidraw0: USB HID v81.11 Joystick [PS3 Controller] on usb-0000:01:00.0-1.3/input0
                  [   71.360611] sony 0003:054C:0268.0001: failed to claim input
                  
                  

                  Tried uninstalling sixaxis: same result.

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

                    Looking at the log, looks like the controller doesn't support all the PS3 features and the sony-hid driver is not able to initialize it.
                    Normally you'd use the customhisony driver in RetroPie-Setup and the sixaxis module to make it work, if that doesn't work then I'm afraid there's no workaround to make it function properly.

                    As a last resort, you can try the ps3controller driver, but note that it will disable the Linux Bluetooth stack, so you won't be able to connect other Bluetooth gamepads.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pscotto1234 @mitu
                      last edited by

                      @mitu said in Problem with Batoh PS3 controller:

                      Looking at the log, looks like the controller doesn't support all the PS3 features and the sony-hid driver is not able to initialize it.
                      Normally you'd use the customhisony driver in RetroPie-Setup and the sixaxis module to make it work, if that doesn't work then I'm afraid there's no workaround to make it function properly.

                      As a last resort, you can try the ps3controller driver, but note that it will disable the Linux Bluetooth stack, so you won't be able to connect other Bluetooth gamepads.

                      No luck with ps3controller driver :(
                      The customhisony driver is already installed or I have to install it?

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

                        @pscotto1234 said in Problem with Batoh PS3 controller:

                        The customhisony driver is already installed or I have to install it?

                        You can also install it manually from the drivers section in RetroPie-Setup.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pscotto1234 @mitu
                          last edited by

                          @mitu said in Problem with Batoh PS3 controller:

                          @pscotto1234 said in Problem with Batoh PS3 controller:

                          The customhisony driver is already installed or I have to install it?

                          You can also install it manually from the drivers section in RetroPie-Setup.

                          Ok, so I need customhisony and sixaxis (with third party support enabled) both active and installed, right?

                          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.