Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
We do often include affiliate links to earn us some pennies. See more here.

Sony to officially support the PS5 DualSense on Linux with a new driver

By - | Views: 39,784

Roderick Colenbrander of Sony Interactive Entertainment has sent in a brand new and official Linux driver for the PS5 DualSense for even better out of the box support.

With the newly proposed driver, it enabled the DualSense to function in both Bluetooth and USB modes along with most other features working including LEDs, Touchpad, Motion Sensors and Rumble. However, they make it clear that the Adaptive Triggers and VCM-based Haptics are not yet supported but they hope to "have a dialog on how to expose these over time in a generic way".

Here's how the describe it will work:

DualSense supported is implemented in a new 'hid-playstation' driver, which will be used for peripherals by 'Sony Interactive Entertainment' (PlayStation). Hid-sony will be used for devices for the larger Sony Group. We intend to migrate existing devices over time gradually to hid-playstation. We do not want to cause any regressions and maintain quality. As such moving forward, unit tests are important and we started by providing these through 'hid-tools' including DualSense.

The Linux driver exposes DualSense functionality as a 'compositive device' similar to DualShock 4 in hid-sony, spanning multiple frameworks. First, it exposes 3 evdev nodes for respectively the 'gamepad', 'touchpad' and 'motion sensors'. The FF framework is used to provide basic rumble features. The leds-class is used to implement the Player indicator LEDs below the DualSense's touchpad, while the new 'leds-class-multicolor' is used for the lightbars next to the touchpad.

This will be really nice to make it into the Linux Kernel, as the more we have working out of the box the better. While Steam and SDL2 can already work with it, not everything goes through them of course and it would open up the DualSense to all sorts of other possibilities.

I'll eventually be grabbing myself a DualSense, so I'm keen to see how it feels.

Hat tip to MrPenguin.

Article taken from GamingOnLinux.com.
30 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
27 comments
Page: «3/3
  Go to:

tuubi Feb 6, 2021
View PC info
  • Supporter
Quoting: slaapliedjeAnd apparently someone ported SailfishOS to it. Too bad I haven't had the time to set it up...
It's an official port. Jolla made a deal with Sony to support Sailfish X on the Xperia 10, 10 Plus, X and XA2. Meaning you'll need a proper paid license from Jolla to get the full Sailfish X package with Android emulation and all. You can read more here.

Too bad you can't even buy these phones anymore, and no support has materialized for the newer models. I fear the day when my current phone inevitably breaks down. I think I'd rather just go back to a dumb feature phone than use Android. I dislike it just as much as I dislike Windows, with the added bonus that I'm not a big fan of smartphones in general.
flesk Feb 6, 2021
View PC info
  • Contributing Editor
My previous phone was an Xperia X, which I bought specifically to buy and install Sailfish X on it. When it was finally released though, you needed Windows to install Sailfish X on it, which angered a lot of people, since many of the people interested in a Linux OS on their phones were (surprise, surprise) Linux users. When an official Linux installer finally materialized, the battery on my phone had become so terrible that I needed a new phone, and none of the phones which were officially supported looked like good options for me at the time, so I ended up with a Huawei phone instead. I would have liked to try Sailfish X, but with the limited number of supported devices, it's difficult to hit that sweet spot in time where you're both in need of a new phone and can find one that both isn't too ancient and is supported by Jolla.
Purple Library Guy Feb 6, 2021
Quoting: tuubi
Quoting: slaapliedjeAnd apparently someone ported SailfishOS to it. Too bad I haven't had the time to set it up...
It's an official port. Jolla made a deal with Sony to support Sailfish X on the Xperia 10, 10 Plus, X and XA2. Meaning you'll need a proper paid license from Jolla to get the full Sailfish X package with Android emulation and all. You can read more here.

Too bad you can't even buy these phones anymore, and no support has materialized for the newer models. I fear the day when my current phone inevitably breaks down. I think I'd rather just go back to a dumb feature phone than use Android. I dislike it just as much as I dislike Windows, with the added bonus that I'm not a big fan of smartphones in general.
Occasionally I think I'm missing out by not owning a cell phone . . . but when I think of all this sort of issue, plus the ability to be actually alone with nobody bugging me when I'm alone, plus over the last 10 years I've probably saved at least $5000 (Cdn) not having one, which is most of a European vacation for me and my wife, well.
It's definitely good that my wife has one, but just one between the two of us seems to work fine. We're rarely both outside the house and also not together anyway.
slaapliedje Feb 7, 2021
Quoting: tuubi
Quoting: slaapliedjeAnd apparently someone ported SailfishOS to it. Too bad I haven't had the time to set it up...
It's an official port. Jolla made a deal with Sony to support Sailfish X on the Xperia 10, 10 Plus, X and XA2. Meaning you'll need a proper paid license from Jolla to get the full Sailfish X package with Android emulation and all. You can read more here.

