RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    DualShock 3/4 testers needed

    Scheduled Pinned Locked Moved Ideas and Development
    bluetoothsixaxissixadbluezps3controller
    27 Posts 8 Posters 9.9k 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.
    • H
      Headcrab
      last edited by

      Hi, unfortunately i can't make it work.
      I have a rpi3, and an official ps3 controller.

      When i try the method from the Retropie bluetooth menu, i get the "no devices found" message.

      If i try the bluetoothctl commands, then the controller pops up at the devices, but doesn't connect.

      This happens with the built-in Bluetooth. Everything is updated.

      Here is some info:
      dpkg -l | grep blue ii bluetooth 5.23-2+rpi2 all Bluetooth support ii bluez 5.23-2+rpi2 armhf Bluetooth tools and daemons ii bluez-firmware 1.2-3+rpi1 all Firmware for Bluetooth devices ii pi-bluetooth 0.1.3 armhf Raspberry Pi 3 bluetooth

      uname -r Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

      dmesg log [ 29.045503] usb 1-1.2: new full-speed USB device number 4 using dwc_otg [ 29.191017] usb 1-1.2: New USB device found, idVendor=054c, idProduct=0268 [ 29.191030] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 29.191038] usb 1-1.2: Product: PLAYSTATION(R)3 Controller [ 29.191046] usb 1-1.2: Manufacturer: Sony [ 29.251003] input: Sony PLAYSTATION(R)3 Controller as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:054C:0268.0001/input/input0 [ 29.251633] sony 0003:054C:0268.0001: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-3f980000.usb-1.2/input0

      P 1 Reply Last reply Reply Quote 0
      • P
        psyke83 Global Moderator @Headcrab
        last edited by

        @headcrab said in DualShock 3/4 testers needed:

        Hi, unfortunately i can't make it work.
        I have a rpi3, and an official ps3 controller.

        I noticed the bluetoothctl commands from the Gentoo wiki didn't work for me unless I omitted "agent on" and "default-agent". Maybe you can try again...

        It's probably best to hold off on testing until a new firmware is released that includes rumble support (kernel uname build #1018 or later). The sixad daemon also has better compatibility with other BT peripherals now, so it's not so urgent to find a replacement driver.

        H 1 Reply Last reply Reply Quote 0
        • H
          Headcrab @psyke83
          last edited by Headcrab

          @psyke83
          I am not interested in rumble support.

          I mainly want to see if analog triggers are properly supported since sixpad doesn't.
          See here

          The reason i want analog trigger support is that, moonlight-embedded started using SDL2 for controller mappings and triggers mapped as buttons don't work properly.
          See here.

          I'll give it a try with your instructions and report back.

          P 1 Reply Last reply Reply Quote 0
          • P
            psyke83 Global Moderator @Headcrab
            last edited by psyke83

            @Headcrab

            Your controller is using the hid-sony driver for the USB connection. If the analog triggers work on USB, then most likely they will also work via Bluetooth as it will be the same driver.

            If you can't get bluetoothctl commands working as I suggested, temporarily install sixad, pair it, then uninstall and follow the steps I outlined in the OP once more. It's a pain, but it should work.

            I'll be looking more closely at the driver when the new firmware/kernel is released.

            H 1 Reply Last reply Reply Quote 0
            • H
              Headcrab @psyke83
              last edited by Headcrab

              @psyke83
              Ok, now it worked, thanks for the tip.

              As for which driver is being used, i observed the following.

              If i change xpad driver settings in /etc/modprobe.d/xpad.conf

              triggers_to_buttons=0
              

              It affects the way triggers are mapped with the ps3 controller. This happens either with usb connection or with the new BT pair mode.

              So this leads me to believe that xpad is being used. I'm not experienced with linux though, so i might be mislead.

              1 Reply Last reply Reply Quote 0
              • diogosperb78D
                diogosperb78
                last edited by

                Works beautifully. Connects faster and without the annoying rumble. I have paired with two PS3 controllers and they can both coexist in the system. Awesome!

                1 Reply Last reply Reply Quote 0
                • xadoxX
                  xadox
                  last edited by xadox

                  I managed to switch vom ps3controller wrapper driver to the one by BlueZ.
                  It directly uses the already created ES autoconfig from the wrapper driver.

                  One thing I miss is the controller led's are not showing anything after connecting.
                  With the wrapper driver LED 1 was glowing permanently.

                  1 Reply Last reply Reply Quote 0
                  • P
                    psyke83 Global Moderator
                    last edited by psyke83

                    The unlit led appears to be a driver bug that occurs only on first connect after boot. Unpairing and re-pairing the controller will show the LED correctly. It's still an issue on the latest firmware on stretch, too.

                    I'd prefer to use the BlueZ driver, but it has the unfortunate issue of not respecting the BlueZ IdleTimeout setting. I leave my Pi on constantly, so it's not useful to me in its current form.

                    1 Reply Last reply Reply Quote 0
                    • xadoxX
                      xadox
                      last edited by xadox

                      Does the commit 99bdad7 change something to this connection mode? Or is it only for the ps3driver wrapper?

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        psyke83 Global Moderator @xadox
                        last edited by

                        @xadox

                        It should only affect the wrapper driver, mostly to improve compatibility with Raspbian stretch (which is not supported by RetroPie yet).

                        1 Reply Last reply Reply Quote 1
                        • H
                          hhromic
                          last edited by

                          Hello! First, thanks @psyke83 for the great work on the ps3/ps4 controllers support in RetroPie.

                          What is the current status of the driver/procedure for latest RetroPie 4.4 on Debian Stretch to use ps3/ps4 controllers? Are the instructions in https://github.com/RetroPie/RetroPie-Setup/wiki/PS3-Controller still the preferred method at the moment to use these controllers?

                          Thanks!

                          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.