New Linux Patches Properly Handle The Audio Jack On Sony’s PS5 DualSense Controller

New Linux Patches Properly Handle The Audio Jack On Sony’s PS5 DualSense Controller

While there was the Sony PlayStation 5 DualSense controller assist for Linux going again a number of years and has been improved upon with newer variations of the Linux kernel, there’s been some shortcomings across the audio jack dealing with with the DualSense controller. A brand new patch collection out right now goals to boost that functionality.

Sent to the Linux kernel mailing checklist right now had been a set of 11 patches by Cristian Ciocaltea with Collabora for enhancing the audio jack dealing with on the Sony PS5 DualSense controller.

PS5 DualSense controller

Ciocaltea explains the present state of affairs and enhancements with the patch collection:

"The Sony DualSense wi-fi controller (PS5) offers an inner mono speaker, along with the three.5mm jack socket for headphone output and headset microphone enter. However, the default audio output path is about to headphones, no matter whether or not they’re truly inserted or not.

This patch collection goals to enhance the audio assist by implementing the next modifications:

* Detect when the plugged state of the audio jack modifications and toggle audio output between headphones and inner speaker, as required. The latter is achieved by primarily routing the appropriate channel of the audio supply to the mono speaker.

* Adjust the speaker quantity since its default stage is just too low and, subsequently, can not generate any audible sound.

* Register a devoted enter system for the audio jack and use it to report all headphone and headset mic insert occasions.

It’s value noting the latter is important because the controller complies with v1.0 of the USB Audio Class spec (UAC1) and, subsequently, can not promote any jack detection functionality. However, this characteristic will be carried out within the generic USB audio driver by way of quirks, i.e. by configuring an enter handler to obtain hotplug occasions from the HID driver."

This patch collection offers these DualSense controller audio jack enhancements for the "ps" HID Linux driver.

HI-FI News

by way of Phoronix https://ift.tt/QWNa2dT

May 26, 2025 at 06:24PM