mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa-mixer: Support more phantom jacks
It's fairly uncommon, but it happens that jack detection is enabled for some reason, e g hardware design. In that case, we cannot use jack detection, but we can still use the hint to pick up that there is a path. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
		
							parent
							
								
									560ce5ece0
								
							
						
					
					
						commit
						1a3f800799
					
				
					 6 changed files with 35 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -25,6 +25,11 @@ name = analog-input-microphone-dock
 | 
			
		|||
[Jack Dock Mic]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Dock Mic Phantom]
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Element Dock Mic Boost]
 | 
			
		||||
required-any = any
 | 
			
		||||
switch = select
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,11 @@ name = analog-input-microphone-front
 | 
			
		|||
[Jack Front Mic]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Front Mic Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
[Element Front Mic Boost]
 | 
			
		||||
required-any = any
 | 
			
		||||
switch = select
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,6 +24,11 @@ priority = 81
 | 
			
		|||
[Jack Line]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Line Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
[Element Capture]
 | 
			
		||||
switch = mute
 | 
			
		||||
volume = merge
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,11 @@ name = analog-input-microphone
 | 
			
		|||
[Jack Mic]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Mic Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
[Element Mic Boost]
 | 
			
		||||
required-any = any
 | 
			
		||||
switch = select
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,11 @@ name = analog-input-microphone-rear
 | 
			
		|||
[Jack Rear Mic]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Rear Mic Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
[Element Rear Mic Boost]
 | 
			
		||||
required-any = any
 | 
			
		||||
switch = select
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,9 +28,19 @@ device.icon_name = audio-headphones
 | 
			
		|||
[Jack Front Headphone]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Front Headphone Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
[Jack Headphone]
 | 
			
		||||
required-any = any
 | 
			
		||||
 | 
			
		||||
[Jack Headphone Phantom]
 | 
			
		||||
required-any = any
 | 
			
		||||
state.plugged = unknown
 | 
			
		||||
state.unplugged = unknown
 | 
			
		||||
 | 
			
		||||
# This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
 | 
			
		||||
[Jack Headphone Mic]
 | 
			
		||||
required-any = any
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue