1SectionVerb { 2 Value { 3 OutputDspName "speaker_eq" 4 } 5 6 EnableSequence [ 7 cdev "hw:chtrt5650" 8 9 cset "name='codec_out0 mix 0 pcm0_in Switch' on" 10 cset "name='media0_out mix 0 media1_in Switch' on" 11 12 cset "name='media1_in Gain 0 Ramp Delay' 50" 13 cset "name='media1_in Gain 0 Switch' off" 14 cset "name='media1_in Gain 0 Volume' 80% 80%" 15 16 cset "name='pcm0_in Gain 0 Ramp Delay' 50" 17 cset "name='pcm0_in Gain 0 Switch' off" 18 cset "name='pcm0_in Gain 0 Volume' 80% 80%" 19 20 cset "name='codec_out0 Gain 0 Ramp Delay' 50" 21 cset "name='codec_out0 Gain 0 Switch' off" 22 cset "name='codec_out0 Gain 0 Volume' 80% 80%" 23 24 cset "name='Ext Spk Switch' on" 25 cset "name='Speaker Channel Switch' on" 26 cset "name='Ext HP Switch' off" 27 28 cset "name='Stereo DAC MIXL DAC L1 Switch' on" 29 cset "name='Stereo DAC MIXR DAC R1 Switch' on" 30 cset "name='DAC1 MIXL DAC1 Switch' on" 31 cset "name='DAC1 MIXR DAC1 Switch' on" 32 33 cset "name='SPK MIXL DAC L1 Switch' on" 34 cset "name='SPK MIXR DAC R1 Switch' on" 35 cset "name='SPOL MIX SPKVOL L Switch' on" 36 cset "name='SPOR MIX SPKVOL R Switch' on" 37 cset "name='SPKVOL L Switch' on" 38 cset "name='SPKVOL R Switch' on" 39 cset "name='Speaker Channel Switch' on" 40 41 cset "name='HPOVOL MIXL DAC1 Switch' on" 42 cset "name='HPOVOL MIXR DAC1 Switch' on" 43 cset "name='HPO MIX HPVOL Switch' on" 44 cset "name='HPOVOL L Switch' on" 45 cset "name='HPOVOL R Switch' on" 46 cset "name='Headphone Channel Switch' on" 47 48 cset "name='Headset Mic Switch' off" 49 cset "name='Int Mic Switch' on" 50 cset "name='ADC Capture Switch' on" 51 cset "name='Stereo1 DMIC Mux' 1" 52 cset "name='Stereo1 ADC2 Mux' 1" 53 cset "name='I2S2 Func Switch' 0" 54 cset "name='RT5650 IF1 ADC Mux' 0" 55 cset "name='ADC Capture Volume' 74" 56 57 cset "name='Sto1 ADC MIXL ADC1 Switch' 0" 58 cset "name='Sto1 ADC MIXR ADC1 Switch' 0" 59 cset "name='Sto1 ADC MIXL ADC2 Switch' 1" 60 cset "name='Sto1 ADC MIXR ADC2 Switch' 1" 61 62 cset "name='pcm1_out mix 0 media_loop2_in Switch' 1" 63 cset "name='media_loop2_out mix 0 codec_in0 Switch' 1" 64 cset "name='codec_in0 Gain 0 Ramp Delay' 50" 65 cset "name='codec_in0 Gain 0 Switch' off" 66 cset "name='codec_in0 Gain 0 Volume' 80% 80%" 67 cset "name='media_loop2_out Gain 0 Ramp Delay' 50" 68 cset "name='media_loop2_out Gain 0 Switch' off" 69 cset "name='media_loop2_out Gain 0 Volume' 80% 80%" 70 cset "name='pcm1_out Gain 0 Ramp Delay' 50" 71 cset "name='pcm1_out Gain 0 Switch' off" 72 cset "name='pcm1_out Gain 0 Volume' 80% 80%" 73 74 75 ] 76 77 DisableSequence [ 78 ] 79} 80 81SectionDevice."Headphone".0 { 82 Value { 83 JackName "chtrt5650 Headset Jack" 84 OutputDspName "" 85 } 86 87 EnableSequence [ 88 cdev "hw:chtrt5650" 89 cset "name='Ext Spk Switch' off" 90 cset "name='Ext HP Switch' on" 91 ] 92 DisableSequence [ 93 cdev "hw:chtrt5650" 94 cset "name='Ext Spk Switch' on" 95 cset "name='Ext HP Switch' off" 96 ] 97} 98 99SectionDevice."Mic".0 { 100 Value { 101 JackName "chtrt5650 Headset Jack" 102 } 103 104 EnableSequence [ 105 cdev "hw:chtrt5650" 106 cset "name='Headset Mic Switch' on" 107 cset "name='Int Mic Switch' off" 108 cset "name='Sto1 ADC MIXL ADC2 Switch' 0" 109 cset "name='Sto1 ADC MIXR ADC2 Switch' 0" 110 cset "name='RECMIXL BST1 Switch' 1" 111 cset "name='RECMIXR BST1 Switch' 1" 112 cset "name='Sto1 ADC MIXL ADC1 Switch' 1" 113 cset "name='Sto1 ADC MIXR ADC1 Switch' 1" 114 cset "name='IN1 Boost' 1" 115 ] 116 117 DisableSequence [ 118 cdev "hw:chtrt5650" 119 cset "name='Headset Mic Switch' off" 120 cset "name='Int Mic Switch' on" 121 cset "name='RECMIXL BST1 Switch' 0" 122 cset "name='RECMIXR BST1 Switch' 0" 123 cset "name='Sto1 ADC MIXL ADC1 Switch' 0" 124 cset "name='Sto1 ADC MIXR ADC1 Switch' 0" 125 cset "name='Sto1 ADC MIXL ADC2 Switch' 1" 126 cset "name='Sto1 ADC MIXR ADC2 Switch' 1" 127 cset "name='IN1 Boost' 0" 128 ] 129} 130