From 3e2dacdb38941e44c65439895cca696beeb0f527 Mon Sep 17 00:00:00 2001 From: Chengyi Zhao Date: Sun, 15 Aug 2021 22:19:46 +0800 Subject: [PATCH] alsa-mixer: Recognize rear mic jack mixer of USB audio Add "- Input" suffix to a new "[Jack]" section of rear mic in the path file, and the rear mic jack is probed and its state is compared with the expected "Rear Mic - Input". Part-of: --- src/modules/alsa/mixer/paths/analog-input-rear-mic.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-input-rear-mic.conf b/src/modules/alsa/mixer/paths/analog-input-rear-mic.conf index 71361937d..a92f9d1db 100644 --- a/src/modules/alsa/mixer/paths/analog-input-rear-mic.conf +++ b/src/modules/alsa/mixer/paths/analog-input-rear-mic.conf @@ -24,6 +24,9 @@ description-key = analog-input-microphone-rear [Jack Rear Mic] required-any = any +[Jack Rear Mic - Input] +required-any = any + [Jack Rear Mic Phantom] required-any = any state.plugged = unknown