From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7EB8CCCFA03 for ; Mon, 3 Nov 2025 20:34:03 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2F7F4601A4; Mon, 3 Nov 2025 21:33:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2F7F4601A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1762202040; bh=P6OzghuUk14uJkfaCZm8q5BTSV97Jg4naFjXZQ/2Ylg=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=iV6Gi/wuo/dhsquviZJfeMz2eiT3CEYPzfnMTxbOiyCoLEBS2KWIvDCvfBa74pk+B GToVVk/aEiFnn1UiFFN3MBo5euB3e6mNpb8DasFW/AfDOLQPDZ/qvTZJH0kCCckfbh A9QVATTsDSF7JQecUFpcQOQ14wnUhbOT0crh3fiI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A1906F805C6; Mon, 3 Nov 2025 21:33:16 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 62BA0F805C8; Mon, 3 Nov 2025 21:33:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 26057F80107; Mon, 3 Nov 2025 21:33:03 +0100 (CET) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 22927F80107 for ; Mon, 3 Nov 2025 21:32:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 22927F80107 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org Message-Id: <1874995909bf7a00-webhooks-bot@alsa-project.org> In-Reply-To: References: Subject: USB-Audio: Add support for DualSense PS5 controller Date: Mon, 3 Nov 2025 21:33:03 +0100 (CET) Message-ID-Hash: 5AISSBAZVJ42MW6AILRQ4H2V2WOKHWQM X-Message-ID-Hash: 5AISSBAZVJ42MW6AILRQ4H2V2WOKHWQM X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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@collabora.com/ [2] https://lore.kernel.org/all/20250526-dualsense-alsa-jack-v1-0-1a821463b632@collabora.com/ 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