pmaports/device/testing/device-acer-aspire1/ucm/Acer-Aspire-1/Acer-Aspire-1.conf
Nikita Travkin 89a4c7f08f
device-acer-aspire1: Enable DP in ucm config (MR 4900)
With the latest kernel update the EC is now enabled and DP alt mode can
be used. Enable the DP sound in UCM config.
2024-07-06 11:23:16 +02:00

30 lines
734 B
Text

Syntax 4
SectionUseCase."HiFi" {
File "/Qualcomm/sc7180/Acer-Aspire-1/HiFi.conf"
Comment "HiFi quality Music."
}
# HACK: Kernel will return -22 if the display is not
# connected. This produces a bunch of errors in dmesg
# and PA refuses the profile right after.
# The condition guards the profile to at least supress
# those errors.
If."DP present" {
Condition {
Type String
String1 "${sys:/class/drm/card0-USB-1/status}"
String2 "connected"
}
True {
SectionUseCase."HDMI" {
File "/Qualcomm/sc7180/Acer-Aspire-1/DP.conf"
Comment "DisplayPort output."
}
}
}
Include.card-init.File "/lib/card-init.conf"
Include.ctl-remap.File "/lib/ctl-remap.conf"
Include.init.File "/Qualcomm/sc7180/Acer-Aspire-1/init.conf"