Not new to Linux but just build a PC (Linux mint) so new to Linux gaming. How do I get a similar function to my PS5 so plugging headphones into the controller switches the audio? I play a lot at night and not trying to wake the fam. I have a Xbox one and PS4 controller for the PC.
If the controller is recognized as a USB/Bluetooth audio device, you can probably see it and select it as default output device in the “Output Devices” tab of
pavumixer
(or whatever other sound device control program/Pulseaudio mixer you might choose to use with your particular environment).Thank you. I’ll have a look at that when I get home
IIRC this works when the controller is plugged into the computer over USB. Bluetooth does not allow this.
this is the correct answer. over bluetooth audio does not work.
I didn’t know that. I was thinking it would work wireless like when I connect headphones the PS5 controller.
I have a ps4 controller and just plugging my headphones into the controller seems to route audio to it fine on pop!_os… I’d assume mint would be similar since they’re both based on ubuntu, but I’ve not tried
I thought about using pop! How do you like it? My home and work laptops run arch but I wanted something more stable for this.
I’ve been quite enjoying it :3… I tried out a few distros when I first started linux, but with tiling and the pop launcher pop!_os fit my workflow the best out of the box, plus I’ve only had like 1 major issue with it, so… it’s been pretty stable too ^^ (more stable than windows for me haha)
Definitely excited for their upcoming release too, since it’ll be coming with COSMIC :3
There is official kernel support for the controllers as of 5.12, but I don’t know about the audio. Maybe have a look at this: https://github.com/nowrep/dualsensectl
if its anything like the ds4 even if you get it to work, it will only work when you dont want it to, lag a full second behind the game, and sound like a speaker pulled from an early 90s childrens toy.
Unless the game actually works for it, you can’t.
Most games require the DualSense to be physically plugged in to use the triggers, gyro, touchpad, speaker and mic. And even among those, many do not utilize the speaker or the mic at all.
This also means you won’t get audio passed through when plugging a headset into the controller. Though, I don’t know if that functions in any game for PC (I’ve never thought to try that personally) regardless.
Not sure how true this is only because I think it can vary wildly.
I have more problems telling Linux to not play audio through my dualsense controller. It’ll just default to using it for the most random things, like my music player or gamecube emulator or whatever. I don’t plug headphones into it, I have a DAC, so not sure if it’s playing there and just needs a headset plugged in it or what. But I think that’s OP’s goal.
Kinda wild all things considered since my controller is plugged in via USB cable
I have more problems telling Linux to not play audio through my dualsense controller
Open
pavucontrol
, go to the “Configuration” tab, and for that device profile, choose “Off”.You could also just select something else as default device in the “Output Devices” tab, but disabling the device will keep it entirely off the list of options, if you don’t want it used.
I tend to do that with the HDMI outputs on my video cards as these days video cards can stream audio to televisions via HDMI and the like, and I never want to actually use my monitor as an audio output device; I have dedicated, discrete speakers.
Just did that! Thank you!
Most games require the DualSense to be physically plugged in to use the triggers, gyro, touchpad,
Most games? Not in my experience. Perhaps that’s because I mostly play on Steam (which has Steam Input to map those things as I like) and console emulators.
And you won’t be using the adaptive triggers, the speaker in the controller, the mic in the controller, etc using Steam Input to emulate an Xbox controller. You can map the inputs; it doesn’t give you 100% full functionality.
Indeed, but I didn’t comment on audio, and you didn’t specify the other bits in your original comment. Triggers (without Sony’s proprietary variable resistance), gyro, and touchpad all work fine over bluetooth.
Fair; I know I didn’t put adaptive in there, but that is what I meant when I said the triggers don’t work. And how do you get the touchpad to work? I can get the buttons on it to work, but I haven’t gotten the mouse-like touch input to actually work, despite being able to map it. I’d love to be able to control the desktop with it instead of the sticks.
I know I didn’t put adaptive in there, but that is what I meant when I said the triggers don’t work.
Yes, I understood, but I wanted to clarify for the sake of other readers who wouldn’t. Most people who don’t have a DualSense don’t know about its adaptive triggers, since they’re not a common feature on game controllers and not used by most games.
And how do you get the touchpad to work? I can get the buttons on it to work, but I haven’t gotten the mouse-like touch input to actually work, despite being able to map it.
On the desktop, I didn’t have to do a thing. It was automatically recognized when I connected the device, and I could move the mouse pointer and click right away. (I ended up disabling it in Xfce, because it sometimes got in my way.)
In Steam, I usually remap areas of it to produce keyboard events (useful in Elite Dangerous), but I think it can also be mapped as a mouse. I haven’t fiddled with Steam Input’s many options in a while.
Well shit… Now I wonder if my controller itself is the problem… I don’t have any PS5 games I know of that use that feature to verify. :/