File tree Expand file tree Collapse file tree 6 files changed +43
-8
lines changed
Expand file tree Collapse file tree 6 files changed +43
-8
lines changed Original file line number Diff line number Diff line change 1+ set -e
2+
3+ # enable headset playback
4+ amixer -c sofsoundwire cset name=' Headphone Switch' on
5+ amixer -c sofsoundwire cset name=' rt711 DAC Surr Playback Volume' 70
6+
7+ # enable headset capture
8+ amixer -c sofsoundwire cset name=' Headset Mic Switch' on
9+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Switch' on
10+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Volume' 25
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ amixer -c sofhdadsp cset name='Master Playback Switch' 1
55amixer -c sofhdadsp cset name=' Master Playback Volume' 87
66amixer -c sofhdadsp cset name=' Headphone Playback Switch' 1
77amixer -c sofhdadsp cset name=' Headphone Playback Volume' 60
8- amixer -c sofhdadsp cset name=' gain.1.1 1 2nd Playback Volume' 45
9- amixer -c sofhdadsp cset name=' gain.2.1 2 Main Playback Volume' 45
10- amixer -c sofhdadsp cset name=' gain.5.1 5 3nd Playback Volume' 45
8+
9+ # enable headset capture
10+ amixer -c sofhdadsp cset name=' Capture Switch' on
11+ amixer -c sofhdadsp cset name=' Capture Volume' 30
Original file line number Diff line number Diff line change 11set -e
22
3- # enable playback
3+ # enable headset playback
44amixer -c sofsoundwire cset name=' Headphone Switch' on
55amixer -c sofsoundwire cset name=' rt711 FU05 Playback Volume' 60
6- amixer -c sofsoundwire cset name=' gain.1.1 1 Playback Volume 0' 45
7- amixer -c sofsoundwire cset name=' gain.2.1 2 Main Playback Volume' 45
8- amixer -c sofsoundwire cset name=' gain.5.1 5 2nd Playback Volume' 45
6+
7+ # enable headset capture
8+ amixer -c sofsoundwire cset name=' Headset Mic Switch' on
9+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Switch' on
10+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Volume' 25
Original file line number Diff line number Diff line change 1+ set -e
2+
3+ # enable headset playback
4+ amixer -c sofsoundwire cset name=' Headphone Switch' on
5+ amixer -c sofsoundwire cset name=' rt711 DAC Surr Playback Volume' 55
6+
7+ # enable headset capture
8+ amixer -c sofsoundwire cset name=' Headset Mic Switch' on
9+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Switch' on
10+ amixer -c sofsoundwire cset name=' rt711 ADC 08 Capture Volume' 25
Original file line number Diff line number Diff line change 1+ set -e
2+
3+ # enable headset playback
4+ amixer -c sofhdadsp cset name=' Master Playback Switch' on
5+ amixer -c sofhdadsp cset name=' Master Playback Volume' 45
6+
7+ # enable headset capture
8+ amixer -c sofhdadsp cset name=' Capture Switch' on
9+ amixer -c sofhdadsp cset name=' Capture Volume' 30
Original file line number Diff line number Diff line change @@ -808,14 +808,17 @@ set_alsa_settings()
808808 local PNAME=" ${1% _ZEPHYR} "
809809 dlogi " Run alsa setting for $PNAME "
810810 case $PNAME in
811- APL_UP2_NOCODEC | CML_RVP_NOCODEC | JSL_RVP_NOCODEC | TGLU_RVP_NOCODEC | ADLP_RVP_NOCODEC | TGLH_RVP_NOCODEC | MTLP_RVP_NOCODEC )
811+ APL_UP2_NOCODEC | CML_RVP_NOCODEC | JSL_RVP_NOCODEC | TGLU_RVP_NOCODEC | ADLP_RVP_NOCODEC | TGLH_RVP_NOCODEC)
812812 # common nocodec alsa settings
813813 " $SCRIPT_HOME " /alsa_settings/CAVS_NOCODEC.sh
814814 ;;
815815 TGLU_RVP_NOCODEC_CI | ADLP_RVP_NOCODEC_CI)
816816 # common nocodec_ci alsa settings
817817 " $SCRIPT_HOME " /alsa_settings/CAVS_NOCODEC_CI.sh
818818 ;;
819+ TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | MTLP_RVP_NOCODEC)
820+ dlogi " Use reset_sof_volume function to set amixer setting."
821+ ;;
819822 * )
820823 # if script name is same as platform name, default case will handle all
821824 if [ -f " $SCRIPT_HOME " /alsa_settings/" $PNAME " .sh ]; then
You can’t perform that action at this time.
0 commit comments