]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Dualsense PS5 - add direct use case
authorJaroslav Kysela <perex@perex.cz>
Wed, 14 Jan 2026 15:51:13 +0000 (16:51 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 15 Jan 2026 14:31:24 +0000 (15:31 +0100)
Wine games expecting 4 channel playback stream to handle
correctly audio and haptic channel arrangment.

Add direct use case and make it as first until
user selects another profile which may cause failure
for wine games.

For a permanent solution, wine should combine 4 channel
device from the sinks created using the channel split
mechanism or add pipewire protocol. In later case, the
the straight hardware device output ports should be used.

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/677
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Sony/DualSense-PS5.conf

index 42d525b7e9a297f735b22375dd8f0e3c1b9468f7..d6bfb4a205dc924ae1d3643e980e36f2a4c49776 100644 (file)
@@ -1,6 +1,11 @@
 Comment "Sony Corp. DualSense wireless controller (PS5)"
 
-SectionUseCase."HiFi" {
+Include.dhw.File "/common/directm.conf"
+
+# keep this use case first - wine compatibility
+Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=4 CaptureChannels=2 }
+
+If.default.Prepend.SectionUseCase."Default" {
        Comment "Default"
        File "/USB-Audio/Sony/DualSense-PS5-HiFi.conf"
 }