__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
Syntax 6
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})"
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| DualCodecs | Folder | 0755 |
|
|
| HDA-Capture-value.conf | File | 115 B | 0644 |
|
| HDA.conf | File | 1.34 KB | 0644 |
|
| Hdmi.conf | File | 730 B | 0644 |
|
| HiFi-acp.conf | File | 203 B | 0644 |
|
| HiFi-analog.conf | File | 5.85 KB | 0644 |
|
| HiFi.conf | File | 537 B | 0644 |
|
| init.conf | File | 916 B | 0644 |
|