alsa-project/alsa-ucm-conf pull request #634 was opened from cristicc:
The Sony DualSense wireless controller (PS5) has an internal mono speaker and a microphone, in addition to a 3.5mm jack socket for headphone output and headset microphone input.
Because this is a UAC1 device, it doesn't advertise any jack detection capability. However, since kernel v6.18-rc1 (see [1]), the controller is able to report HP & MIC insert events via HID, i.e. through a dedicated input device managed by the hid-playstation driver. This is further used by a quirk in the generic USB audio driver (added in v6.17, see [2]), which creates the Headphone Jack & Headset Mic Jack controls and receives hotplug events from the HID driver via input handlers.
Moreover, the device provides haptic feedback functionality, which is controlled by a pair of dedicated channels in a quadraphonic audio stream.
Ensure proper support for audio switching between headphones/headset and internal speaker/microphone by adding a UCM to split the 4.0 PCM stream into 4 mono channels or a pair of stereo (FL+FR) channels, depending on the active output device/profile.
[1] https://lore.kernel.org/all/20250625-dualsense-hid-jack-v2-0-596c0db14128@co... [2] https://lore.kernel.org/all/20250526-dualsense-alsa-jack-v1-0-1a821463b632@c...
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/634 Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/634.patch Repository URL: https://github.com/alsa-project/alsa-ucm-conf