Sony has released a new PS5 “hid-playstation” Linux driver to include support for DualSense controllers, as well as other PlayStation hardware.
Linux users can now use the DualSense controller in USB and Bluetooth modes. The driver supports the controller’s LEDs, motion sensors, touchpad, battery, lightbar, and rumble. Unfortunately it doesn’t include support for the Adaptive Triggers and Haptic features. The data for these functions is too large and complex. Linux users are hoping that these functions could be implemented in the future, even if it is only in a basic way.
The PS5 Linux driver initially has 1,400 lines of code. Amongst this, the kernel aims to move some of the existing support for Sony hardware to the new driver. There will be unit test coverage as older hardware is moved across. The driver is currently being reviewed so isn’t available for general download. Those who want to try it out, though, can try out any of the 13 patches that currently exist.
“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“
The Linux support joins official Steam support, although this also has limited functionality. Advanced functions like rumble, trackpad, and gyro are not yet supported.
Nice to see Sony working for expand the compatibility of their controller. Likewise, it’s ironic to know that the DualSense is not compatible with the PlayStation 4, while with Android, iOS, PS3, the aforementioned PC and even Nintendo Switch (with a simple adapter) yes.