forked from thesofproject/sof-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amixer: add amixer files for LNL platforms
Add new amixer files for LNLM_RVP_HDA and LNLM_SDW_AIOC. For LNLM_RVP_NOCODEC, use reset_sof_volume function for amixer settings. Signed-off-by: Keqiao Zhang <[email protected]>
- Loading branch information
1 parent
696b00e
commit 6000b4e
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters