mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf/ucm: broadwell-rt286: change to set capture volume and capture device
Set 'Mic Capture Volume' in capture device EnableSequence, to fix capture no volume by default issue. Also add JackHWMute Value item to mute onboard dmic while headset mic is plugged in. Signed-off-by: Jie Yang <yang.jie@intel.com> Tested-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									434f2f021f
								
							
						
					
					
						commit
						404951da5e
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -86,6 +86,7 @@ SectionDevice."Handset" {
 | 
				
			||||||
	EnableSequence [
 | 
						EnableSequence [
 | 
				
			||||||
		cdev "hw:broadwellrt286"
 | 
							cdev "hw:broadwellrt286"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							cset "name='Mic Capture Volume' 28"
 | 
				
			||||||
		cset "name='ADC 0 Mux' 0"
 | 
							cset "name='ADC 0 Mux' 0"
 | 
				
			||||||
		cset "name='ADC0 Capture Switch' on"
 | 
							cset "name='ADC0 Capture Switch' on"
 | 
				
			||||||
		cset "name='ADC0 Capture Volume' 127"
 | 
							cset "name='ADC0 Capture Volume' 127"
 | 
				
			||||||
| 
						 | 
					@ -99,6 +100,9 @@ SectionDevice."Handset" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Value {
 | 
						Value {
 | 
				
			||||||
		CaptureChannels "2"
 | 
							CaptureChannels "2"
 | 
				
			||||||
 | 
							JackDev "rt286-jack"
 | 
				
			||||||
 | 
							JackControl "Mic Jack"
 | 
				
			||||||
 | 
							JackHWMute "Mainmic"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -112,6 +116,7 @@ SectionDevice."Mainmic" {
 | 
				
			||||||
	EnableSequence [
 | 
						EnableSequence [
 | 
				
			||||||
		cdev "hw:broadwellrt286"
 | 
							cdev "hw:broadwellrt286"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							cset "name='Mic Capture Volume' 30"
 | 
				
			||||||
		cset "name='ADC 0 Mux' 2"
 | 
							cset "name='ADC 0 Mux' 2"
 | 
				
			||||||
		cset "name='ADC0 Capture Switch' on"
 | 
							cset "name='ADC0 Capture Switch' on"
 | 
				
			||||||
		cset "name='ADC0 Capture Volume' 127"
 | 
							cset "name='ADC0 Capture Volume' 127"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue