summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/alsa-state
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2013-10-14 14:26:33 -0300
committerDaiane Angolini <daiane.angolini@freescale.com>2013-10-14 14:45:23 -0300
commit8738fcb5b68729ba2a2cc99ed94a81940509a7bb (patch)
tree232dcf6580930ba384ed50c1602f8966bf235cf7 /recipes-bsp/alsa-state
parent7863ebfd9778d20f2466a604eaf62d05925036ee (diff)
downloadmeta-fsl-arm-8738fcb5b68729ba2a2cc99ed94a81940509a7bb.tar.gz
alsa-state: Add default state values for mx5/mx6/mxs
In order to create asound.state: * alsamixer - adjust any parameter (i.e. volume) * alsactl store - copy the current alsa parameters to /var/lib/alsa/asound.state * use asound.state as new default value Change-Id: I4a313d8250207d13dd1c193a353f93b4f5b6f74e Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'recipes-bsp/alsa-state')
-rw-r--r--recipes-bsp/alsa-state/alsa-state/mx5/asound.state139
-rw-r--r--recipes-bsp/alsa-state/alsa-state/mx6/asound.state1264
-rw-r--r--recipes-bsp/alsa-state/alsa-state/mxs/asound.state191
3 files changed, 1594 insertions, 0 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/mx5/asound.state b/recipes-bsp/alsa-state/alsa-state/mx5/asound.state
new file mode 100644
index 0000000..7c13a88
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/mx5/asound.state
@@ -0,0 +1,139 @@
1state.imx3stack {
2 control.1 {
3 iface MIXER
4 name 'MIC GAIN'
5 value '0dB'
6 comment {
7 access 'read write'
8 type ENUMERATED
9 count 1
10 item.0 '0dB'
11 item.1 '20dB'
12 item.2 '30dB'
13 item.3 '40dB'
14 }
15 }
16 control.2 {
17 iface MIXER
18 name 'Capture Volume'
19 value.0 12
20 value.1 12
21 comment {
22 access 'read write'
23 type INTEGER
24 count 2
25 range '0 - 15'
26 }
27 }
28 control.3 {
29 iface MIXER
30 name 'Capture Vol Reduction'
31 value 'No Change'
32 comment {
33 access 'read write'
34 type ENUMERATED
35 count 1
36 item.0 'No Change'
37 item.1 'Reduced by 6dB'
38 }
39 }
40 control.4 {
41 iface MIXER
42 name 'Playback Volume'
43 value.0 192
44 value.1 192
45 comment {
46 access 'read write'
47 type INTEGER
48 count 2
49 range '0 - 192'
50 }
51 }
52 control.5 {
53 iface MIXER
54 name 'Headphone Volume'
55 value.0 127
56 value.1 127
57 comment {
58 access 'read write'
59 type INTEGER
60 count 2
61 range '0 - 127'
62 }
63 }
64 control.6 {
65 iface MIXER
66 name 'DAC Mux'
67 value DAC
68 comment {
69 access 'read write'
70 type ENUMERATED
71 count 1
72 item.0 DAC
73 item.1 LINE_IN
74 }
75 }
76 control.7 {
77 iface MIXER
78 name 'ADC Mux'
79 value LINE_IN
80 comment {
81 access 'read write'
82 type ENUMERATED
83 count 1
84 item.0 MIC_IN
85 item.1 LINE_IN
86 }
87 }
88 control.8 {
89 iface MIXER
90 name ASRC
91 value disable
92 comment {
93 access 'read write'
94 type ENUMERATED
95 count 1
96 item.0 disable
97 item.1 '32KHz'
98 item.2 '44.1KHz'
99 item.3 '48KHz'
100 item.4 '96KHz'
101 }
102 }
103 control.9 {
104 iface MIXER
105 name 'Jack Function'
106 value on
107 comment {
108 access 'read write'
109 type ENUMERATED
110 count 1
111 item.0 off
112 item.1 on
113 }
114 }
115 control.10 {
116 iface MIXER
117 name 'Speaker Function'
118 value on
119 comment {
120 access 'read write'
121 type ENUMERATED
122 count 1
123 item.0 off
124 item.1 on
125 }
126 }
127 control.11 {
128 iface MIXER
129 name 'Line In Function'
130 value off
131 comment {
132 access 'read write'
133 type ENUMERATED
134 count 1
135 item.0 off
136 item.1 on
137 }
138 }
139}
diff --git a/recipes-bsp/alsa-state/alsa-state/mx6/asound.state b/recipes-bsp/alsa-state/alsa-state/mx6/asound.state
new file mode 100644
index 0000000..4dcbc4c
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/mx6/asound.state
@@ -0,0 +1,1264 @@
1state.wm8962audio {
2 control.1 {
3 iface MIXER
4 name 'Input Mixer Switch'
5 value.0 true
6 value.1 true
7 comment {
8 access 'read write'
9 type BOOLEAN
10 count 2
11 }
12 }
13 control.2 {
14 iface MIXER
15 name 'MIXINL IN2L Volume'
16 value 5
17 comment {
18 access 'read write'
19 type INTEGER
20 count 1
21 range '0 - 7'
22 dbmin -1500
23 dbmax 600
24 dbvalue.0 0
25 }
26 }
27 control.3 {
28 iface MIXER
29 name 'MIXINL PGA Volume'
30 value 0
31 comment {
32 access 'read write'
33 type INTEGER
34 count 1
35 range '0 - 7'
36 dbmin 0
37 dbmax 3000
38 dbvalue.0 0
39 }
40 }
41 control.4 {
42 iface MIXER
43 name 'MIXINL IN3L Volume'
44 value 5
45 comment {
46 access 'read write'
47 type INTEGER
48 count 1
49 range '0 - 7'
50 dbmin -1500
51 dbmax 600
52 dbvalue.0 0
53 }
54 }
55 control.5 {
56 iface MIXER
57 name 'MIXINR IN2R Volume'
58 value 5
59 comment {
60 access 'read write'
61 type INTEGER
62 count 1
63 range '0 - 7'
64 dbmin -1500
65 dbmax 600
66 dbvalue.0 0
67 }
68 }
69 control.6 {
70 iface MIXER
71 name 'MIXINR PGA Volume'
72 value 0
73 comment {
74 access 'read write'
75 type INTEGER
76 count 1
77 range '0 - 7'
78 dbmin 0
79 dbmax 3000
80 dbvalue.0 0
81 }
82 }
83 control.7 {
84 iface MIXER
85 name 'MIXINR IN3R Volume'
86 value 7
87 comment {
88 access 'read write'
89 type INTEGER
90 count 1
91 range '0 - 7'
92 dbmin -1500
93 dbmax 600
94 dbvalue.0 600
95 }
96 }
97 control.8 {
98 iface MIXER
99 name 'Digital Capture Volume'
100 value.0 108
101 value.1 108
102 comment {
103 access 'read write'
104 type INTEGER
105 count 2
106 range '0 - 127'
107 dbmin -9999999
108 dbmax 2325
109 dbvalue.0 900
110 dbvalue.1 900
111 }
112 }
113 control.9 {
114 iface MIXER
115 name 'Capture Volume'
116 value.0 47
117 value.1 47
118 comment {
119 access 'read write'
120 type INTEGER
121 count 2
122 range '0 - 63'
123 dbmin -2325
124 dbmax 2400
125 dbvalue.0 1200
126 dbvalue.1 1200
127 }
128 }
129 control.10 {
130 iface MIXER
131 name 'Capture Switch'
132 value.0 true
133 value.1 true
134 comment {
135 access 'read write'
136 type BOOLEAN
137 count 2
138 }
139 }
140 control.11 {
141 iface MIXER
142 name 'Capture ZC Switch'
143 value.0 true
144 value.1 true
145 comment {
146 access 'read write'
147 type BOOLEAN
148 count 2
149 }
150 }
151 control.12 {
152 iface MIXER
153 name 'Capture HPF Switch'
154 value true
155 comment {
156 access 'read write'
157 type BOOLEAN
158 count 1
159 }
160 }
161 control.13 {
162 iface MIXER
163 name 'Capture HPF Mode'
164 value Hi-fi
165 comment {
166 access 'read write'
167 type ENUMERATED
168 count 1
169 item.0 Hi-fi
170 item.1 Application
171 }
172 }
173 control.14 {
174 iface MIXER
175 name 'Capture HPF Cutoff'
176 value 0
177 comment {
178 access 'read write'
179 type INTEGER
180 count 1
181 range '0 - 7'
182 }
183 }
184 control.15 {
185 iface MIXER
186 name 'Capture LHPF Switch'
187 value false
188 comment {
189 access 'read write'
190 type BOOLEAN
191 count 1
192 }
193 }
194 control.16 {
195 iface MIXER
196 name 'Capture LHPF Mode'
197 value LPF
198 comment {
199 access 'read write'
200 type ENUMERATED
201 count 1
202 item.0 LPF
203 item.1 HPF
204 }
205 }
206 control.17 {
207 iface MIXER
208 name 'Sidetone Volume'
209 value.0 0
210 value.1 0
211 comment {
212 access 'read write'
213 type INTEGER
214 count 2
215 range '0 - 12'
216 dbmin -3600
217 dbmax 0
218 dbvalue.0 -3600
219 dbvalue.1 -3600
220 }
221 }
222 control.18 {
223 iface MIXER
224 name 'Digital Playback Volume'
225 value.0 96
226 value.1 96
227 comment {
228 access 'read write'
229 type INTEGER
230 count 2
231 range '0 - 127'
232 dbmin -9999999
233 dbmax 2325
234 dbvalue.0 0
235 dbvalue.1 0
236 }
237 }
238 control.19 {
239 iface MIXER
240 name 'DAC High Performance Switch'
241 value false
242 comment {
243 access 'read write'
244 type BOOLEAN
245 count 1
246 }
247 }
248 control.20 {
249 iface MIXER
250 name 'ADC High Performance Switch'
251 value true
252 comment {
253 access 'read write'
254 type BOOLEAN
255 count 1
256 }
257 }
258 control.21 {
259 iface MIXER
260 name 'Beep Volume'
261 value 0
262 comment {
263 access 'read write'
264 type INTEGER
265 count 1
266 range '0 - 15'
267 dbmin -9999999
268 dbmax -600
269 dbvalue.0 -9999999
270 }
271 }
272 control.22 {
273 iface MIXER
274 name 'Headphone Volume'
275 value.0 118
276 value.1 118
277 comment {
278 access 'read write'
279 type INTEGER
280 count 2
281 range '0 - 127'
282 dbmin -9999999
283 dbmax 600
284 dbvalue.0 -300
285 dbvalue.1 -300
286 }
287 }
288 control.23 {
289 iface MIXER
290 name 'Headphone Switch'
291 value.0 true
292 value.1 true
293 comment {
294 access 'read write'
295 type BOOLEAN
296 count 2
297 }
298 }
299 control.24 {
300 iface MIXER
301 name 'Headphone ZC Switch'
302 value.0 false
303 value.1 false
304 comment {
305 access 'read write'
306 type BOOLEAN
307 count 2
308 }
309 }
310 control.25 {
311 iface MIXER
312 name 'Headphone Aux Volume'
313 value.0 7
314 value.1 7
315 comment {
316 access 'read write'
317 type INTEGER
318 count 2
319 range '0 - 7'
320 dbmin -700
321 dbmax 0
322 dbvalue.0 0
323 dbvalue.1 0
324 }
325 }
326 control.26 {
327 iface MIXER
328 name 'Headphone Mixer Switch'
329 value.0 false
330 value.1 false
331 comment {
332 access 'read write'
333 type BOOLEAN
334 count 2
335 }
336 }
337 control.27 {
338 iface MIXER
339 name 'HPMIXL IN4L Volume'
340 value 7
341 comment {
342 access 'read write'
343 type INTEGER
344 count 1
345 range '0 - 7'
346 dbmin -1500
347 dbmax 600
348 dbvalue.0 600
349 }
350 }
351 control.28 {
352 iface MIXER
353 name 'HPMIXL IN4R Volume'
354 value 7
355 comment {
356 access 'read write'
357 type INTEGER
358 count 1
359 range '0 - 7'
360 dbmin -1500
361 dbmax 600
362 dbvalue.0 600
363 }
364 }
365 control.29 {
366 iface MIXER
367 name 'HPMIXL MIXINL Volume'
368 value 1
369 comment {
370 access 'read write'
371 type INTEGER
372 count 1
373 range '0 - 1'
374 dbmin -600
375 dbmax 0
376 dbvalue.0 0
377 }
378 }
379 control.30 {
380 iface MIXER
381 name 'HPMIXL MIXINR Volume'
382 value 1
383 comment {
384 access 'read write'
385 type INTEGER
386 count 1
387 range '0 - 1'
388 dbmin -600
389 dbmax 0
390 dbvalue.0 0
391 }
392 }
393 control.31 {
394 iface MIXER
395 name 'HPMIXR IN4L Volume'
396 value 7
397 comment {
398 access 'read write'
399 type INTEGER
400 count 1
401 range '0 - 7'
402 dbmin -1500
403 dbmax 600
404 dbvalue.0 600
405 }
406 }
407 control.32 {
408 iface MIXER
409 name 'HPMIXR IN4R Volume'
410 value 7
411 comment {
412 access 'read write'
413 type INTEGER
414 count 1
415 range '0 - 7'
416 dbmin -1500
417 dbmax 600
418 dbvalue.0 600
419 }
420 }
421 control.33 {
422 iface MIXER
423 name 'HPMIXR MIXINL Volume'
424 value 1
425 comment {
426 access 'read write'
427 type INTEGER
428 count 1
429 range '0 - 1'
430 dbmin -600
431 dbmax 0
432 dbvalue.0 0
433 }
434 }
435 control.34 {
436 iface MIXER
437 name 'HPMIXR MIXINR Volume'
438 value 1
439 comment {
440 access 'read write'
441 type INTEGER
442 count 1
443 range '0 - 1'
444 dbmin -600
445 dbmax 0
446 dbvalue.0 0
447 }
448 }
449 control.35 {
450 iface MIXER
451 name 'Speaker Boost Volume'
452 value 3
453 comment {
454 access 'read write'
455 type INTEGER
456 count 1
457 range '0 - 7'
458 dbmin 0
459 dbmax 1200
460 dbvalue.0 450
461 }
462 }
463 control.36 {
464 iface MIXER
465 name 'EQ Switch'
466 value false
467 comment {
468 access 'read write'
469 type BOOLEAN
470 count 1
471 }
472 }
473 control.37 {
474 iface MIXER
475 name 'EQ1 Volume'
476 value.0 12
477 value.1 12
478 comment {
479 access 'read write'
480 type INTEGER
481 count 2
482 range '0 - 31'
483 dbmin -1200
484 dbmax 1900
485 dbvalue.0 0
486 dbvalue.1 0
487 }
488 }
489 control.38 {
490 iface MIXER
491 name 'EQ2 Volume'
492 value.0 12
493 value.1 12
494 comment {
495 access 'read write'
496 type INTEGER
497 count 2
498 range '0 - 31'
499 dbmin -1200
500 dbmax 1900
501 dbvalue.0 0
502 dbvalue.1 0
503 }
504 }
505 control.39 {
506 iface MIXER
507 name 'EQ3 Volume'
508 value.0 12
509 value.1 12
510 comment {
511 access 'read write'
512 type INTEGER
513 count 2
514 range '0 - 31'
515 dbmin -1200
516 dbmax 1900
517 dbvalue.0 0
518 dbvalue.1 0
519 }
520 }
521 control.40 {
522 iface MIXER
523 name 'EQ4 Volume'
524 value.0 12
525 value.1 12
526 comment {
527 access 'read write'
528 type INTEGER
529 count 2
530 range '0 - 31'
531 dbmin -1200
532 dbmax 1900
533 dbvalue.0 0
534 dbvalue.1 0
535 }
536 }
537 control.41 {
538 iface MIXER
539 name 'EQ5 Volume'
540 value.0 12
541 value.1 12
542 comment {
543 access 'read write'
544 type INTEGER
545 count 2
546 range '0 - 31'
547 dbmin -1200
548 dbmax 1900
549 dbvalue.0 0
550 dbvalue.1 0
551 }
552 }
553 control.42 {
554 iface MIXER
555 name 'VSS Switch'
556 value false
557 comment {
558 access 'read write'
559 type BOOLEAN
560 count 1
561 }
562 }
563 control.43 {
564 iface MIXER
565 name 'HPF1 Switch'
566 value false
567 comment {
568 access 'read write'
569 type BOOLEAN
570 count 1
571 }
572 }
573 control.44 {
574 iface MIXER
575 name 'HPF2 Switch'
576 value false
577 comment {
578 access 'read write'
579 type BOOLEAN
580 count 1
581 }
582 }
583 control.45 {
584 iface MIXER
585 name 'HD Bass Switch'
586 value false
587 comment {
588 access 'read write'
589 type BOOLEAN
590 count 1
591 }
592 }
593 control.46 {
594 iface MIXER
595 name 'Speaker Volume'
596 value.0 114
597 value.1 114
598 comment {
599 access 'read write'
600 type INTEGER
601 count 2
602 range '0 - 127'
603 dbmin -9999999
604 dbmax 600
605 dbvalue.0 -700
606 dbvalue.1 -700
607 }
608 }
609 control.47 {
610 iface MIXER
611 name 'Speaker Switch'
612 value.0 true
613 value.1 true
614 comment {
615 access 'read write'
616 type BOOLEAN
617 count 2
618 }
619 }
620 control.48 {
621 iface MIXER
622 name 'Speaker ZC Switch'
623 value.0 false
624 value.1 false
625 comment {
626 access 'read write'
627 type BOOLEAN
628 count 2
629 }
630 }
631 control.49 {
632 iface MIXER
633 name 'Speaker Mixer Switch'
634 value.0 false
635 value.1 false
636 comment {
637 access 'read write'
638 type BOOLEAN
639 count 2
640 }
641 }
642 control.50 {
643 iface MIXER
644 name 'SPKOUTL Mixer IN4L Volume'
645 value 7
646 comment {
647 access 'read write'
648 type INTEGER
649 count 1
650 range '0 - 7'
651 dbmin -1500
652 dbmax 600
653 dbvalue.0 600
654 }
655 }
656 control.51 {
657 iface MIXER
658 name 'SPKOUTL Mixer IN4R Volume'
659 value 7
660 comment {
661 access 'read write'
662 type INTEGER
663 count 1
664 range '0 - 7'
665 dbmin -1500
666 dbmax 600
667 dbvalue.0 600
668 }
669 }
670 control.52 {
671 iface MIXER
672 name 'SPKOUTL Mixer MIXINL Volume'
673 value 1
674 comment {
675 access 'read write'
676 type INTEGER
677 count 1
678 range '0 - 1'
679 dbmin -600
680 dbmax 0
681 dbvalue.0 0
682 }
683 }
684 control.53 {
685 iface MIXER
686 name 'SPKOUTL Mixer MIXINR Volume'
687 value 1
688 comment {
689 access 'read write'
690 type INTEGER
691 count 1
692 range '0 - 1'
693 dbmin -600
694 dbmax 0
695 dbvalue.0 0
696 }
697 }
698 control.54 {
699 iface MIXER
700 name 'SPKOUTL Mixer DACL Volume'
701 value 0
702 comment {
703 access 'read write'
704 type INTEGER
705 count 1
706 range '0 - 1'
707 dbmin -600
708 dbmax 0
709 dbvalue.0 -600
710 }
711 }
712 control.55 {
713 iface MIXER
714 name 'SPKOUTL Mixer DACR Volume'
715 value 0
716 comment {
717 access 'read write'
718 type INTEGER
719 count 1
720 range '0 - 1'
721 dbmin -600
722 dbmax 0
723 dbvalue.0 -600
724 }
725 }
726 control.56 {
727 iface MIXER
728 name 'SPKOUTR Mixer IN4L Volume'
729 value 7
730 comment {
731 access 'read write'
732 type INTEGER
733 count 1
734 range '0 - 7'
735 dbmin -1500
736 dbmax 600
737 dbvalue.0 600
738 }
739 }
740 control.57 {
741 iface MIXER
742 name 'SPKOUTR Mixer IN4R Volume'
743 value 7
744 comment {
745 access 'read write'
746 type INTEGER
747 count 1
748 range '0 - 7'
749 dbmin -1500
750 dbmax 600
751 dbvalue.0 600
752 }
753 }
754 control.58 {
755 iface MIXER
756 name 'SPKOUTR Mixer MIXINL Volume'
757 value 1
758 comment {
759 access 'read write'
760 type INTEGER
761 count 1
762 range '0 - 1'
763 dbmin -600
764 dbmax 0
765 dbvalue.0 0
766 }
767 }
768 control.59 {
769 iface MIXER
770 name 'SPKOUTR Mixer MIXINR Volume'
771 value 1
772 comment {
773 access 'read write'
774 type INTEGER
775 count 1
776 range '0 - 1'
777 dbmin -600
778 dbmax 0
779 dbvalue.0 0
780 }
781 }
782 control.60 {
783 iface MIXER
784 name 'SPKOUTR Mixer DACL Volume'
785 value 0
786 comment {
787 access 'read write'
788 type INTEGER
789 count 1
790 range '0 - 1'
791 dbmin -600
792 dbmax 0
793 dbvalue.0 -600
794 }
795 }
796 control.61 {
797 iface MIXER
798 name 'SPKOUTR Mixer DACR Volume'
799 value 0
800 comment {
801 access 'read write'
802 type INTEGER
803 count 1
804 range '0 - 1'
805 dbmin -600
806 dbmax 0
807 dbvalue.0 -600
808 }
809 }
810 control.62 {
811 iface MIXER
812 name 'SPKOUTR PGA'
813 value DAC
814 comment {
815 access 'read write'
816 type ENUMERATED
817 count 1
818 item.0 DAC
819 item.1 Mixer
820 }
821 }
822 control.63 {
823 iface MIXER
824 name 'SPKOUTL PGA'
825 value DAC
826 comment {
827 access 'read write'
828 type ENUMERATED
829 count 1
830 item.0 DAC
831 item.1 Mixer
832 }
833 }
834 control.64 {
835 iface MIXER
836 name 'SPKOUTR Mixer DACL Switch'
837 value false
838 comment {
839 access 'read write'
840 type BOOLEAN
841 count 1
842 }
843 }
844 control.65 {
845 iface MIXER
846 name 'SPKOUTR Mixer DACR Switch'
847 value false
848 comment {
849 access 'read write'
850 type BOOLEAN
851 count 1
852 }
853 }
854 control.66 {
855 iface MIXER
856 name 'SPKOUTR Mixer MIXINL Switch'
857 value false
858 comment {
859 access 'read write'
860 type BOOLEAN
861 count 1
862 }
863 }
864 control.67 {
865 iface MIXER
866 name 'SPKOUTR Mixer MIXINR Switch'
867 value false
868 comment {
869 access 'read write'
870 type BOOLEAN
871 count 1
872 }
873 }
874 control.68 {
875 iface MIXER
876 name 'SPKOUTR Mixer IN4L Switch'
877 value false
878 comment {
879 access 'read write'
880 type BOOLEAN
881 count 1
882 }
883 }
884 control.69 {
885 iface MIXER
886 name 'SPKOUTR Mixer IN4R Switch'
887 value false
888 comment {
889 access 'read write'
890 type BOOLEAN
891 count 1
892 }
893 }
894 control.70 {
895 iface MIXER
896 name 'SPKOUTL Mixer DACL Switch'
897 value false
898 comment {
899 access 'read write'
900 type BOOLEAN
901 count 1
902 }
903 }
904 control.71 {
905 iface MIXER
906 name 'SPKOUTL Mixer DACR Switch'
907 value false
908 comment {
909 access 'read write'
910 type BOOLEAN
911 count 1
912 }
913 }
914 control.72 {
915 iface MIXER
916 name 'SPKOUTL Mixer MIXINL Switch'
917 value false
918 comment {
919 access 'read write'
920 type BOOLEAN
921 count 1
922 }
923 }
924 control.73 {
925 iface MIXER
926 name 'SPKOUTL Mixer MIXINR Switch'
927 value false
928 comment {
929 access 'read write'
930 type BOOLEAN
931 count 1
932 }
933 }
934 control.74 {
935 iface MIXER
936 name 'SPKOUTL Mixer IN4L Switch'
937 value false
938 comment {
939 access 'read write'
940 type BOOLEAN
941 count 1
942 }
943 }
944 control.75 {
945 iface MIXER
946 name 'SPKOUTL Mixer IN4R Switch'
947 value false
948 comment {
949 access 'read write'
950 type BOOLEAN
951 count 1
952 }
953 }
954 control.76 {
955 iface MIXER
956 name 'HPOUTR PGA'
957 value DAC
958 comment {
959 access 'read write'
960 type ENUMERATED
961 count 1
962 item.0 DAC
963 item.1 Mixer
964 }
965 }
966 control.77 {
967 iface MIXER
968 name 'HPOUTL PGA'
969 value DAC
970 comment {
971 access 'read write'
972 type ENUMERATED
973 count 1
974 item.0 DAC
975 item.1 Mixer
976 }
977 }
978 control.78 {
979 iface MIXER
980 name 'HPMIXR DACL Switch'
981 value false
982 comment {
983 access 'read write'
984 type BOOLEAN
985 count 1
986 }
987 }
988 control.79 {
989 iface MIXER
990 name 'HPMIXR DACR Switch'
991 value false
992 comment {
993 access 'read write'
994 type BOOLEAN
995 count 1
996 }
997 }
998 control.80 {
999 iface MIXER
1000 name 'HPMIXR MIXINL Switch'
1001 value false
1002 comment {
1003 access 'read write'
1004 type BOOLEAN
1005 count 1
1006 }
1007 }
1008 control.81 {
1009 iface MIXER
1010 name 'HPMIXR MIXINR Switch'
1011 value false
1012 comment {
1013 access 'read write'
1014 type BOOLEAN
1015 count 1
1016 }
1017 }
1018 control.82 {
1019 iface MIXER
1020 name 'HPMIXR IN4L Switch'
1021 value false
1022 comment {
1023 access 'read write'
1024 type BOOLEAN
1025 count 1
1026 }
1027 }
1028 control.83 {
1029 iface MIXER
1030 name 'HPMIXR IN4R Switch'
1031 value false
1032 comment {
1033 access 'read write'
1034 type BOOLEAN
1035 count 1
1036 }
1037 }
1038 control.84 {
1039 iface MIXER
1040 name 'HPMIXL DACL Switch'
1041 value false
1042 comment {
1043 access 'read write'
1044 type BOOLEAN
1045 count 1
1046 }
1047 }
1048 control.85 {
1049 iface MIXER
1050 name 'HPMIXL DACR Switch'
1051 value false
1052 comment {
1053 access 'read write'
1054 type BOOLEAN
1055 count 1
1056 }
1057 }
1058 control.86 {
1059 iface MIXER
1060 name 'HPMIXL MIXINL Switch'
1061 value false
1062 comment {
1063 access 'read write'
1064 type BOOLEAN
1065 count 1
1066 }
1067 }
1068 control.87 {
1069 iface MIXER
1070 name 'HPMIXL MIXINR Switch'
1071 value false
1072 comment {
1073 access 'read write'
1074 type BOOLEAN
1075 count 1
1076 }
1077 }
1078 control.88 {
1079 iface MIXER
1080 name 'HPMIXL IN4L Switch'
1081 value false
1082 comment {
1083 access 'read write'
1084 type BOOLEAN
1085 count 1
1086 }
1087 }
1088 control.89 {
1089 iface MIXER
1090 name 'HPMIXL IN4R Switch'
1091 value false
1092 comment {
1093 access 'read write'
1094 type BOOLEAN
1095 count 1
1096 }
1097 }
1098 control.90 {
1099 iface MIXER
1100 name STR
1101 value None
1102 comment {
1103 access 'read write'
1104 type ENUMERATED
1105 count 1
1106 item.0 None
1107 item.1 Right
1108 item.2 Left
1109 }
1110 }
1111 control.91 {
1112 iface MIXER
1113 name STL
1114 value None
1115 comment {
1116 access 'read write'
1117 type ENUMERATED
1118 count 1
1119 item.0 None
1120 item.1 Right
1121 item.2 Left
1122 }
1123 }
1124 control.92 {
1125 iface MIXER
1126 name 'MIXINR IN2R Switch'
1127 value false
1128 comment {
1129 access 'read write'
1130 type BOOLEAN
1131 count 1
1132 }
1133 }
1134 control.93 {
1135 iface MIXER
1136 name 'MIXINR IN3R Switch'
1137 value false
1138 comment {
1139 access 'read write'
1140 type BOOLEAN
1141 count 1
1142 }
1143 }
1144 control.94 {
1145 iface MIXER
1146 name 'MIXINR PGA Switch'
1147 value true
1148 comment {
1149 access 'read write'
1150 type BOOLEAN
1151 count 1
1152 }
1153 }
1154 control.95 {
1155 iface MIXER
1156 name 'MIXINL IN2L Switch'
1157 value false
1158 comment {
1159 access 'read write'
1160 type BOOLEAN
1161 count 1
1162 }
1163 }
1164 control.96 {
1165 iface MIXER
1166 name 'MIXINL IN3L Switch'
1167 value false
1168 comment {
1169 access 'read write'
1170 type BOOLEAN
1171 count 1
1172 }
1173 }
1174 control.97 {
1175 iface MIXER
1176 name 'MIXINL PGA Switch'
1177 value true
1178 comment {
1179 access 'read write'
1180 type BOOLEAN
1181 count 1
1182 }
1183 }
1184 control.98 {
1185 iface MIXER
1186 name 'INPGAR IN1R Switch'
1187 value true
1188 comment {
1189 access 'read write'
1190 type BOOLEAN
1191 count 1
1192 }
1193 }
1194 control.99 {
1195 iface MIXER
1196 name 'INPGAR IN2R Switch'
1197 value false
1198 comment {
1199 access 'read write'
1200 type BOOLEAN
1201 count 1
1202 }
1203 }
1204 control.100 {
1205 iface MIXER
1206 name 'INPGAR IN3R Switch'
1207 value false
1208 comment {
1209 access 'read write'
1210 type BOOLEAN
1211 count 1
1212 }
1213 }
1214 control.101 {
1215 iface MIXER
1216 name 'INPGAR IN4R Switch'
1217 value false
1218 comment {
1219 access 'read write'
1220 type BOOLEAN
1221 count 1
1222 }
1223 }
1224 control.102 {
1225 iface MIXER
1226 name 'INPGAL IN1L Switch'
1227 value true
1228 comment {
1229 access 'read write'
1230 type BOOLEAN
1231 count 1
1232 }
1233 }
1234 control.103 {
1235 iface MIXER
1236 name 'INPGAL IN2L Switch'
1237 value false
1238 comment {
1239 access 'read write'
1240 type BOOLEAN
1241 count 1
1242 }
1243 }
1244 control.104 {
1245 iface MIXER
1246 name 'INPGAL IN3L Switch'
1247 value false
1248 comment {
1249 access 'read write'
1250 type BOOLEAN
1251 count 1
1252 }
1253 }
1254 control.105 {
1255 iface MIXER
1256 name 'INPGAL IN4L Switch'
1257 value false
1258 comment {
1259 access 'read write'
1260 type BOOLEAN
1261 count 1
1262 }
1263 }
1264}
diff --git a/recipes-bsp/alsa-state/alsa-state/mxs/asound.state b/recipes-bsp/alsa-state/alsa-state/mxs/asound.state
new file mode 100644
index 0000000..d508cc3
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/mxs/asound.state
@@ -0,0 +1,191 @@
1state.mxsevk {
2 control.1 {
3 iface MIXER
4 name 'MIC GAIN'
5 value '0dB'
6 comment {
7 access 'read write'
8 type ENUMERATED
9 count 1
10 item.0 '0dB'
11 item.1 '20dB'
12 item.2 '30dB'
13 item.3 '40dB'
14 }
15 }
16 control.2 {
17 iface MIXER
18 name 'Capture Volume'
19 value.0 12
20 value.1 12
21 comment {
22 access 'read write'
23 type INTEGER
24 count 2
25 range '0 - 15'
26 }
27 }
28 control.3 {
29 iface MIXER
30 name 'Capture Vol Reduction'
31 value 'No Change'
32 comment {
33 access 'read write'
34 type ENUMERATED
35 count 1
36 item.0 'No Change'
37 item.1 'Reduced by 6dB'
38 }
39 }
40 control.4 {
41 iface MIXER
42 name 'Playback Volume'
43 value.0 156
44 value.1 156
45 comment {
46 access 'read write'
47 type INTEGER
48 count 2
49 range '0 - 192'
50 }
51 }
52 control.5 {
53 iface MIXER
54 name 'Headphone Volume'
55 value.0 127
56 value.1 127
57 comment {
58 access 'read write'
59 type INTEGER
60 count 2
61 range '0 - 127'
62 }
63 }
64 control.6 {
65 iface MIXER
66 name 'DAC Mux'
67 value DAC
68 comment {
69 access 'read write'
70 type ENUMERATED
71 count 1
72 item.0 DAC
73 item.1 LINE_IN
74 }
75 }
76 control.7 {
77 iface MIXER
78 name 'ADC Mux'
79 value MIC_IN
80 comment {
81 access 'read write'
82 type ENUMERATED
83 count 1
84 item.0 MIC_IN
85 item.1 LINE_IN
86 }
87 }
88}
89state.mxsevk_1 {
90 control.1 {
91 iface MIXER
92 name PRO
93 value false
94 comment {
95 access 'read write'
96 type BOOLEAN
97 count 1
98 }
99 }
100 control.2 {
101 iface MIXER
102 name AUDIO
103 value false
104 comment {
105 access 'read write'
106 type BOOLEAN
107 count 1
108 }
109 }
110 control.3 {
111 iface MIXER
112 name COPY
113 value false
114 comment {
115 access 'read write'
116 type BOOLEAN
117 count 1
118 }
119 }
120 control.4 {
121 iface MIXER
122 name PRE
123 value false
124 comment {
125 access 'read write'
126 type BOOLEAN
127 count 1
128 }
129 }
130 control.5 {
131 iface MIXER
132 name CC
133 value 0
134 comment {
135 access 'read write'
136 type INTEGER
137 count 1
138 range '0 - 127'
139 }
140 }
141 control.6 {
142 iface MIXER
143 name L
144 value false
145 comment {
146 access 'read write'
147 type BOOLEAN
148 count 1
149 }
150 }
151 control.7 {
152 iface MIXER
153 name V
154 value false
155 comment {
156 access 'read write'
157 type BOOLEAN
158 count 1
159 }
160 }
161 control.8 {
162 iface MIXER
163 name 'USER DATA'
164 value false
165 comment {
166 access 'read write'
167 type BOOLEAN
168 count 1
169 }
170 }
171 control.9 {
172 iface MIXER
173 name 'AUTO MUTE'
174 value false
175 comment {
176 access 'read write'
177 type BOOLEAN
178 count 1
179 }
180 }
181 control.10 {
182 iface MIXER
183 name 'V CONFIG'
184 value false
185 comment {
186 access 'read write'
187 type BOOLEAN
188 count 1
189 }
190 }
191}