From 31df87b5d77f3e02b6bdf61b4974654fdaaf9597 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 14 Jan 2026 16:51:13 +0100 Subject: [PATCH] USB-Audio: Dualsense PS5 - add direct use case 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 --- ucm2/USB-Audio/Sony/DualSense-PS5.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ucm2/USB-Audio/Sony/DualSense-PS5.conf b/ucm2/USB-Audio/Sony/DualSense-PS5.conf index 42d525b..d6bfb4a 100644 --- a/ucm2/USB-Audio/Sony/DualSense-PS5.conf +++ b/ucm2/USB-Audio/Sony/DualSense-PS5.conf @@ -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" } -- 2.47.3