You can sign up to get a daily email of our articles, see the Mailing List page.
The gamepad does not connect via ds4drv in hidraw mode
I have a gamepad - Artplays X4 In the system is visible (on the wire) as Sony Corp. DualShock 4 [CUH-ZCT2x].

With ds4drv it connects and works. But if you try to connect with --hidraw key, ds4drv is always looking for the gamepad and can not find it. hidraw mode is needed so that the gamepad is normally detected by Rpcs3 emulator, Steam and SC Controller.
damarrin 20 Jan
Apparently hidraw needs root, so maybe try with that?

Also, it’s not an actual DS4, so maybe it just doesn’t work like that.
whizse 20 Jan
Why would you need ds4drv in the first place? I have the DS4 and it works out of the box here.
QuoteApparently hidraw needs root, so maybe try with that?

No, it still won't connect.

Quoting: damarrinAlso, it's not an actual DS4, so maybe it just doesn't work like that.

Well it works over the wire through the Dwalshock's chtandard driver.

Quoting: whizseWhy would you need ds4drv in the first place? I have the DS4 and it works out of the box here.
Because it basically only connects if ds4drv is running. Otherwise it just blinks endlessly on the gamepad and that's it.
It connects fine in Windows and Android.
It's Linux that has the problem.
By the way:
I looked in the dmesg when I failed to connect the gamepad and it said:
``Bluetooth: Dropping L2CAP data: receive buffer overflow''.
whizse 25 Jan
Just to clarify, do you have a problem actually connecting and pairing the the controller, because the ds4drv README mentions this for hidraw mode:

"To use the DS4 via bluetooth in this mode you must pair it first. "

If you actually can pair it and ds4draw in hidraw mode fails to find or work with the controller it's probably doing something different from the DS4 and you have to ask the developers to add support for it.
whizse
No, without ds4drv running, the gamepad does not connect via Bluetooth at all.

At the same time, this behavior is only under Linux. In Windows, this gamepad connects to the same bluetooth dongle.

There are no problems with the connection to a smartphone on Android as well.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.