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

    Yet More PS3 Bluetooth Woes......

    Scheduled Pinned Locked Moved Help and Support
    31 Posts 4 Posters 8.8k 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
      last edited by

      After having spent the best part of nearly 2 months trying to get my Shanwan PS3 controller paierd with my Pi3 I managed to enjoy 1 whole week of retrogaming before my Shanwan controller broke....I think the USB port got damaged by a cheap lead.

      I then ordered another controller on ebay which looked to be just as equally counterfiet and looks just like a Shanwan .To my great surprise however the controller paired straight away with no effort at all,which after the horrendous experience with my last controller was pretty pleasing to say the least!

      I did a 'dmesg' to check what the Pi3 was registering the controller as and it turns out it see's it as a genuine PS3 controller and is not a Shanwan.

      Upon opening RetroPie it detects the gamepad no problem,however when I try to 'hold a button to configure input' it does not register the key press and so the configuration process doesn't open.....

      I have tried uninstalling/reinstalling the 'Pair PS3 controller' under the 'Manage Packages' menu

      ideas?Input?recommendations for the nearest cliff to jump off?

      Pi 3
      RetroPie 4.0 Beta 2

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

        The controller is paired and Emulation Station detects the Gamepad.

        I have done a test to see if the controls are being detected as I learnt from @Floob video.This was achieved by the following:

        osmc@Blackbox:~$ ls /dev/input
        by-id by-path event0 event1 event2 event3 js0 mice
        osmc@Blackbox:~$ jstest /dev/input/js0
        Driver version is 2.1.0.
        Joystick (PLAYSTATION(R)3 Controller) has 27 axes (X, Y, Z, Rz, (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null))
        and 19 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, (null), (null), (null)).
        Testing ... (interrupt to exit)

        As you can see the controller is recognised as a Playstation 3 controller and all it's buttons etc are seen.

        The catch however is that when I push any of the buttons on the controller they do not show up in the JsTest.This I'm assuming is why Emulation Station is not registering the button presses....

        Anyone got any idea what might be causing this issue?

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by BuZz

          you might need to add a udev rule for it

          create a file /etc/udev/rules.d/99-local.rules

          containing

          SUBSYSTEM=="input", ATTRS{name}=="YOUR DEVICE NAME", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
          

          the name should show up when doing

          for dev in $(find /dev/input -name "event*" | sort); do path=$(udevadm info --name=$dev | grep DEVPATH | cut -d= -f2); name=$(</$(dirname sys$path)/name); echo $name; ((i++)); done
          

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

            Thanks @BuZz .Will try that now :)

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

              @BuZz I've tried that.I get the following response:

              Apple, Inc Apple Keyboard
              Apple, Inc Apple Keyboard
              lircd
              PLAYSTATION(R)3 Controller

              Upon doing jstest again,I still get no response to the buttons being pushed though....

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by BuZz

                the second command just lists all your input devices to get the right name. You need to take PLAYSTATION(R)3 Controller and put it where it says YOUR DEVICE NAME in the udev file. Did you do that, and reboot ?

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                  @BuZz I just created a Udev rule from inside the RetroPie>configure bluetooth options and assigned it to the Playstation 3 Controller...

                  Lets see what happens

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

                    @BuZz No joy.Holding the button on controller but nothing happens.It says '1 Gamepad detected' and the controller is solidly paired.Puzzled

                    mediamogulM 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by

                      It might just be incompatible.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      Wolfman100W 1 Reply Last reply Reply Quote 0
                      • mediamogulM
                        mediamogul Global Moderator @Wolfman100
                        last edited by

                        @Wolfman100

                        Do you get any feedback using evtest?

                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                          @BuZz Could that really be the case??

                          This is craaaaazy.

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

                            @mediamogul what is evtest?

                            1 Reply Last reply Reply Quote 0
                            • mediamogulM
                              mediamogul Global Moderator
                              last edited by mediamogul

                              Your controller should register as an event at /dev/input/event*. From the command line, run evtest /dev/input/event*on each numbered event until you find the one belonging to your controller. You'll know it's the correct event when you receive input feedback when pressing one of the controller's buttons. If none of them register feedback, then I'd say it's a lost cause. If one does, you can map that feedback to a virtual controller device that should allow everything to function properly. I'll elaborate on that process further if you can find a functioning event*.

                              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                                @mediamogul said in Yet More PS3 Bluetooth Woes......:

                                evetest /dev/input/event*

                                Under '/dev/input' I get the following:

                                'by-id by-path event0 event1 event2 event4 js0 mice'

                                js0 is the Playstation3 controller

                                I have done 'jstest /dev/input/js0', which gives me the following:

                                Driver version is 2.1.0.
                                Joystick (PLAYSTATION(R)3 Controller) has 27 axes (X, Y, Z, Rz, (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null))
                                and 19 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, (null), (null), (null)).
                                Testing ... (interrupt to exit)

                                followed by all the controls,axis,buttons etc etc

                                I am no sure what you mean by doing evetest /dev/input/event.If I enter 'evetest /dev/input/event1' for example,it says no command found.

                                mediamogulM 1 Reply Last reply Reply Quote 0
                                • mediamogulM
                                  mediamogul Global Moderator @Wolfman100
                                  last edited by

                                  @Wolfman100 said in Yet More PS3 Bluetooth Woes......:

                                  I enter 'evetest /dev/input/event1' for example,it says no command found.

                                  I meant to type evtest, sorry. Hectic day so far. I corrected it above as well.

                                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                                    @mediamogul No probs...but it must be even more hectic than you think yourself,because command still not found!

                                    mediamogulM 1 Reply Last reply Reply Quote 0
                                    • mediamogulM
                                      mediamogul Global Moderator @Wolfman100
                                      last edited by

                                      @Wolfman100

                                      I would try it again to be sure. evtest is part of a larger package of device testing components included by default in RetroPie.

                                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

                                        @mediamogul My RteroPie is installed under OSMC,maybe that's got something to do with it?

                                        1 Reply Last reply Reply Quote 0
                                        • BuZzB
                                          BuZz administrators
                                          last edited by

                                          using RetroSMC ? Or manually ? Did you exit Kodi ? RetroSMC have their own support thread on the OSMC forum. You should mention details like this when posting as mentioned on https://retropie.org.uk/forum/topic/3/read-this-first

                                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                                            @BuZz Yes,apolagies.....it is RetrOSMC.

                                            I am connected via SSH and after everychange I am rebooting RetroPi

                                            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.