Skip to content

Commit

Permalink
alsa_settings: MTLP_RVP_SDW.sh: add rt711 GE control
Browse files Browse the repository at this point in the history
MTLP_RVP_SDW uese rt711 and it needs to overwritre the jack detection
type.

Signed-off-by: Bard Liao <[email protected]>
  • Loading branch information
bardliao authored and marc-hb committed Jun 20, 2024
1 parent 6571dcf commit f3109df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions alsa_settings/MTLP_RVP_SDW.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#This file is duplicated to MTLP_SDW_AIOC.sh since we only set rt711 mixer
#controls for the AIOC board.

set -e

# override jack detection mode to headset
# related linux pr: https://github.com/thesofproject/linux/pull/4969
amixer -c sofsoundwire cset name='rt711 GE49 Selected Mode' 2 || true

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

0 comments on commit f3109df

Please sign in to comment.