DS4DRV Issues
-
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:
- I type "ds4drv --led 000001", it says scanning for devices (If I don't press CTRL+C, it would stay like that forever)
- 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)
- 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!
-
please post your
/etc/rc.local
-
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:~ $ -
@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.
-
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.
-
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. -
@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.
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.