Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect ps4 controller with ds4drv #185

Open
poopman97 opened this issue May 25, 2021 · 2 comments
Open

Can't connect ps4 controller with ds4drv #185

poopman97 opened this issue May 25, 2021 · 2 comments

Comments

@poopman97
Copy link

I type in ds4drv then:
[error] [controller1] Failed to create "/dev/uinput" cannot be opened for writing
[info] [bluetooth] Scanning for devices
[info] [bluetooth] Found device 98:B6:E9:4F:70:17

Then the program crashes
Ibhave linux mint 20.1 kernel version is 5.8

@albfan
Copy link

albfan commented Dec 16, 2021

I think you forget to install udev rules

@Jopp-gh
Copy link

Jopp-gh commented May 27, 2024

I have a similar issue, here my terminal output (usb-wired ps4 gamepad) :

ds4drv --hidraw
[info][controller 1] Created devices /dev/input/js0 (joystick) /dev/input/event19 (evdev) 
[info][hidraw] Scanning for devices

in my case, ds4drv scans but never finds my device. Strange, because the first line suggests something else, event19 is correct.

What I did:

  1. installed python-setuptools
  2. sudo pip install ds4drv
  3. copyed the udev rules file to /etc/udev/rules.d/.
  4. applied sudo udevadm control --reload-rules then sudo udevadm trigger
  5. put the ds4drv.conf to ~/.config/ds4drv.conf
  6. launched ds4drv --hidraw or ds4drv. ds4drv scans but never finds.

Maybe I take another look at the ds4drv.conf file, but it should be fine.
Some more suggestions?

@jpringle1
Copy link

I am also having this issue.

  • I have copied over the udev file
  • I have coped over the config file
  • I have connected my pad to bluetooth
  • Then i run ds4drv --hidraw
  • Then i get the following output:
[info][controller 1] Created devices /dev/input/js0 (joystick) /dev/input/event30 (evdev)
[info][hidraw] Scanning for devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants