We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845a813 commit ca7e8f2Copy full SHA for ca7e8f2
case-lib/lib.sh
@@ -1030,10 +1030,20 @@ re_enable_ntp_sync()
1030
sudo timedatectl set-ntp true
1031
}
1032
1033
+# Get alsa-info of DUTs in CI
1034
+print_alsa_info()
1035
+{
1036
+ OUTPUT_FILE="/tmp/alsa-info.txt"
1037
+ alsa-info --output "$OUTPUT_FILE" --with-aplay --with-amixer --with-alsactl --with-configs
1038
+ ALSA_INFO_TEXT=$(cat "$OUTPUT_FILE")
1039
+ dlogi "$ALSA_INFOTEXT"
1040
+}
1041
+
1042
# check-alsabat.sh need to run optimum alsa control settings
1043
# param1: platform name
1044
set_alsa_settings()
1045
{
1046
+ print_alsa_info
1047
# ZEPHYR platform shares same tplg, remove '_ZEPHYR' from platform name
1048
local PNAME="${1%_ZEPHYR}"
1049
dlogi "Run alsa setting for $PNAME"
0 commit comments