question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't find DS4 device(ps4 pro) with USB cable/--hidraw

See original GitHub issue
[pc trialism]# ds4drv --hidraw
[info][controller 1] Created devices /dev/input/js0 (joystick) /dev/input/event23 (evdev)
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices
[info][hidraw] Scanning for devices

I’m on a fresh manjaro linux. I tried with bluetooth too but I got this:

[error][daemon] 'hcitool' could not be found, make sure you have bluez-utils installed.

bluez-utils is installed.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
goremykincommented, Jul 5, 2020

I found solution. You need to edit /usr/local/lib/python2.7/dist-packages/ds4drv/backends/hidraw.py like here: https://github.com/chrippa/ds4drv/pull/105/files

1reaction
bss233commented, Sep 16, 2021

/usr/local/lib/python2.7/dist-packages/ds4drv/backends/hidraw.py

If you have python3.* installed, you may have installed ds4drv with pip3, so change the path slightly to /usr/local/lib/python3.*/dist-packages/ds4drv/backends/hidraw.py

where * is whatever version of Python 3 you’re on

Read more comments on GitHub >

github_iconTop Results From Across the Web

PC doesn't detect ps4 controller anymore, via USB
Now when I connect my controller via USB, my computer doesn't detect it at all. No jingle, nothing in device manager or devices...
Read more >
How to fix a PS4 controller that won't connect wirelessly
If your PS4 controller won't connect, try a different USB cable, in case the original one has failed. You can also reset the...
Read more >
How to use DUALSHOCK 4 wireless controllers with PC, Mac ...
Reconnect with PS4 console; Having issues? DUALSHOCK 4 wireless controller compatible devices ... If a USB is connected to the controller, disconnect it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found