Too bad you can't even buy these phones anymore, and no support has materialized for the newer models. I fear the day when my current phone inevitably breaks down. I think I'd rather just go back to a dumb feature phone than use Android. I dislike it just as much as I dislike Windows, with the added bonus that I'm not a big fan of smartphones in general.
Not to my EXACT phone, which is the Sony Xperia XZ2. So not quite an official port, sadly.

There are a lot of requests for them to do so though. https://forum.xda-developers.com/t/gnu-linux-3-4-0-24-sailfish-os-for-xperia-tama-devices.4008681/
tuubi Feb 7, 2021
View PC info
  • Supporter
Quoting: Purple Library GuyOccasionally I think I'm missing out by not owning a cell phone . . . but when I think of all this sort of issue, plus the ability to be actually alone with nobody bugging me when I'm alone, plus over the last 10 years I've probably saved at least $5000 (Cdn) not having one, which is most of a European vacation for me and my wife, well.
It's definitely good that my wife has one, but just one between the two of us seems to work fine. We're rarely both outside the house and also not together anyway.
A cell phone has been relatively cheap to own and operate here in Finland since the late nineties. We used to be ahead of the rest of the world in these things for a long while. These days not so much.

But yeah, I was the last among my friends to get a cell phone (good old Nokia 5110), and definitely the last to start using a smartphone just a few years back. And that was only because I was given an original Jolla—from a batch sent out to developers at launch, exclusive back cover and all—as a hand-me-down a few years ago. Then I got a used iPhone later (from work) which I hated, and now I'm using the first smartphone I actually had to buy myself. Don't really need one for much, as I'm never far from a computer. But it serves fine as a modem and an ebook reader I guess. :D
Purple Library Guy Feb 7, 2021
Quoting: tuubi
Quoting: Purple Library GuyOccasionally I think I'm missing out by not owning a cell phone . . . but when I think of all this sort of issue, plus the ability to be actually alone with nobody bugging me when I'm alone, plus over the last 10 years I've probably saved at least $5000 (Cdn) not having one, which is most of a European vacation for me and my wife, well.
It's definitely good that my wife has one, but just one between the two of us seems to work fine. We're rarely both outside the house and also not together anyway.
A cell phone has been relatively cheap to own and operate here in Finland since the late nineties. We used to be ahead of the rest of the world in these things for a long while. These days not so much.

But yeah, I was the last among my friends to get a cell phone (good old Nokia 5110), and definitely the last to start using a smartphone just a few years back. And that was only because I was given an original Jolla—from a batch sent out to developers at launch, exclusive back cover and all—as a hand-me-down a few years ago. Then I got a used iPhone later (from work) which I hated, and now I'm using the first smartphone I actually had to buy myself. Don't really need one for much, as I'm never far from a computer. But it serves fine as a modem and an ebook reader I guess. :D
If I lived in Finland I might have one. Canada is notorious for pricey phone and internet. Goddamn price-fixing oligopolies.


Last edited by Purple Library Guy on 7 February 2021 at 6:25 pm UTC
slaapliedje Feb 8, 2021
Quoting: tuubi
Quoting: Purple Library GuyOccasionally I think I'm missing out by not owning a cell phone . . . but when I think of all this sort of issue, plus the ability to be actually alone with nobody bugging me when I'm alone, plus over the last 10 years I've probably saved at least $5000 (Cdn) not having one, which is most of a European vacation for me and my wife, well.
It's definitely good that my wife has one, but just one between the two of us seems to work fine. We're rarely both outside the house and also not together anyway.
A cell phone has been relatively cheap to own and operate here in Finland since the late nineties. We used to be ahead of the rest of the world in these things for a long while. These days not so much.

But yeah, I was the last among my friends to get a cell phone (good old Nokia 5110), and definitely the last to start using a smartphone just a few years back. And that was only because I was given an original Jolla—from a batch sent out to developers at launch, exclusive back cover and all—as a hand-me-down a few years ago. Then I got a used iPhone later (from work) which I hated, and now I'm using the first smartphone I actually had to buy myself. Don't really need one for much, as I'm never far from a computer. But it serves fine as a modem and an ebook reader I guess. :D
I really really wanted a Jolla phone. But the bands aren't supported here.
I went from a Motorola Cliq, to the N900 to the N9... and then had to go back to Android, still hate it. Lived the N9, so much easier to use.
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! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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!
The comments on this article are closed.