File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ state.sofhdadsp {
2+ control.1 {
3+ iface MIXER
4+ name 'Headphone Playback Volume'
5+ value.0 1
6+ value.1 1
7+ }
8+ control.2 {
9+ iface MIXER
10+ name 'Headphone Playback Switch'
11+ value.0 false
12+ value.1 false
13+ }
14+ control.6 {
15+ iface MIXER
16+ name 'Capture Volume'
17+ value.0 1
18+ value.1 1
19+ }
20+ control.7 {
21+ iface MIXER
22+ name 'Capture Switch'
23+ value.0 false
24+ value.1 false
25+ }
26+ control.9 {
27+ iface MIXER
28+ name 'Master Playback Volume'
29+ value 1
30+ }
31+ control.10 {
32+ iface MIXER
33+ name 'Master Playback Switch'
34+ value false
35+ }
36+ }
Original file line number Diff line number Diff line change 1+ state.sofsoundwire {
2+ control.1 {
3+ iface MIXER
4+ name 'rt711 FU05 Playback Volume'
5+ value.0 1
6+ value.1 1
7+ }
8+ control.2 {
9+ iface MIXER
10+ name 'rt711 FU1E Capture Switch'
11+ value.0 false
12+ value.1 false
13+ }
14+ control.3 {
15+ iface MIXER
16+ name 'rt711 FU0F Capture Switch'
17+ value.0 false
18+ value.1 false
19+ }
20+ control.4 {
21+ iface MIXER
22+ name 'rt711 FU1E Capture Volume'
23+ value.0 1
24+ value.1 1
25+ }
26+ control.5 {
27+ iface MIXER
28+ name 'rt711 FU0F Capture Volume'
29+ value.0 1
30+ value.1 1
31+ }
32+ control.8 {
33+ iface MIXER
34+ name 'rt711 GE49 Selected Mode'
35+ value Mic
36+ }
37+ control.35 {
38+ iface MIXER
39+ name 'Headphone Switch'
40+ value false
41+ }
42+ control.36 {
43+ iface MIXER
44+ name 'Headset Mic Switch'
45+ value false
46+ }
47+ }
Original file line number Diff line number Diff line change 1+ state.sofhdadsp {
2+ control.1 {
3+ iface MIXER
4+ name 'Headphone Playback Volume'
5+ value.0 1
6+ value.1 1
7+ }
8+ control.2 {
9+ iface MIXER
10+ name 'Headphone Playback Switch'
11+ value.0 false
12+ value.1 false
13+ }
14+ control.6 {
15+ iface MIXER
16+ name 'Capture Volume'
17+ value.0 1
18+ value.1 1
19+ }
20+ control.7 {
21+ iface MIXER
22+ name 'Capture Switch'
23+ value.0 false
24+ value.1 false
25+ }
26+ control.9 {
27+ iface MIXER
28+ name 'Master Playback Volume'
29+ value 1
30+ }
31+ control.10 {
32+ iface MIXER
33+ name 'Master Playback Switch'
34+ value false
35+ }
36+
37+ }
Original file line number Diff line number Diff line change 1+ state.sofsoundwire {
2+ control.1 {
3+ iface MIXER
4+ name 'rt711 FU05 Playback Volume'
5+ value.0 1
6+ value.1 1
7+ }
8+ control.3 {
9+ iface MIXER
10+ name 'rt711 FU0F Capture Switch'
11+ value.0 false
12+ value.1 false
13+ }
14+ control.5 {
15+ iface MIXER
16+ name 'rt711 FU0F Capture Volume'
17+ value.0 1
18+ value.1 1
19+ }
20+ control.8 {
21+ iface MIXER
22+ name 'rt711 GE49 Selected Mode'
23+ value Mic
24+ }
25+ control.35 {
26+ iface MIXER
27+ name 'Headphone Switch'
28+ value false
29+ }
30+ control.36 {
31+ iface MIXER
32+ name 'Headset Mic Switch'
33+ value false
34+ }
35+ }
Original file line number Diff line number Diff line change 1+ anti-MTLP_RVP_SDW.state
Original file line number Diff line number Diff line change 1+ state.sofhdadsp {
2+ control.1 {
3+ iface MIXER
4+ name 'Headphone Playback Volume'
5+ value.0 1
6+ value.1 1
7+ }
8+ control.2 {
9+ iface MIXER
10+ name 'Headphone Playback Switch'
11+ value.0 false
12+ value.1 false
13+ }
14+ control.6 {
15+ iface MIXER
16+ name 'Capture Source'
17+ value Headset
18+ }
19+ control.7 {
20+ iface MIXER
21+ name 'Capture Volume'
22+ value.0 1
23+ value.1 1
24+ }
25+ control.8 {
26+ iface MIXER
27+ name 'Capture Switch'
28+ value.0 false
29+ value.1 false
30+ }
31+ control.12 {
32+ iface MIXER
33+ name 'Master Playback Volume'
34+ value 1
35+ }
36+ control.13 {
37+ iface MIXER
38+ name 'Master Playback Switch'
39+ value false
40+ }
41+ }
Original file line number Diff line number Diff line change 1+ state.sofsoundwire {
2+ control.1 {
3+ iface MIXER
4+ name 'rt712 FU06 Playback Volume'
5+ value.0 60
6+ value.1 60
7+ }
8+ control.2 {
9+ iface MIXER
10+ name 'rt712 FU05 Playback Volume'
11+ value.0 60
12+ value.1 60
13+ }
14+ control.3 {
15+ iface MIXER
16+ name 'rt712 FU0F Capture Switch'
17+ value.0 on
18+ value.1 on
19+ }
20+ control.4 {
21+ iface MIXER
22+ name 'rt712 FU0F Capture Volume'
23+ value.0 46
24+ value.1 46
25+ }
26+ control.14 {
27+ iface MIXER
28+ name 'Headphone Switch'
29+ value.0 on
30+ }
31+ control.15 {
32+ iface MIXER
33+ name 'Headset Mic Switch'
34+ value.0 on
35+ }
36+ }
Original file line number Diff line number Diff line change 1+ state.sofsoundwire {
2+ control.2 {
3+ iface MIXER
4+ name 'rt722 FU0F Capture Switch'
5+ value.0 true
6+ value.1 true
7+ }
8+ control.3 {
9+ iface MIXER
10+ name 'rt722 FU0F Capture Volume'
11+ value.0 15
12+ value.1 15
13+ }
14+ control.5 {
15+ iface MIXER
16+ name 'rt722 FU06 Playback Volume'
17+ value.0 50
18+ value.1 50
19+ }
20+ control.6 {
21+ iface MIXER
22+ name 'rt722 FU1E Capture Switch'
23+ value.0 true
24+ value.1 true
25+ value.2 true
26+ value.3 true
27+ }
28+ control.9 {
29+ iface MIXER
30+ name 'Headphone Switch'
31+ value true
32+ }
33+ control.10 {
34+ iface MIXER
35+ name 'Headset Mic Switch'
36+ value true
37+ }
38+ control.13 {
39+ iface MIXER
40+ name 'Speaker Switch'
41+ value true
42+ }
43+ }
Original file line number Diff line number Diff line change @@ -1152,6 +1152,11 @@ restore_settings_via_alsactl()
11521152# param1: platform name
11531153set_alsa_settings ()
11541154{
1155+ # DEBUG - to avoid the problem where the state is untouched both by init and .state,
1156+ # we'll first set the state to something entirely different from the state.
1157+ if get_alsactl_state " $SCRIPT_HOME " " $PNAME " ; then
1158+ restore_settings_via_alsactl " $PNAME "
1159+
11551160 # This will bring the machine ALSA state to a common known point - a good baseline
11561161 alsactl init
11571162
You can’t perform that action at this time.
0 commit comments