mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf: HDA-Intel: increase the max number of HDMI/DP output to 11
Intel TGL HDMI/DP codec provides 9 pins (Linux kernel, 9a11ba7388f16: ALSA: hda: hdmi - add Tigerlake support), and with the DP MST enabled, the linux kernel will build 11 output devices (3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16), and current alsa-lib only maps the first 8 output devices, if users plug the HDMI/DP monitor to the last 3 ports, the users will not see the output device from pulseaudio or gnome. We have experienced this issue on a dell TGL machine with a dock, we plugged 2 HDMP/DP monitors on the dock, but we could only see 1 HDMI/DP output device from pulseaudio or gnome, through investigation, we found one monitor is plugged in the 2nd port from last. Signed-off-by: Hui Wang <hui.wang@canonical.com> BugLink: https://github.com/alsa-project/alsa-lib/pull/118 Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									0d232d714a
								
							
						
					
					
						commit
						dfbac0e769
					
				
					 1 changed files with 69 additions and 0 deletions
				
			
		| 
						 | 
					@ -398,6 +398,75 @@ HDA-Intel.pcm.hdmi.7 {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					HDA-Intel.pcm.hdmi.8 {
 | 
				
			||||||
 | 
						@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
				
			||||||
 | 
						@args.CARD { type string }
 | 
				
			||||||
 | 
						@args.AES0 { type integer }
 | 
				
			||||||
 | 
						@args.AES1 { type integer }
 | 
				
			||||||
 | 
						@args.AES2 { type integer }
 | 
				
			||||||
 | 
						@args.AES3 { type integer }
 | 
				
			||||||
 | 
						@func refer
 | 
				
			||||||
 | 
						name {
 | 
				
			||||||
 | 
							@func concat
 | 
				
			||||||
 | 
							strings [
 | 
				
			||||||
 | 
								"cards.HDA-Intel.pcm.hdmi.common:"
 | 
				
			||||||
 | 
								"CARD=" $CARD ","
 | 
				
			||||||
 | 
								"DEVICE=14,"
 | 
				
			||||||
 | 
								"CTLINDEX=8,"
 | 
				
			||||||
 | 
								"AES0=" $AES0 ","
 | 
				
			||||||
 | 
								"AES1=" $AES1 ","
 | 
				
			||||||
 | 
								"AES2=" $AES2 ","
 | 
				
			||||||
 | 
								"AES3=" $AES3
 | 
				
			||||||
 | 
							]
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					HDA-Intel.pcm.hdmi.9 {
 | 
				
			||||||
 | 
						@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
				
			||||||
 | 
						@args.CARD { type string }
 | 
				
			||||||
 | 
						@args.AES0 { type integer }
 | 
				
			||||||
 | 
						@args.AES1 { type integer }
 | 
				
			||||||
 | 
						@args.AES2 { type integer }
 | 
				
			||||||
 | 
						@args.AES3 { type integer }
 | 
				
			||||||
 | 
						@func refer
 | 
				
			||||||
 | 
						name {
 | 
				
			||||||
 | 
							@func concat
 | 
				
			||||||
 | 
							strings [
 | 
				
			||||||
 | 
								"cards.HDA-Intel.pcm.hdmi.common:"
 | 
				
			||||||
 | 
								"CARD=" $CARD ","
 | 
				
			||||||
 | 
								"DEVICE=15,"
 | 
				
			||||||
 | 
								"CTLINDEX=9,"
 | 
				
			||||||
 | 
								"AES0=" $AES0 ","
 | 
				
			||||||
 | 
								"AES1=" $AES1 ","
 | 
				
			||||||
 | 
								"AES2=" $AES2 ","
 | 
				
			||||||
 | 
								"AES3=" $AES3
 | 
				
			||||||
 | 
							]
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					HDA-Intel.pcm.hdmi.10 {
 | 
				
			||||||
 | 
						@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
				
			||||||
 | 
						@args.CARD { type string }
 | 
				
			||||||
 | 
						@args.AES0 { type integer }
 | 
				
			||||||
 | 
						@args.AES1 { type integer }
 | 
				
			||||||
 | 
						@args.AES2 { type integer }
 | 
				
			||||||
 | 
						@args.AES3 { type integer }
 | 
				
			||||||
 | 
						@func refer
 | 
				
			||||||
 | 
						name {
 | 
				
			||||||
 | 
							@func concat
 | 
				
			||||||
 | 
							strings [
 | 
				
			||||||
 | 
								"cards.HDA-Intel.pcm.hdmi.common:"
 | 
				
			||||||
 | 
								"CARD=" $CARD ","
 | 
				
			||||||
 | 
								"DEVICE=16,"
 | 
				
			||||||
 | 
								"CTLINDEX=10,"
 | 
				
			||||||
 | 
								"AES0=" $AES0 ","
 | 
				
			||||||
 | 
								"AES1=" $AES1 ","
 | 
				
			||||||
 | 
								"AES2=" $AES2 ","
 | 
				
			||||||
 | 
								"AES3=" $AES3
 | 
				
			||||||
 | 
							]
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<confdir:pcm/modem.conf>
 | 
					<confdir:pcm/modem.conf>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HDA-Intel.pcm.modem.0 {
 | 
					HDA-Intel.pcm.modem.0 {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue