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

    DS4DRV Issues

    Scheduled Pinned Locked Moved Help and Support
    ds4drv
    7 Posts 3 Posters 2.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.
    • A
      ALNiKO
      last edited by

      Hi everyone!

      I would appreciate if someone could shed some light on my issue. I was able to install and configure RetroPie 4.2 on my RPi 3B but got stuck with connecting my DS4 controller. I followed the guide but in order for me to use it I have to do the following:

      1. I type "ds4drv --led 000001", it says scanning for devices (If I don't press CTRL+C, it would stay like that forever)
      2. I press CTRL+C, it throws a bunch of errors and then... right below all those errors it says that controller is connected (it doesn't say that on my screenshot though)
      3. I type "emulationstation", my DS4 works fine in menu and in games

      However, if I don't perform those 3 steps, it doesn't work after the reboot. I made sure that the statement from rc.local works. Also, I removed and reinstalled DS4DRV and still having the same issue. I tried it with 3 different dualshocks - same effect.

      Thank you in advance!

      0_1490367477306_image.png

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

        please post your /etc/rc.local

        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
        • A
          ALNiKO
          last edited by

          pi@retropie:~ $ cat /etc/rc.local
          #!/bin/sh -e

          #rc.local

          #This script is executed at the end of each multiuser runlevel.
          #Make sure that the script will "exit 0" on success or any other
          #value on error.

          #In order to enable or disable this script just change the execution
          #bits.

          #By default this script does nothing.
          /usr/local/bin/ds4drv --led 000001 &
          exit 0
          pi@retropie:~ $

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

            @ALNiKO Please use markdown when posting configs btw(use a code block) - see https://retropie.org.uk/forum/topic/3/read-this-first

            config looks fine though - so not sure what the problem is - do you have any other device drivers installed ? eg make sure ps3 controller driver is not installed.

            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
            • A
              ALNiKO
              last edited by

              I have drivers for Wi-Fi AC adapter installed. However, I installed them after I came across the issues with PS4 controller. I'm not sure if it's even related, but I initially connected DS4 using the cable and configured the buttons. I'm going to redo the SD card with the fresh 4.2 install and follow the instructions for DS4 again.

              1 Reply Last reply Reply Quote 0
              • A
                ALNiKO
                last edited by

                I'm not sure what went wrong with my very first install, but re-installation of RetroPie did the trick. Based on my very limited experience with RetroPi and DS4 I would recommend all newbies like me to make sure their controllers work correctly before moving on with installing emulators, ports and adding roms.

                I have another question regarding DS4DRV. Is it possible to add a second DS4 controller? When I boot the system and then hold Share+PS button on my first controller, it takes several seconds for it to start working. When I do the same on my second controller, it takes much longer (I'd say at least 30-40 seconds) before it connects, well, at least the light is steady, but I can't do anything with it.
                I tried to follow the recommendation from developer's website and added this line: "ds4drv --led ff0000 --next-controller --led 00ff00" to my rc.local, but nothing changed.

                pjftP 1 Reply Last reply Reply Quote 0
                • pjftP
                  pjft @ALNiKO
                  last edited by

                  @ALNiKO I suspect you may have to configure it in EmulationStation as well, but I'm not sure. Using your working controller launch the controller configuration in EmulationStation and see if it's recognized there.

                  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.