this post was submitted on 20 Jun 2024
140 points (99.3% liked)

Games

32953 readers
604 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 6 months ago* (last edited 6 months ago) (3 children)

DualShock 4 and DualSense controllers have official drivers built-in to the linux kernel, including support for the touchpad and motion controls. You probably don't need something like DS4Windows.

[email protected]

[–] [email protected] 3 points 6 months ago (1 children)

And if you do run into any problems, the Steam overlay should solve any compatibility problems, if you're OK with launching your games through Steam. I end up doing that with all of my games (including the ones I didn't buy on Steam) since I think its controller mapping UI is the best.

[–] [email protected] 1 points 6 months ago

Just to clarify: Steam Input is the component you're describing.

[–] Katana314 1 points 6 months ago (1 children)

So instead of DS4Windows4Linux, just DS4Linux. Makes sense.

[–] [email protected] 1 points 6 months ago

ds4linux exists, but is unnecessary in most common cases.

[–] [email protected] 1 points 6 months ago (1 children)

Weirdly enough, I could never get my DS4/PS4 controller working on Linux, at least through Bluetooth. The device never shows up in the device list. My Xbox Series X and Xbox One X controllers work perfectly with Bluetooth thanks to xpadneo, and I can use my DS4/PS4 controller wired with or without ds4drv, but I just can't get it to work wirelessly.

[–] [email protected] 1 points 6 months ago (1 children)

That is strange. It works great for me. All I had to do was pair it.

I have read that some computers have bluetooth modules that don't play well with it, though. Maybe you have one of those, or an old kernel?

[–] [email protected] 1 points 6 months ago (1 children)

I'm on Ubuntu 22.04, kernel 6.5.0-41-generic so it shouldn't be that. Maybe my Bluetooth adapter isn't that great but it's a TP-Link UB400 so it's not exactly a low quality Bluetooth adapter either.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

I think that kernel version should handle it, as long as the hid-sony or hid-playstation module is being loaded. (Some 6.7 and early 6.8 kernels had a relevant bug, though.)

It's hard to say regarding the bluetooth adapter. The branding and price don't matter; my cheap old no-name dongle worked great. It's really about whether the parts used inside happen to play well with the other device.

Another thought: Is it possible you have the old version of the DS4, rather than the DS4 v2? If I remember correctly, the light bar is visible through the touchpad only on the v2.

[–] [email protected] 1 points 6 months ago (1 children)

I actually have two PS4 controllers, one older one and one with the light bar. Both of them are unable to connect via Bluetooth.

I don't have hid_sony or hid_playstation loaded, I tried manually loading them and I think that works but: https://i.imgur.com/VHbtW5l.png even though they show as loaded, I still experience the same problem: https://i.imgur.com/Z42WtKr.png I only have a bunch of unnamed devices when searching for new devices to connect to/pair with, and I can't pair with any of them. My headphones and Xbox Series X controller work perfectly.

[–] [email protected] 1 points 6 months ago (1 children)

Do you know why both hid_sony and hid_playstation are loaded? Only one is needed. The latter replaces the former, IIRC.

It loads automatically on my system once I power up the (already paired) DS4. You did pair yours with your computer, right?

I also wonder if any of the device names in your bluetooth list would be more friendly if you installed the steam-devices package.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

They are both loaded because I tried manually loading just one, and then it didn't help, so then I tried the other.

I can't pair mine with my computer, it doesn't even show up in the device list. The modules do not show up unless I manually load them.

I already have steam-devices installed.

I really don't feel like I am doing anything wrong, but maybe I am.

Keep in mind it works just fine wired, so yeah maybe the Bluetooth adapter I have is just not compatible with the PS4 controller.