| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/alsa/ucm2/HDA/ |
Upload File : |
Syntax 6
Include.led.File "/common/ctl/led.conf"
Define.Use "" # a non-empty string to use UCM configuration for HDA devices
Define.Done "" # a non-empty string to skip the end error
Define.AcpCardId "$${find-card:field=name,return=id,regex='^acp(|6[23x]|-pdm-mach)$'}"
Define.DeviceMic "Mic"
If.dualcodec {
Condition {
Type String
Haystack "${CardLongName}"
Needle "DualCodecs"
}
True {
Define.Done y
Define.AcpCardId ""
Include.dual.File "/HDA/DualCodecs/DualCodecs.conf"
}
}
If.acp {
Condition {
Type String
Empty "${var:AcpCardId}"
}
False {
Define.Use y
Define.DeviceMic "Mic2"
}
}
If.use {
Condition {
Type String
Empty "${var:Use}"
}
False {
Define.Done y
SectionUseCase."HiFi" {
File "/HDA/HiFi.conf"
Comment "Play HiFi quality Music"
}
If.analog {
Condition {
Type ControlExists
Control "name='Master Playback Switch'"
}
True {
Include.init.File "/HDA/init.conf"
Macro [
{ CtlNew { Arg="name='Mic ACP LED Capture Switch' type=bool,count=1 off" } }
{ SetLED { LED="mic" Action="attach" CtlId="Mic ACP LED Capture Switch" } }
{ SetLED { LED="mic" Action="detach" CtlId="Capture Switch" } }
]
}
}
}
}
If.err {
Condition {
Type String
Empty "${var:Done}"
}
True.Error "UCM is not supported for this HDA model (${CardLongName})"
}