summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2025-05-26 17:07:48 +0300
committerTakashi Iwai <tiwai@suse.de>2025-06-09 09:48:51 +0200
commit79d561c4ec0497669f19a9550cfb74812f60938b (patch)
tree059bca3b7d7f705a62e56d7623d83937100cd9ea /rust/helpers/platform.c
parent9cea7425595697802e8d55a322a251999554b8b1 (diff)
ALSA: usb-audio: Add mixer quirk for Sony DualSense PS5
The Sony DualSense wireless controller (PS5) features an internal mono speaker, but it also provides a 3.5mm jack socket for headphone output and headset microphone input. Since this is a UAC1 device, it doesn't advertise any jack detection capability. However, 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. Add a quirk to create the jack controls for headphone and headset mic, respectively, and setup an input handler for each of them in order to intercept the related hotplug events. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250526-dualsense-alsa-jack-v1-9-1a821463b632@collabora.com
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions