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

    Sony DualShock 3 - call for testers: "sixaxis" script module

    Scheduled Pinned Locked Moved Ideas and Development
    sixaxisdriverbeta
    208 Posts 24 Posters 34.6k 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.
    • mituM
      mitu Global Moderator @snock
      last edited by

      @snock Have you tried the step from the Docs to register/pair your controller ? In ES, you need to go to Input Configuration to configure the new controller, after you have paired it.

      S 1 Reply Last reply Reply Quote 0
      • S
        snock @mitu
        last edited by

        @mitu I connect it by bluetooth and then in ES when trying to configure it does not detect it ... it only does it by cable. to connect it I connect the cable about 10 sec, I disconnect and pulse PS.

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

          @snock said in Sony DualShock 3 - call for testers: "sixaxis" script module:

          @mitu I connect it by bluetooth and then in ES when trying to configure it does not detect it ... it only does it by cable. to connect it I connect the cable about 10 sec, I disconnect and pulse PS.

          Did you make sure to enable third-party support? This will upgrade BlueZ to 5.50.

          You can check some stuff by opening a bluetoothctl terminal:

          bluetoothctl
          

          While in the bluetooth terminal, check:

          • version (should report 5.50):
          [bluetooth]# version
          Version 5.50
          
          • info of DS3 controller. Example:
          [bluetooth]# devices
          Device E0:AE:5E:61:3E:C8 Sony PLAYSTATION(R)3 Controller
          [bluetooth]# info E0:AE:5E:XX:XX:XX
          Device E0:AE:5E:XX:XX:XX (public)
          	Name: Sony PLAYSTATION(R)3 Controller
          	Alias: Sony PLAYSTATION(R)3 Controller
          	Class: 0x00000508
          	Icon: input-gaming
          	Paired: no
          	Trusted: yes
          	Blocked: no
          	Connected: no
          	LegacyPairing: no
          	UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
          	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
          	Modalias: usb:v054Cp0268d0100
          

          If the controller profile exists and shows Trusted: yes, the controller should be capable of pairing, but you may need to remap the controller again (as the device name will be different to your USB connection).

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

            Excuse me for asking before checking on my own, but has the latest firmware update (from mid-February) update BlueZ?

            1 Reply Last reply Reply Quote 0
            • S
              snock @psyke83
              last edited by

              @psyke83 Thanks, it worked. Following these steps

              cd RetroPie-Setup
              git remote add psyke83 https://github.com/psyke83/RetroPie-Setup
              git fetch psyke83
              git checkout sixaxis
              
              P 1 Reply Last reply Reply Quote 0
              • P
                psyke83 Global Moderator @snock
                last edited by

                @snock said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                @psyke83 Thanks, it worked. Following these steps

                cd RetroPie-Setup
                git remote add psyke83 https://github.com/psyke83/RetroPie-Setup
                git fetch psyke83
                git checkout sixaxis
                

                No, my sixaxis branch has been merged to master and is no longer needed. Go back to the master branch:

                cd RetroPie-Setup
                git checkout master
                
                1 Reply Last reply Reply Quote 0
                • V
                  verawarez
                  last edited by

                  Can anybody give me a hand? i can't solve this problems, trying to install custombluez or customhidsony i'm newbie in this stuff

                  RetroPie-Setup version: 4.4.11 (0f5d8a1)
                  System: Linux RetrOrangePi 3.4.113-sun8i #4 SMP PREEMPT Sun Sep 2 02:32:16 CEST 2018 armv7l GNU/Linux

                  i have retrorange pi 4.2 full, i have an orange pi lite, 32gb, solved some problems about some libraries to make videos working on themes, but now i cant install custombluez or customhidsony

                  when i try to install custombluez
                  "Could not successfully build custombluez - Updated version of BlueZ Bluetooth stack

                  Install alongside 'sixaxis' driver if you need to pair third-party (Gasia/Shanwan) DualShock 3 controllers.
                  Needed only if your distribution's BlueZ version is <5.48. (/home/pi/RetroPie-Setup/tmp/build/custombluez/bluetooth_5.50-1~rpi1_all.deb not found).

                  Log ended at: Sun Apr 28 13:09:56 CEST 2019
                  Total running time: 0 hours, 0 mins, 51 secs"

                  Full log here https://pastebin.com/NukV2fV1

                  or when i try to install customhidsony this is the log of the error it gave me
                  https://pastebin.com/6CwT8HV9

                  Thnks a lot, i want to fix this, i've updated retrorange and then retropie setup, but i cant fix it, i think could be something about the repos and that stuff

                  Greettings..

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @verawarez
                    last edited by

                    @verawarez The required dependencies might not be available for your distro - debhelper is missing. What distribution are you using ?

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      verawarez @mitu
                      last edited by verawarez

                      @mitu said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                      The required dependencies might not be available for your distro - debhelper is missing. What distribution are you using ?

                      Thanks a lot for your answer

                      This info gave me lsb_release -a

                      No LSB modules are available.
                      Distribuitor ID: Debian
                      Description: Debian GNU/Linux 8.11 (jessie)
                      Release: 8.11
                      Codename: jessie

                      Sorry i'm really new in this stuff, i searched for the command to get what distribution i have, i knew it was jessie but not sure that if was complete info, so i've searched for the command

                      See you, anything else that should i give you to help me?

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

                        @mitu said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                        The required dependencies might not be available for your distro

                        tried to upgrade to strech using this guide... https://www.datenreise.de/en/raspberry-p...o-stretch/

                        im stuck in this step Step 6: Update to „Stretch“

                        Now we are ready to start the upgrade:

                        $ sudo apt-get upgrade
                        $ sudo apt-get dist-upgrade (this command failed with error now im on stretch but couldnt finish this command in this line) this error gave me...

                        "the following packages have unmet dependencies:
                        init-system-helpers : Breaks: sysvinit-utils ( 2.88dsf-59.3 ) but 2,88dsf-59 is to be installed
                        E: error, pkproblemresolver::resolve generated breaks this may be cause by held packages

                        if i need i could restore backup before updating to stretch, thanks again

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

                          @verawarez

                          We're not affiliated with the RetrOrangePi project (and I don't own any Orange Pi hardware to test), so you should seek support from them.

                          It appears that they use jessie as their base version; upgrading to stretch may cause issues beyond the dependency resolution errors you're seeing. I recommend that you don't attempt to manually upgrade to stretch, and avoid using sixaxis at least until a stretch-based image is provided by them (but, once again, this forum is not the appropriate place to get support for your image).

                          P.S. The link you posted is incorrect, but I suspect it's a guide to upgrade Raspbian jessie to stretch. Your distribution is (probably) plain Debian and not a fork such as Raspbian, so those instructions will only make things worse for you.

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            verawarez @psyke83
                            last edited by

                            @psyke83

                            Thanks a lot for your answer, it is a honor to receive answer of you, i've decided to leave it as it is now, i dont know too much about retropie, linux and that stuff, i've tried to manual install custombluez, sucessfully installed and had 5.50 but bluetooth was not working ok

                            The only thing left for the moment is support for gasia and shanwguan clone controllers, and would have some problems with repos, and the distribution i have, now some stuff is not working like trying to install custombluez, customhidsony, and some other things because jessie is losing support

                            When strech for my hardware is adapted and available gonna try it again, i have another raspberry 2, and a raspberry 3b, if i had some problems like this gonna try it again and ask you if i have a trouble

                            Im still learning about retropie, linux, emulationstation and that stuff

                            Thanks again for your patience and support

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

                              Hi, on a fresh 4.6 install i am only able to successfully pair an official ps3 controller, if i first disable third party support in the sixaxis options and reboot.
                              Is this intended behavior?
                              If this is verified by others, maybe the Docs should be updated.

                              Tested on:
                              rpi 3 model B (2 of em)
                              official power supply
                              Pre made SD Image on RetroPie website - retropie-buster-4.6-rpi2_rpi3.img
                              official ps3 controller

                              mituM 1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator @Headcrab
                                last edited by

                                @Headcrab said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                                Hi, on a fresh 4.6 install i am only able to successfully pair an official ps3 controller, if i first disable third party support in the sixaxis options and reboot.

                                I think the doc page makes it clear that you need to enable the option just for 3rd party controllers:

                                If you have a third-party controller, you must also navigate to [Configuration / Options] and select [Enable support for third-party controllers]; installation may take several minutes, so be patient.

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

                                  @mitu
                                  So if i understand it correctly, for official controllers, you don't need any extra steps.
                                  Just install sixaxis and pair.

                                  My experience is that you have to go through the extra step of disabling third party support and also rebooting.
                                  I did not mean that i first unnecessarily enabled third party support.

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @Headcrab
                                    last edited by mitu

                                    @Headcrab said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                                    I did not mean that i first unnecessarily enabled third party support.

                                    By default, support for 3rd party controller is not installed - when you choose Enable 3rd party controller support, an additional package is installed. When you choose Disable .. that additional package is uninstalled. So it's not like an option for the driver.

                                    Can you check by re-installing the sixaxis driver ? This will not remove your existing gamepad configurations.

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

                                      @mitu
                                      While using the ps3 controller over bluetooth, i removed the sixaxis package and rebooted.
                                      The controller remained functional even after the reboot. (i'm confused by this)

                                      Then i reinstalled sixaxis from source, and the controller remains functional like before. The controller was already paired.
                                      To be clear, during all this process i used the ps3 controller over bt.

                                      Maybe i need to check on a fresh install, if the "thrid party support" additional package is installed by default?
                                      What should i be looking for?

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @Headcrab
                                        last edited by mitu

                                        @Headcrab said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                                        Maybe i need to check on a fresh install, if the "thrid party support" additional package is installed by default?
                                        What should i be looking for?

                                        Normally, 3rd party controller installs also the customhidsony driver package. So you can see in the list of packages from the drivers section if something new gets installed after installing sixaxis. Of course, the normal test to see if after the installation that the controller works without issues and you don't need to use the 'Disable 3rd party controller support', would be ideal.

                                        Thanks for testing.

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

                                          I've done some more testing (i probably erased and burned the SD card about 10 times today)
                                          So i will do a recap.

                                          The problem
                                          When trying to pair an official ps3 controller for the first time, it is not being discovered.
                                          I get the message "No devices were found. Ensure device is on and try again"

                                          The steps

                                          • Burn the "retropie-buster-4.6-rpi2_rpi3.img" image on the sd card
                                          • boot into emulationstation
                                          • connect ps3 controller over usb and configure controls, so i can navigate
                                          • go to driver packages and install sixaxis
                                          • reboot
                                          • with the controller connected over usb navigate to Bluetooth > "Register and Connect to Bluetooth Device"
                                          • follow the instructions to unplug and re-plug the cable (and leave it connected)
                                          • it fails to discover the controller

                                          I confirmed that customhidsony is not installed after installing sixaxis.
                                          It does not show up in the driver menu. Also :

                                          ls -la /opt/retropie/supplementary/
                                          total 52
                                          drwxr-xr-x 13 root root 4096 May  1 12:51 .
                                          drwxr-xr-x  7 root root 4096 May  1 12:50 ..
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:15 bashwelcometweak
                                          drwxr-xr-x  4 root root 4096 Apr 28 01:08 emulationstation
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:09 mesa-drm
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:12 omxiv
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:08 retropiemenu
                                          drwxr-xr-x  3 root root 4096 Apr 28 01:09 runcommand
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:05 sdl2
                                          drwxr-xr-x  2 root root 4096 May  1 12:51 sixaxis
                                          drwxr-xr-x  3 root root 4096 May  1 12:50 splashscreen
                                          drwxr-xr-x  2 root root 4096 Apr 28 01:14 usbromservice
                                          drwxr-xr-x  4 root root 4096 Apr 28 01:17 xpad
                                          

                                          If i hit the "disable third party support" option, i've found through the log that the following packages are installed:

                                          The following NEW packages will be installed:
                                            libbluetooth-dev libbluetooth3
                                          

                                          After a reboot i am able to pair my controller, but even then it is not solving the discovery problem every time.
                                          For example i had to switch to my other rpi3 board to make the controller discoverable in one of my tries.

                                          1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator
                                            last edited by

                                            @Headcrab said in Sony DualShock 3 - call for testers: "sixaxis" script module:

                                            follow the instructions to unplug and re-plug the cable (and leave it connected)
                                            it fails to discover the controller

                                            You don't need to reboot after the installation of the driver. Did you press the 'PS/Share' button before dis-connecting ?

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