mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf/ucm: VEYRON-I2S: Add internal speakers and mic, other fixes
Other fixes include output/input names (comments) for UIs (pavucontrol) to display, and Playback/CapturePCM entries so pulseaudio initializes correctly on this hardware. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									6f134a822a
								
							
						
					
					
						commit
						4bf0e481e6
					
				
					 1 changed files with 38 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -47,9 +47,45 @@ SectionVerb {
 | 
			
		|||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
SectionDevice."Speaker".0 {
 | 
			
		||||
	Comment "Speaker"
 | 
			
		||||
	Value {
 | 
			
		||||
		PlaybackPCM "hw:VEYRONI2S,0"
 | 
			
		||||
	}
 | 
			
		||||
	EnableSequence [
 | 
			
		||||
		cdev "hw:VEYRONI2S"
 | 
			
		||||
 | 
			
		||||
		cset "name='Speaker Switch' on"
 | 
			
		||||
	]
 | 
			
		||||
	DisableSequence [
 | 
			
		||||
		cdev "hw:VEYRONI2S"
 | 
			
		||||
 | 
			
		||||
		cset "name='Speaker Switch' off"
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
SectionDevice."Internal Mic".0 {
 | 
			
		||||
	Comment "Int Mic"
 | 
			
		||||
	Value {
 | 
			
		||||
		CapturePCM "hw:VEYRONI2S,0"
 | 
			
		||||
	}
 | 
			
		||||
	EnableSequence [
 | 
			
		||||
		cdev "hw:VEYRONI2S"
 | 
			
		||||
 | 
			
		||||
		cset "name='Int Mic Switch' on"
 | 
			
		||||
	]
 | 
			
		||||
	DisableSequence [
 | 
			
		||||
		cdev "hw:VEYRONI2S"
 | 
			
		||||
 | 
			
		||||
		cset "name='Int Mic Switch' off"
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
SectionDevice."Headphone".0 {
 | 
			
		||||
	Comment "Headphone"
 | 
			
		||||
	Value {
 | 
			
		||||
		JackName "VEYRON-I2S Headset Jack"
 | 
			
		||||
		PlaybackPCM "hw:VEYRONI2S,0"
 | 
			
		||||
		OutputDspName ""
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -70,8 +106,10 @@ SectionDevice."Headphone".0 {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
SectionDevice."Mic".0 {
 | 
			
		||||
	Comment "Headset Mic"
 | 
			
		||||
	Value {
 | 
			
		||||
		JackName "VEYRON-I2S Headset Jack"
 | 
			
		||||
		CapturePCM "hw:VEYRONI2S,0"
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	EnableSequence [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue