Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alsa_settings for new test configs #1094

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alsa_settings/ADLP_RVP_SDW-cavs2_5-ipc4.sh
1 change: 1 addition & 0 deletions alsa_settings/CML_HEL_RT5682-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/CML_RVP_SDW-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/CML_SKU0955_HDA-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/CML_SKU0983_SDW-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/GLK_BOB_DA7219-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/MTLP_RVP_HDA-ace1_0-ipc4.sh
1 change: 1 addition & 0 deletions alsa_settings/MTLP_RVP_SDW-ace1_0-ipc4.sh
1 change: 1 addition & 0 deletions alsa_settings/MTLP_SDW_AIOC-ace1_0-ipc4.sh
11 changes: 11 additions & 0 deletions alsa_settings/TGLH_SKU0A70_HDA-cavs2_5-ipc4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set -e

# enable headset playback
amixer -c sofhdadsp cset name='Master Playback Switch' 1
amixer -c sofhdadsp cset name='Master Playback Volume' 80
amixer -c sofhdadsp cset name='Headphone Playback Switch' 1
amixer -c sofhdadsp cset name='Headphone Playback Volume' 80
# enable headset capture
amixer -c sofhdadsp cset name='Headphone Mic Boost Volume' 0
amixer -c sofhdadsp cset name='Headset Mic Boost Volume' 0
amixer -c sofhdadsp cset name='Capture Volume' 30
1 change: 1 addition & 0 deletions alsa_settings/TGLU_RVP_HDA-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/TGLU_RVP_SDW-cavs2_5-ipc4.sh
1 change: 1 addition & 0 deletions alsa_settings/TGLU_RVP_SDW-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/TGLU_SKU0A32_SDCA-sof-ipc3.sh
1 change: 1 addition & 0 deletions alsa_settings/TGLU_UP_HDA-cavs2_5-ipc4.sh
4 changes: 2 additions & 2 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,15 +857,15 @@ set_alsa_settings()
local PNAME="${1%_ZEPHYR}"
dlogi "Run alsa setting for $PNAME"
case $PNAME in
APL_UP2_NOCODEC | CML_RVP_NOCODEC | JSL_RVP_NOCODEC | TGLU_RVP_NOCODEC | ADLP_RVP_NOCODEC | TGLH_RVP_NOCODEC)
APL_UP2_NOCODEC | CML_RVP_NOCODEC | JSL_RVP_NOCODEC | TGLU_RVP_NOCODEC | ADLP_RVP_NOCODEC | TGLH_RVP_NOCODEC | ADLP_RVP_NOCODEC-sof-ipc3-nocodec | CML_RVP_NOCODEC-sof-ipc3-nocodec | JSL_RVP_NOCODEC-sof-ipc3-nocodec)
# common nocodec alsa settings
"$SCRIPT_HOME"/alsa_settings/CAVS_NOCODEC.sh
;;
TGLU_RVP_NOCODEC_CI | ADLP_RVP_NOCODEC_CI)
# common nocodec_ci alsa settings
"$SCRIPT_HOME"/alsa_settings/CAVS_NOCODEC_CI.sh
;;
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | MTLP_RVP_NOCODEC)
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | MTLP_RVP_NOCODEC |ADLP_RVP_NOCODEC-cavs2_5-ipc4-nocodec | TGLU_RVP_NOCODEC-cavs2_5-ipc4-nocodec | MTLP_RVP_NOCODEC-ace1_0-ipc4-nocodec | MTLP_RVP_NOCODEC-ace1_0-multicore-2cores | MTLP_RVP_NOCODEC-ace1_0-multicore-3cores)
dlogi "Use reset_sof_volume function to set amixer setting."
;;
*)
Expand Down
Loading