Sony DualSense Controller Audio Jack Handling Ready For Linux 6.18
([Linux Gaming] 6 Hours Ago
DualSense Audio Jack Handling)
- Reference: 0001580039
- News link: https://www.phoronix.com/news/Sony-DualSense-Audio-Handling
- Source link:
In addition to the patches providing [1]haptic touchpad support for Linux 6.18 , another notable HID addition queued into the "hid-next" tree ahead of the imminent Linux 6.18 merge window is proper audio jack handling with the Sony PlayStation DualSense controller.
The past few months there has been work by Cristian Ciocalte of Collabora for [2]proper audio jack handling on the DualSense controller . Ciocalte explained with the prior [3]patch series :
"The Sony DualSense wireless controller (PS5) provides an internal mono speaker, in addition to the 3.5mm jack socket for headphone output and headset microphone input. However, the default audio output path is set to headphones, regardless of whether they are actually inserted or not.
This patch series aims to improve the audio support by implementing the following changes:
* Detect when the plugged state of the audio jack changes and toggle audio output between headphones and internal speaker, as required. The latter is achieved by essentially routing the right channel of the audio source to the mono speaker.
* Adjust the speaker volume since its default level is too low and, therefore, cannot generate any audible sound.
* Register a dedicated input device for the audio jack and use it to report all headphone and headset mic insert events."
This handling is being tacked onto the PlayStation HID driver as a useful improvement for Linux gamers using the Sony DualSense controller.
The patches were carried by [4]hid.git's for-6.18/playstation branch and since merged to HID's for-next branch ahead of the Linux 6.18 merge window.
[1] https://www.phoronix.com/news/Haptic-Touchpad-Linux-6.18
[2] https://www.phoronix.com/news/Sony-PS5-DualSense-Audio-Jack
[3] https://lore.kernel.org/lkml/20250526-dualsense-hid-jack-v1-0-a65fee4a60cc@collabora.com/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/log/?h=for-6.18/playstation
The past few months there has been work by Cristian Ciocalte of Collabora for [2]proper audio jack handling on the DualSense controller . Ciocalte explained with the prior [3]patch series :
"The Sony DualSense wireless controller (PS5) provides an internal mono speaker, in addition to the 3.5mm jack socket for headphone output and headset microphone input. However, the default audio output path is set to headphones, regardless of whether they are actually inserted or not.
This patch series aims to improve the audio support by implementing the following changes:
* Detect when the plugged state of the audio jack changes and toggle audio output between headphones and internal speaker, as required. The latter is achieved by essentially routing the right channel of the audio source to the mono speaker.
* Adjust the speaker volume since its default level is too low and, therefore, cannot generate any audible sound.
* Register a dedicated input device for the audio jack and use it to report all headphone and headset mic insert events."
This handling is being tacked onto the PlayStation HID driver as a useful improvement for Linux gamers using the Sony DualSense controller.
The patches were carried by [4]hid.git's for-6.18/playstation branch and since merged to HID's for-next branch ahead of the Linux 6.18 merge window.
[1] https://www.phoronix.com/news/Haptic-Touchpad-Linux-6.18
[2] https://www.phoronix.com/news/Sony-PS5-DualSense-Audio-Jack
[3] https://lore.kernel.org/lkml/20250526-dualsense-hid-jack-v1-0-a65fee4a60cc@collabora.com/
[4] https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/log/?h=for-6.18/playstation
pWe00Iri3e7Z9lHOX2Qx