]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
USB-Audio: Add support for DualSense PS5 controller
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Wed, 21 May 2025 07:24:28 +0000 (10:24 +0300)
committerJaroslav Kysela <perex@perex.cz>
Mon, 10 Nov 2025 08:41:49 +0000 (09:41 +0100)
commit36a111ad007f2f424e6b00155970aaf07e86cee3
tree7d9812d1b35f593b0565d8f171c64061b5bb2225
parent2e090676c9a46f39c8ce880b59147df2cad828bc
USB-Audio: Add support for DualSense PS5 controller

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 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), 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.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/634
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Sony/DualSense-PS5-HiFi.conf [new file with mode: 0644]
ucm2/USB-Audio/Sony/DualSense-PS5.conf [new file with mode: 0644]
ucm2/USB-Audio/USB-Audio.conf