Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/alsa/ucm2/HDA/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Syntax 4
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"
FixedBootSequence [
cset-new "name='Mic ACP LED Capture Switch' type=bool,count=1 off"
exec "-/sbin/modprobe snd_ctl_led"
sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:Mic ACP LED Capture Switch"
sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch"
]
}
}
}
}
If.err {
Condition {
Type String
Empty "${var:Done}"
}
True.Error "UCM is not supported for this HDA model (${CardLongName})"
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |