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

    SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP

    Scheduled Pinned Locked Moved Help and Support
    255 Posts 33 Posters 216.5k 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.
    • B
      bogchop @ShootHere
      last edited by

      @ShootHere Good question - absolutely no idea, as they didn't come with instructions!

      1 Reply Last reply Reply Quote 0
      • S
        ShootHere
        last edited by

        Found this thread, has this been tried?

        https://retropie.org.uk/forum/topic/998/shanwan-pi3-pairing-success

        luetzelL 1 Reply Last reply Reply Quote 0
        • luetzelL
          luetzel @ShootHere
          last edited by luetzel

          @ShootHere, @bogchop
          in fact it belongs to this thread and was meant to provide a tutorial for the pairing procedure. A summary/ instructions for pairing with patched blueZ can be found here: https://raspberryblog.de/?p=1870

          I receive a lot of help requests and the majority of users finally succeeded using either the patched blueZ or
          QTsixa. Some pads (SZMY-Power) do not work properly and I (still) hope to collect enough (debugging) information in order to encourage blueZ developers to support more PS3 clones . So please post in this thread as much information as possible and describe where exactly you got stuck ...

          "Reverse engineering" sometimes requires physical access to these game pads for debugging. If you can, try to donate your spare controllers to the developers. However, I found some old discussion threads on the gmane mailing list, where the they were a little reluctant about donations : "[...] can't promise, that it'll work at the end [...]".

          Cheers,
          /luetzel

          1 Reply Last reply Reply Quote 0
          • M
            mythical
            last edited by

            @luetzel

            Regarding SZMY-POWER controllers, may I can help giving some debugging information for bluetooth pairing with blueZ. Until now I only tried with sixad. In order to help you collect some debugging data, is following your tutorial a good start? (is your tutorial up to date? I saw your bluez fork have some commits which dated from after your article).

            I hear you about physical access, in the meantime could pictures be a start? I could try to open my controller.

            Thanks

            luetzelL 1 Reply Last reply Reply Quote 0
            • luetzelL
              luetzel @mythical
              last edited by luetzel

              @mythical
              Both, tutorial and blueZ are up to date. Most steps in the tutorial provide some output that can be useful for debugging. However, there are some subtle differences between distributions and for some users pairing failed due to lack of experience with Linux or Raspbian (see user comments below my tutorial) .
              I try to keep the patched version in sync with blueZ updates. However, development of OpenELEC.tv seems to be dead. Therefore I do not expect that new patches will be released soon.
              Please DO NOT OPEN your controller. Physical access just simplifies debugging, because one doesn't have to rely on bug reports from other users, so that test conditions are more reliable.
              Feel free to try the patched blueZ. You can either post debugging info here or below the tutorial.

              1 Reply Last reply Reply Quote 0
              • T
                Tantalid
                last edited by Tantalid

                The solution for retropie 4.0.2 is:

                Please update retropie-setup - remove the ps3 controller and re-install. On the initial install it will install the driver for the official ps3 controllers - but then you can use the configuration / gui to switch to another.

                Only update the setup first!!
                Tested with (2016/09/28): pie3, retropie 4.0.2, integrated bluetooth, SHANWAN Gamepad
                https://github.com/RetroPie/RetroPie-Setup/issues/1677

                B 1 Reply Last reply Reply Quote 0
                • B
                  bogchop @Tantalid
                  last edited by

                  @Tantalid Doesn't work with SZMY-POWER controllers :(

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Tantalid @bogchop
                    last edited by

                    @bogchop
                    sorry for my bad English. This is maybe not a solution to your problem. I refer to the original thread title "SHANWAN / PS3 CONTROLLER PI3 ...".

                    The SHANWAN controllers do also not work with RETROPIE 4.0.2 at the moment after basic installation. There are many complicated solutions on the Internet. None of them has for me really works.

                    I wanted to all that even as I look, just give the good news that actually there is a very simple solution for SHANWAN Controller even with the integrated bluetooth of the pi3.

                    1 Reply Last reply Reply Quote 0
                    • Wolfman100W
                      Wolfman100
                      last edited by

                      @Tantalid

                      Thankyou for the very valuable information.I'm sure it will prove to be very useful for many Shanwan owners.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tantalid
                        last edited by

                        I have bought a second SHANWAN controller.
                        Now i can say that two paired Shanwan controllers work fine with this simple solution:
                        https://github.com/RetroPie/RetroPie-Setup/issues/1677

                        luetzelL 1 Reply Last reply Reply Quote 0
                        • luetzelL
                          luetzel @Tantalid
                          last edited by

                          @Tantalid
                          Thanks for the info. However, you should keep in mind, that you won't be able to pair other BT devices at the same time while sixad is active, such as BT mice or keyboards. That's why I have to stick to blueZ with sixaxis plugin ...

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Tantalid @luetzel
                            last edited by

                            @luetzel ok i understand. Thank you. For me the simple solution is working. My BT keyboard has a separate 2.4 GHz Dongle. In my frustrating fight against SHANWAN i tried also your bluez solution. But maybe i'm too stupid... It doesn't work in my pi3/retropie 4.0.2 setup. Maybe i come back if i have more BT devices :)

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrGlad8
                              last edited by

                              So to sum this up = if you're not a hacker you won't get SHANWAN ps3 controllers to work with your retropie? I dont know how to write codes and such.. Just want to play my snes games wireless on my raspberry pi 3.. But guess I have to go wired then.. =/

                              luetzelL 1 Reply Last reply Reply Quote 0
                              • luetzelL
                                luetzel @MrGlad8
                                last edited by

                                @MrGlad8
                                I think that most Shanwan users in this thread managed to pair their controllers by following instructions which can be found in my blog post at https://raspberryblog.de/?p=1870
                                I received a lot of feedback, indicating that it worked for most of them. You shouldn't be worried about coding - it is not necessary for installation of patched bluez. If you are on archlinux, you may want to try the AUR package from https://aur.archlinux.org/packages/bluez-ps3/ which is based on the patched bluez fork.

                                Cheers,
                                /luetzel

                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  enderandrew @luetzel
                                  last edited by

                                  @luetzel said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:

                                  I received a lot of feedback, indicating that it worked for most of them. You shouldn't be worried about coding - it is not necessary for installation of patched bluez. If you are on archlinux, you may want to try the AUR package from https://aur.archlinux.org/packages/bluez-ps3/ which is based on the patched bluez fork.

                                  I don't want to hijack the thread too much but I was wondering if it was possible to run RetroPie on a non-Debian distro (like Arch) so I could attempt a 64-bit build and compile from source to try and optimize a bit for the Pi3 hardware over the Pi 1 and Pi Zero hardware.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    diegoquintana
                                    last edited by

                                    Hello,
                                    After some weeks of not using Retropie I updated and started it and found out and my two controllers are now identified as player 3 and player 4, and in retropie it says that there are 4 controllers available. Can you tell me how to reset all the controllers configuration so I can start over?

                                    Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      s4p0
                                      last edited by

                                      Just sharing my experience...

                                      I've tried to pair my two SHANWAN PS3 controllers with retropie 4.1 (raspberry 3). Even bluez I tried. Nothing really worked.
                                      Then I did a full distro update and it magically started to work (I didn't have any PS3 drivers installed anymore).

                                      Cheers

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        vittusaatana
                                        last edited by vittusaatana

                                        HCI sniffer - Bluetooth packet analyzer ver 5.23
                                        device: hci0 snap_len: 1500 filter: 0xffffffff

                                        HCI Event: Connect Complete (0x03) plen 11
                                        status 0x10 handle 1 bdaddr 05:99:63:69:63:25 type ACL encrypt 0x00
                                        Error: Connection Accept Timeout Exceeded
                                        HCI Event: Connect Request (0x04) plen 10
                                        bdaddr 05:99:63:69:63:25 class 0x000540 type ACL
                                        HCI Event: Command Status (0x0f) plen 4
                                        Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
                                        HCI Event: Connect Complete (0x03) plen 11
                                        status 0x00 handle 0 bdaddr 05:99:63:69:63:25 type ACL encrypt 0x00
                                        HCI Event: Command Status (0x0f) plen 4
                                        Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
                                        HCI Event: Read Remote Supported Features (0x0b) plen 11
                                        status 0x00 handle 0
                                        Features: 0xff 0xff 0x8d 0x7a 0x98 0x1f 0x78 0x83
                                        HCI Event: Command Status (0x0f) plen 4
                                        Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
                                        HCI Event: Read Remote Extended Features (0x23) plen 13
                                        status 0x00 handle 0 page 1 max 0
                                        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
                                        HCI Event: Command Status (0x0f) plen 4
                                        Remote Name Request (0x01|0x0019) status 0x00 ncmd 0
                                        HCI Event: Remote Name Req Complete (0x07) plen 255
                                        status 0x00 bdaddr 05:99:63:69:63:25 name 'PLAYSTATION(R)3Conteroller-PANHAI'
                                        HCI Event: Command Status (0x0f) plen 4
                                        Unknown (0x00|0x0000) status 0x00 ncmd 1
                                        HCI Event: Connect Request (0x04) plen 10
                                        bdaddr 05:99:63:69:63:25 class 0x000540 type ACL
                                        HCI Event: Command Status (0x0f) plen 4
                                        Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
                                        HCI Event: Connect Complete (0x03) plen 11
                                        status 0x12 handle 0 bdaddr 05:99:63:69:63:25 type ACL encrypt 0x00
                                        Error: Invalid HCI Command Parameters
                                        HCI Event: Disconn Complete (0x05) plen 4
                                        status 0x00 handle 0 reason 0x08
                                        Reason: Connection Timeout
                                        HCI Event: Connect Complete (0x03) plen 11
                                        status 0x10 handle 1 bdaddr 05:99:63:69:63:25 type ACL encrypt 0x00
                                        Error: Connection Accept Timeout Exceeded

                                        lsusb:
                                        Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

                                        dmesg (when the controller is usb connected)
                                        [ 479.403082] input: SHANWAN PS3 GamePad as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:054C:0268.0008/input/input7
                                        [ 479.427206] sony 0003:054C:0268.0008: input,hiddev0,hidraw0: USB HID v1.10 Joystick [SHANWAN PS3 GamePad] on usb-20980000.usb-1.5/input0

                                        Also:
                                        pi@retropie:~ $ sudo sixad --start
                                        [ ok ] Starting bluetooth (via systemctl): bluetooth.service.
                                        sixad-bin[2056]: started
                                        sixad-bin[2056]: sixad started, press the PS button now
                                        Watching... (5s)
                                        ^Csixad-bin[2056]: unable to accept info stream
                                        sixad-bin[2056]: Done

                                        Could the problem be the dongle is only BT 2.0?

                                        V 2 Replies Last reply Reply Quote 0
                                        • V
                                          vittusaatana @vittusaatana
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • dhanar10D
                                            dhanar10 @Wolfman100
                                            last edited by dhanar10

                                            @Wolfman100 I personally confirm with my SZMY-POWER gamepad that your instruction works! The most important part is to use "gasia only" sixad. Read here:

                                            http://raspberrypi.stackexchange.com/questions/54522/retropie-ps3-controller-over-bluetooth/54630

                                            Unfortunately, I don't have my Pi with me so I did this in my laptop running Debian Jessie. So, I downloaded sixad source code from GitHub and compile it with "make GASIA_GAMEPAD_HACKS=1" which essentially should equivalent to "gasia only" in RetroPie. I tested the gamepad connected via bluetooth with PPSSPP v1.3 and I can use the buttons and analog controls.

                                            Wolfman100W 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.