From 619f80fea49036ed80cca9d7d11954b6d6feed34 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Thu, 27 Feb 2025 14:23:39 +0200 Subject: [PATCH] alsa_settings: PTLH_HDA_AIOC.sh: fix mic source Add explicit set for capture source to ensure the capture is done from the headset mic. Test cases (like alsabat) expect the HDA codec to be attached to a analog loopback cable. Also fix a stray '~' character in the script. Signed-off-by: Kai Vehmanen --- alsa_settings/PTLH_HDA_AIOC.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/alsa_settings/PTLH_HDA_AIOC.sh b/alsa_settings/PTLH_HDA_AIOC.sh index 2f347341..19627123 100755 --- a/alsa_settings/PTLH_HDA_AIOC.sh +++ b/alsa_settings/PTLH_HDA_AIOC.sh @@ -9,5 +9,4 @@ amixer -c sofhdadsp cset name='Headphone Playback Volume' 60 # enable headset capture amixer -c sofhdadsp cset name='Capture Switch' on amixer -c sofhdadsp cset name='Capture Volume' 30 -~ - +amixer -c sofhdadsp cset name='Capture Source' 2