pmaports/device/testing/device-fairphone-fp5/ucm/HiFi.conf
Luca Weiss 9c79574bd9
device-fairphone-fp5: add ALSA UCM for DisplayPort audio (MR 4761)
Since audio over DisplayPort (over USB-C) is supported in the kernel,
add a UCM config to complete support.

To be clear, this might not work out of the box yet, I hope it'll start
working better when another audio route (speaker or microphone) is
working from kernel side.

[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:28:31 +01:00

25 lines
426 B
Text

# Use case configuration for Fairphone 5
# Author: Luca Weiss <luca.weiss@fairphone.com>
SectionVerb {
EnableSequence [
cset "name='DISPLAY_PORT_RX Audio Mixer MultiMedia1' 1"
]
DisableSequence [
cset "name='DISPLAY_PORT_RX Audio Mixer MultiMedia1' 0"
]
Value {
TQ "HiFi"
}
}
SectionDevice."DisplayPort" {
Comment "DisplayPort playback"
Value {
PlaybackPCM "hw:${CardId},0"
JackControl "HDMI Jack"
}
}