Skip to content

Commit

Permalink
LNLM_SDW_AIOC.sh: overrides the headset detected_mode
Browse files Browse the repository at this point in the history
LNL RVP keep toggling between headphone and headset. Overrides to headset
only for the test.

Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
  • Loading branch information
fredoh9 committed May 10, 2024
1 parent aaf9c15 commit 90e0929
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alsa_settings/LNLM_SDW_AIOC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ set -e
amixer -c sofsoundwire cset name='Headphone Switch' on
amixer -c sofsoundwire cset name='rt711 FU05 Playback Volume' 80

# 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 capture
amixer -c sofsoundwire cset name='Headset Mic Switch' on
amixer -c sofsoundwire cset name='rt711 FU0F Capture Switch' on
Expand Down

0 comments on commit 90e0929

Please sign in to comment.