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

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

      sudo bluetoohctl

      bluetoothctl does not see the controller:

      root@osmc:/# sudo bluetoothctl
      [NEW] Controller B8:27:EB:A1:9B:7F osmc [default]
      [NEW] Device CC:C5:0A:1F:F9:2C Bluetooth 3.0 Macro Keyboard
      [bluetooth]# scan on
      Discovery started
      [CHG] Controller B8:27:EB:A1:9B:7F Discovering: yes
      [bluetooth]#

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

        result of 'sudo service bluetoothd status':

        root@osmc:/# sudo service bluetoothd status
        ● bluetoothd.service
        Loaded: not-found (Reason: No such file or directory)
        Active: inactive (dead)

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

          @luetzel

          Apolagies,I was just following the guide as it is laid out,as a relative noob I didn't realise I had to manually apply the patches.

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

            @Wolfman100
            Hmm, it should be possible to see PS3 connection attempts even without having the
            right bluez version.
            You dongle should see the controller as soon as you press the PS button, given that it is not connected via USB.

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

              When attempting to apply the patches I get this output:

              root@osmc:/bluez-5.39# patch -p1 < patches/bluez-01_add-obexd-policy.patch
              patch: **** Only garbage was found in the patch input.

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

                @Wolfman100
                Ah ok, never mind ;-)

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

                  @Wolfman100

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

                  result of 'sudo service bluetoothd status':

                  root@osmc:/# sudo service bluetoothd status
                  ● bluetoothd.service
                  Loaded: not-found (Reason: No such file or directory)
                  Active: inactive (dead)

                  Please try it again with:

                  sudo service bluetooth status

                  (my mistake, the 'd' at the end was wrong)

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

                    The really really weird thing is that somehow the Pi/OSMC is seeing the PS3 controller as I am currently watching the News streaming on OSMC and when I push the PS button on the PS3 controller after about 7 seconds it makes the stream temporarily freeze for a couple of seconds indicating that the pi is seeing it as this is repeatable every time I push the PS button!! V strange!

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

                      @luetzel ermmm...I'm confused.Is this what should happen when I apply the patch?

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

                        root@osmc:/# sudo service bluetooth status
                        ● bluetooth.service - Bluetooth service
                        Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
                        Drop-In: /etc/systemd/system/bluetooth.service.d
                        └─local.conf
                        Active: active (running) since Tue 2016-05-17 00:28:47 BST; 13h ago
                        Docs: man:bluetoothd(8)
                        Main PID: 2072 (bluetoothd)
                        Status: "Running"
                        CGroup: /system.slice/bluetooth.service
                        └─2072 /usr/libexec/bluetooth/bluetoothd

                        May 17 00:28:47 osmc bluetoothd[2072]: Bluetooth daemon 5.38
                        May 17 00:28:47 osmc bluetoothd[2072]: Starting SDP server
                        May 17 00:28:48 osmc bluetoothd[2072]: Bluetooth management interface 1.10 initialized
                        May 17 00:37:56 osmc bluetoothd[2072]: Failed to obtain handles for "Service Changed" characteristic

                        Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.

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

                          @Wolfman100
                          I think it is related to the connection attempts, it fails to pair and disconnects again. You should
                          be able to follow this process with 'sudo bluetoothctl'. After a failed connection attempt you should
                          see a 'disconnected' message for the controller.

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

                            @Wolfman100
                            Bluetooth daemon 5.38

                            Version should be at 5.39 not 5.38! Did you forget to 'make install' or to reboot your Pi?

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

                              @luetzel no I definetly did 'make install' but haven't rebooted.

                              Also,all the patches haven't been applied yet as I was awaiting your response as to whether this was correct:

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

                              When attempting to apply the patches I get this output:

                              root@osmc:/bluez-5.39# patch -p1 < patches/bluez-01_add-obexd-policy.patch
                              patch: **** Only garbage was found in the patch input.

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

                                @Wolfman100

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

                                @luetzel ermmm...I'm confused.Is this what should happen when I apply the patch

                                Sorry, the link that you provided was broken.

                                Awww, I see you did not download the patches in 'raw-mode'. Make sure that you don't have html tags in your files.

                                Press the 'Raw' button, before you download the patch files from github!

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

                                  @luetzel OK will do now.Somethings definetly amiss now though as my Bluetooth option has dissapeared from within OSMC

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

                                    @luetzel

                                    I was downloading the patches by right-click 'save link address' and pasting it after wget

                                    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:

                                      @luetzel

                                      I was downloading the patches by right-click 'save link address' and pasting it after wget

                                      Ah ok, that's why it didn't work for you. Make sure that your link has a 'raw' in front, when downloading with wget:

                                      https://raw.githubusercontent.com/luetzel/bluez/master/patch/bluez-01_add-obexd-policy.patch

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

                                        @luetzel Thanks again.Will try again

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

                                          @luetzel Shall I download from your github?

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

                                            @Wolfman100

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

                                            @luetzel Shall I download from your github?

                                            Well thats up to you, at least it would simplify the procedure to a:

                                            git clone https://github.com/luetzel/bluez
                                            cd bluez
                                            ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-sixaxis
                                            make -j3
                                            sudo make install

                                            Note, that you probably have to do 'sudo apt-get install git' first.

                                            Wolfman100W 2 Replies Last reply Reply Quote 1
                                            • 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.