1SectionVerb { 2 Value { 3 OutputDspName "speaker_eq" 4 } 5 6 EnableSequence [ 7 cdev "hw:chtrt5645" 8 9 cset "name='codec_out1 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_out1 Gain 0 Ramp Delay' 50" 21 cset "name='codec_out1 Gain 0 Switch' off" 22 cset "name='codec_out1 Gain 0 Volume' 70% 70%" 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='DAC R2 Mux' 'IF1 DAC'" 29 cset "name='DAC L2 Mux' 'IF1 DAC'" 30 cset "name='Mono DAC MIXL DAC L2 Switch' on" 31 cset "name='Mono DAC MIXR DAC R2 Switch' on" 32 cset "name='DAC2 Playback Switch' on" 33 34 cset "name='HPOVOL MIXL DAC2 Switch' on" 35 cset "name='HPOVOL MIXR DAC2 Switch' on" 36 cset "name='HPO MIX HPVOL Switch' on" 37 cset "name='HPOVOL L Switch' on" 38 cset "name='HPOVOL R Switch' on" 39 40 cset "name='SPK MIXL DAC L2 Switch' on" 41 cset "name='SPK MIXR DAC R2 Switch' on" 42 cset "name='SPOL MIX SPKVOL L Switch' on" 43 cset "name='SPOR MIX SPKVOL R Switch' on" 44 cset "name='SPKVOL L Switch' on" 45 cset "name='SPKVOL R Switch' on" 46 47 cset "name='Headset Mic Switch' off" 48 cset "name='Int Mic Switch' on" 49 cset "name='ADC Capture Switch' on" 50 cset "name='Stereo1 DMIC Mux' 0" 51 cset "name='Stereo1 ADC2 Mux' 1" 52 cset "name='I2S2 Func Switch' 0" 53 cset "name='pcm1_out mix 0 media_loop2_in Switch' 1" 54 cset "name='media_loop2_out mix 0 codec_in0 Switch' 1" 55 cset "name='codec_in0 Gain 0 Ramp Delay' 50" 56 cset "name='codec_in0 Gain 0 Switch' off" 57 cset "name='codec_in0 Gain 0 Volume' 80% 80%" 58 cset "name='media_loop2_out Gain 0 Ramp Delay' 50" 59 cset "name='media_loop2_out Gain 0 Switch' off" 60 cset "name='media_loop2_out Gain 0 Volume' 80% 80%" 61 cset "name='pcm1_out Gain 0 Ramp Delay' 50" 62 cset "name='pcm1_out Gain 0 Switch' off" 63 cset "name='pcm1_out Gain 0 Volume' 80% 80%" 64 ] 65 66 DisableSequence [ 67 ] 68} 69 70SectionDevice."Headphone".0 { 71 Value { 72 JackName "chtrt5645 Headphone Jack" 73 OutputDspName "" 74 } 75 76 EnableSequence [ 77 cdev "hw:chtrt5645" 78 cset "name='Ext Spk Switch' off" 79 cset "name='Speaker Channel Switch' off" 80 cset "name='Ext HP Switch' on" 81 cset "name='HP Channel Switch' on" 82 ] 83 84 DisableSequence [ 85 cdev "hw:chtrt5645" 86 cset "name='Ext Spk Switch' on" 87 cset "name='Speaker Channel Switch' on" 88 cset "name='Ext HP Switch' off" 89 cset "name='HP Channel Switch' off" 90 ] 91} 92 93SectionDevice."Mic".0 { 94 Value { 95 JackName "chtrt5645 Mic Jack" 96 } 97 98 EnableSequence [ 99 cdev "hw:chtrt5645" 100 cset "name='Headset Mic Switch' on" 101 cset "name='Int Mic Switch' off" 102 cset "name='Sto1 ADC MIXL ADC2 Switch' 0" 103 cset "name='Sto1 ADC MIXR ADC2 Switch' 0" 104 cset "name='RECMIXL BST1 Switch' 1" 105 cset "name='RECMIXR BST1 Switch' 1" 106 cset "name='Sto1 ADC MIXL ADC1 Switch' 1" 107 cset "name='Sto1 ADC MIXR ADC1 Switch' 1" 108 ] 109 110 DisableSequence [ 111 cdev "hw:chtrt5645" 112 cset "name='Headset Mic Switch' off" 113 cset "name='Int Mic Switch' on" 114 cset "name='RECMIXL BST1 Switch' 0" 115 cset "name='RECMIXR BST1 Switch' 0" 116 cset "name='Sto1 ADC MIXL ADC1 Switch' 0" 117 cset "name='Sto1 ADC MIXR ADC1 Switch' 0" 118 cset "name='Sto1 ADC MIXL ADC2 Switch' 1" 119 cset "name='Sto1 ADC MIXR ADC2 Switch' 1" 120 ] 121} 122