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

amixer: add amixer files for LNL platforms #1123

Merged
merged 1 commit into from
Dec 19, 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
11 changes: 11 additions & 0 deletions alsa_settings/LNLM_RVP_HDA.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' 87
amixer -c sofhdadsp cset name='Headphone Playback Switch' 1
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
12 changes: 12 additions & 0 deletions alsa_settings/LNLM_SDW_AIOC.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
set -e

# enable headset playback
amixer -c sofsoundwire cset name='Headphone Switch' on
amixer -c sofsoundwire cset name='rt711 FU05 Playback Volume' 80

# enable headset capture
amixer -c sofsoundwire cset name='Headset Mic Switch' on
amixer -c sofsoundwire cset name='rt711 FU0F Capture Switch' on
amixer -c sofsoundwire cset name='rt711 FU1E Capture Switch' on
amixer -c sofsoundwire cset name='rt711 FU0F Capture Volume' 30
amixer -c sofsoundwire cset name='rt711 FU1E Capture Volume' 30
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about LNLM_SDW_RVP without AIOC? That's what I use so far :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LNLM_SDW_RVP is not our target test config. We will switch all LNLM_SDW_RVP to LNLM_SDW_AIOC.

2 changes: 1 addition & 1 deletion case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ set_alsa_settings()
# common nocodec_ci alsa settings
"$SCRIPT_HOME"/alsa_settings/CAVS_NOCODEC_CI.sh
;;
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | MTLP_RVP_NOCODEC |ADLP_RVP_NOCODEC-ipc4 | TGLU_RVP_NOCODEC-ipc4 | MTLP_RVP_NOCODEC | MTLP_RVP_NOCODEC-multicore-2cores | MTLP_RVP_NOCODEC-multicore-3cores)
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | MTLP_RVP_NOCODEC |ADLP_RVP_NOCODEC-ipc4 | TGLU_RVP_NOCODEC-ipc4 | MTLP_RVP_NOCODEC | MTLP_RVP_NOCODEC-multicore-2cores | MTLP_RVP_NOCODEC-multicore-3cores | LNLM_RVP_NOCODEC)
dlogi "Use reset_sof_volume function to set amixer setting."
;;
*)
Expand Down
Loading