Skip to content

Commit 6d2cda4

Browse files
committed
alsactl: Prototype version
Incorporates LNL, MTL and PTL families, save for the nocodecs. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
1 parent ca7e8f2 commit 6d2cda4

18 files changed

+659
-102
lines changed

alsa_settings/LNLM_RVP_HDA.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

alsa_settings/LNLM_SDW_AIOC.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

alsa_settings/MTLP_RVP_HDA.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

alsa_settings/MTLP_RVP_SDW.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

alsa_settings/MTLP_SDW_AIOC.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

alsa_settings/PTLH_HDA_AIOC.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

alsa_settings/PTLH_SDW_RT712.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

alsa_settings/PTLP_RVP_SDW.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
state.sofhdadsp {
2+
control.1 {
3+
iface MIXER
4+
name 'Headphone Playback Volume'
5+
value.0 60
6+
value.1 60
7+
comment {
8+
access 'read write'
9+
type INTEGER
10+
count 2
11+
range '0 - 87'
12+
dbmin -6525
13+
dbmax 0
14+
dbvalue.0 -2625
15+
dbvalue.1 -2625
16+
}
17+
}
18+
control.2 {
19+
iface MIXER
20+
name 'Headphone Playback Switch'
21+
value.0 true
22+
value.1 true
23+
comment {
24+
access 'read write'
25+
type BOOLEAN
26+
count 2
27+
}
28+
}
29+
control.6 {
30+
iface MIXER
31+
name 'Capture Volume'
32+
value.0 30
33+
value.1 30
34+
comment {
35+
access 'read write'
36+
type INTEGER
37+
count 2
38+
range '0 - 63'
39+
dbmin -1725
40+
dbmax 3000
41+
dbvalue.0 1125
42+
dbvalue.1 1125
43+
}
44+
}
45+
control.7 {
46+
iface MIXER
47+
name 'Capture Switch'
48+
value.0 true
49+
value.1 true
50+
comment {
51+
access 'read write'
52+
type BOOLEAN
53+
count 2
54+
}
55+
}
56+
control.9 {
57+
iface MIXER
58+
name 'Master Playback Volume'
59+
value 87
60+
comment {
61+
access 'read write'
62+
type INTEGER
63+
count 1
64+
range '0 - 87'
65+
dbmin -6525
66+
dbmax 0
67+
dbvalue.0 -2625
68+
}
69+
}
70+
control.10 {
71+
iface MIXER
72+
name 'Master Playback Switch'
73+
value true
74+
comment {
75+
access 'read write'
76+
type BOOLEAN
77+
count 1
78+
}
79+
}
80+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
state.sofsoundwire {
2+
control.1 {
3+
iface MIXER
4+
name 'rt711 FU05 Playback Volume'
5+
value.0 80
6+
value.1 80
7+
comment {
8+
access 'read write'
9+
type INTEGER
10+
count 2
11+
range '0 - 87'
12+
dbmin -6525
13+
dbmax 0
14+
dbvalue.0 -525
15+
dbvalue.1 -525
16+
}
17+
}
18+
control.2 {
19+
iface MIXER
20+
name 'rt711 FU1E Capture Switch'
21+
value.0 true
22+
value.1 true
23+
comment {
24+
access 'read write'
25+
type BOOLEAN
26+
count 2
27+
}
28+
}
29+
control.3 {
30+
iface MIXER
31+
name 'rt711 FU0F Capture Switch'
32+
value.0 true
33+
value.1 true
34+
comment {
35+
access 'read write'
36+
type BOOLEAN
37+
count 2
38+
}
39+
}
40+
control.4 {
41+
iface MIXER
42+
name 'rt711 FU1E Capture Volume'
43+
value.0 30
44+
value.1 30
45+
comment {
46+
access 'read write'
47+
type INTEGER
48+
count 2
49+
range '0 - 63'
50+
dbmin -1725
51+
dbmax 3000
52+
dbvalue.0 525
53+
dbvalue.1 525
54+
}
55+
}
56+
control.5 {
57+
iface MIXER
58+
name 'rt711 FU0F Capture Volume'
59+
value.0 30
60+
value.1 30
61+
comment {
62+
access 'read write'
63+
type INTEGER
64+
count 2
65+
range '0 - 63'
66+
dbmin -1725
67+
dbmax 3000
68+
dbvalue.0 525
69+
dbvalue.1 525
70+
}
71+
}
72+
control.8 {
73+
iface MIXER
74+
name 'rt711 GE49 Selected Mode'
75+
value Headset
76+
comment {
77+
access 'read write'
78+
type ENUMERATED
79+
count 1
80+
item.0 Auto
81+
item.1 Headphone
82+
item.2 Headset
83+
related linux pr: https://github.com/thesofproject/linux/pull/4969
84+
}
85+
}
86+
control.35 {
87+
iface MIXER
88+
name 'Headphone Switch'
89+
value true
90+
comment {
91+
access 'read write'
92+
type BOOLEAN
93+
count 1
94+
}
95+
}
96+
control.36 {
97+
iface MIXER
98+
name 'Headset Mic Switch'
99+
value true
100+
comment {
101+
access 'read write'
102+
type BOOLEAN
103+
count 1
104+
}
105+
}
106+
}

0 commit comments

Comments
 (0)