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.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.
    • luetzelL
      luetzel @Wolfman100
      last edited by

      I installed OSMC via Noobs so that I could have a dual boot Raspian/OSMC system.I was however unaware that Raspian would use up all the disk space.I have a 32GB card, and can't even update OSMC because Raspian has chewed up all the space.Do you know how I can avoid this?

      I never used noobs, but on a regular Raspbian 32MB is decent enough to install RetroPie using the setup-script. Raspbian shouldn't take much more than 18% of space on a freshly installed 32MB card.

      So let me know when your new card arrived. I'll try to watch this tread time to time, but you can also leave me a message underneath my blog post. I'll receive an email notification if you do so.

      Somehow I do not receive any notifications from this forum. I hope that someone else will discover this thread in order to try
      PS3/bluez pairing.

      Wolfman100W 1 Reply Last reply Reply Quote 1
      • Wolfman100W
        Wolfman100 @luetzel
        last edited by

        @luetzel dude!The wierdest thing...I just did this:

        sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb

        Now bluetooth works again and my PS3 controller seems to have paired! 1 light is on!

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

          1 Step closer...now to open RetroPie....I suspect imminent failure!

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

            OH MY LORD!!!!!!!!!!!!!!! SUCCESS!!!!!!!!

            My PS3 controller is paired.....it had no trouble configuring as an input in RetroPie and it looks like it's good to go!

            My Bluetooth keyboard also seems to be functioning as it should.

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

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

              OH MY LORD!!!!!!!!!!!!!!! SUCCESS!!!!!!!!

              My PS3 controller is paired.....it had no trouble configuring as an input in RetroPie and it looks like it's good to go!

              My Bluetooth keyboard also seems to be functioning as it should.

              Wow, cool! Congratulations. Did you switch to Raspbian now?
              Package: pi-bluetooth
              New: yes
              State: not installed
              Version: 0.1.1
              Priority: optional
              Section: misc
              Maintainer: Serge Schneider serge@raspberrypi.org
              Architecture: armhf
              Uncompressed Size: 42.0 k
              Depends: init-system-helpers (>= 1.18~), bluez, bluez-firmware
              Description: Raspberry Pi 3 bluetooth
              --->>>>> Loads BCM43430A1 firmware on boot <<<<<<-----
              Homepage: https://github.com/RPi-Distro/rpi-bluetooth

              Obviously, the firmware wasn't present to start your BT (hci0 device).

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

                No...I'm still in OSMC....got RetroPie running in OSMC and happily playing Donkey Kong Country WIRELESSLY without a constantly vibrating controller I might add!! AMAZING!!

                I'm not sure how the firmware dissapeared though,as it was working earlier when we were attempting to pair etc...very strange.

                I'm going to try and replicate and then write a very clear and simple guide for completely unskilled bozo's such as myself!

                Thankyou SO MUCH for your time and effort on this,it really is appreciated...A LOT.I can now happily confirm that it is now possible to pair a Shanwan PS3 controller with a Pi3's onboard Bluetooth running RetroPie inside OSMC!!! BOOOOOOM!!

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

                  @Wolfman100
                  You're welcome! Glad to see that it works!

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

                    @luetzel

                    Just one other thing....how do you go about charging your shanwan controller?As when it is plugged in it just constantly rumbles...

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

                      I have a 1000mA USB wall-charger and an USB-charge doctor. It does not rumble with the wall charger, but the lights do not turn OFF when it is completely charged. With the charge doctor one can see when the mA drop down to 0.01 mA at the end of the charging process. You can buy a charger doctor at the a***zon marketplace for about 2-3 bucks.

                      Wolfman100W 1 Reply Last reply Reply Quote 1
                      • Wolfman100W
                        Wolfman100 @luetzel
                        last edited by

                        @luetzel Good stuff.

                        Although,now after a reboot nothing will pair again!.......

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

                          There seems to be an issue with the Bluetooth package,as once again the bluetooth device has dissapeared and the package won't load:

                          root@osmc:/# sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb

                          (Reading database ... 51677 files and directories currently installed.)
                          Preparing to unpack pi-bluetooth_0.1.0_armhf.deb ...
                          Unpacking pi-bluetooth (0.1.0) over (0.1.0) ...
                          Setting up pi-bluetooth (0.1.0) ...
                          Job for hciuart.service failed. See 'systemctl status hciuart.service' and 'journalctl -xn' for details.
                          root@osmc:/#

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

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

                            There seems to be an issue with the Bluetooth package,as once again the bluetooth device has dissapeared and the package won't load:

                            root@osmc:/# sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb

                            (Reading database ... 51677 files and directories currently installed.)
                            Preparing to unpack pi-bluetooth_0.1.0_armhf.deb ...
                            Unpacking pi-bluetooth (0.1.0) over (0.1.0) ...
                            Setting up pi-bluetooth (0.1.0) ...
                            Job for hciuart.service failed. See 'systemctl status hciuart.service' and 'journalctl -xn' for details.
                            root@osmc:/#

                            On my Pi3/OSMC I cannot replicate this behavior. It pairs after reboot without problems. It must be related to your
                            OSMC/ kernel release. Here I'm using the latest 2016.05-1 disk image with all updates (apt-get update/dist-upgrade) applied.

                            Also no problems on Pi2/Raspbian. Here I use an old disk image ?2015? but this one was also upgraded to the latest
                            release.

                            You should try it on a fresh install/disk image as soon as your new SD-card arrives

                            Wolfman100W 1 Reply Last reply Reply Quote 1
                            • Wolfman100W
                              Wolfman100 @luetzel
                              last edited by

                              @luetzel Good point.I'm going to try with a new image with the latest Kernal on a spare card.Really weird issue though right?I've now tried everything and simply cannot get Bluetooth running at-all!Kind of crazy to go from getting the thing pairing perfectly to being worse off than I started with no bluetooth....oh well,welcome to the world of open-source I guess...ho hum!

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

                                @Wolfman100 said in [SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP](/topic/42/shanwan-

                                ....oh well,welcome to the world of open-source I guess...ho hum!
                                I wouldn't blame 'open-source' in general. At least you can fix this kind of problems by having some programming skills.

                                With proprietary software you have to hang on until an update is released. And for some Problems it never happens.
                                I have an impressive collection of abandoned hardware because of that ...

                                1 Reply Last reply Reply Quote 1
                                • SerumS
                                  Serum
                                  last edited by

                                  Hello Wolfman,

                                  I read everything but I am afraid, I don't have any idea or experience on this things.
                                  If it works with you, can tell me which command line I have to write to use a ShanWan ps3 controller please ?

                                  Thank you.

                                  Pi Model: 3 model B
                                  RetroPie Version Used: 3.7 (rpi-_rpi3)
                                  Built From: SD Image
                                  USB Devices connected: none
                                  Controller used: PS3 Shanwan

                                  luetzelL Wolfman100W 2 Replies Last reply Reply Quote 0
                                  • luetzelL
                                    luetzel @Serum
                                    last edited by

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

                                    Hello Wolfman,

                                    I read everything but I am afraid, I don't have any idea or experience on this things.
                                    If it works with you, can tell me which command line I have to write to use a ShanWan ps3 controller please ?

                                    Thank you.

                                    Here you can find a tutorial how to pair PS3 Shanwan controllers.
                                    http://luetzels.raspiblog.com/?p=1870

                                    Cheers,
                                    /luetzel

                                    1 Reply Last reply Reply Quote 1
                                    • Wolfman100W
                                      Wolfman100 @Serum
                                      last edited by

                                      @Serum HI Serum,unfortuatly I cannot offer much support as I am shortly jumping on an aeroplane and will be away for a week.I do however intend to write an in-depth description for novices upon my return.

                                      In the meanwhile you can follow the gentleman that is @luetzel tutorial.

                                      Can't believe this thread is 100 posts deep!

                                      I wish you the best of luck.

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

                                        Hi guys... I was hoping to chime in here.

                                        I have been trying to pair my bluetooth PS3 controllers with the internal bluetooth on my RPi3 with absolutely no success thus far. They work 100% wired though.

                                        I am using a fresh image of RetroPie 3.7 updated to the latest kernel. The only other changes I have made are as described in this thread by luetzel.

                                        I have two generic controllers that display the following dmesg:

                                        [ 1273.468135] usb 1-1.2: USB disconnect, device number 5
                                        [ 1276.266715] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
                                        [ 1276.369693] usb 1-1.2: New USB device found, idVendor=054c, idProduct=0268
                                        [ 1276.369713] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
                                        [ 1276.369727] usb 1-1.2: Product: PLAYSTATION(R)3 Controller
                                        [ 1276.369739] usb 1-1.2: Manufacturer: Sony
                                        [ 1276.377310] 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.0003/input/input2
                                        [ 1276.378252] sony 0003:054C:0268.0003: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-3f980000.usb-1.2/input0

                                        They seem to show up as a genuine controller would, but I have had no success with the standard way of pairing using the setup script.

                                        I followed leutzel's steps right through - Installed the patched bluez, installed sixpair using the method described, however when I run sixpair, I get the following which seems to be a bit wonky as it's only showing up with 'aa':

                                        Current Bluetooth master: aa:aa:aa:aa:aa:aa
                                        Setting master bd_addr to aa:aa:aa:aa:aa:aa

                                        In bluetoothctl, I can definitely see all nearby bluetooth devices. However, I get the following when trying to pair:

                                        pi@retropie:~ $ sudo bluetoothctl
                                        [NEW] Controller AA:AA:AA:AA:AA:AA retropie [default]
                                        [NEW] Device 00:18:01:CA:EB:E8 PLAYSTATION(R)3 Controller
                                        [bluetooth]# info 00:18:01:CA:EB:E8
                                        Device 00:18:01:CA:EB:E8
                                        Name: PLAYSTATION(R)3 Controller
                                        Alias: PLAYSTATION(R)3 Controller
                                        Paired: no
                                        Trusted: yes
                                        Blocked: no
                                        Connected: no
                                        LegacyPairing: no
                                        UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
                                        Modalias: usb:v054Cp0268d0000
                                        [bluetooth]# pair 00:18:01:CA:EB:E8
                                        Attempting to pair with 00:18:01:CA:EB:E8
                                        Failed to pair: org.bluez.Error.ConnectionAttemptFailed

                                        Any ideas? I feel as though I'm probably just missing something. Any help will be greatly appreciated!

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

                                          @pablo
                                          Hi Pablo,
                                          your controller looks like a "genuine" SONY controller, is that correct? IMHO it shouldn't be necessary to patch bluez for a genuine controller.

                                          However, the output of sixpair looks suspicious to me. Did you run it as root (sudo ./sixpair)?

                                          Did you read the posts about the broken internal bluetooth support on Pi3 in this forum?

                                          When you press the PS button on your controller, does bluetoothctl (at least temporarily) show a "Connected: yes"? for the
                                          PLAYSTATION(R)3 Controller?

                                          P 1 Reply Last reply Reply Quote 1
                                          • P
                                            pablo @luetzel
                                            last edited by

                                            Hi @luetzel ... It's most definitely a generic clone of some description, but it gets picked up everywhere that I can see as if it's a genuine controller.

                                            The reason why I've been trying this route is because I've had absolutely no luck whatsoever with the mainstream method as implimented in RetroPie by default.

                                            I definitely did run it as root, yes.

                                            I will do a bit of experimenting when I'm home later just to be 100% sure about the connection, but it's never been able to connect at all from what I've been able to get out of the terminal. No rumble. Just red flashing lights until it times out.

                                            My understanding is that the bluetooth, although buggy, should at least be able to establish the connection. Many people have noted here (https://github.com/raspberrypi/linux/issues/1360) that they have had success with the latest kernel.

                                            Is there any other sort of message dump I could do to try and troubleshoot this?

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