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 057fbe8 commit 9969f61Copy full SHA for 9969f61
test-case/verify-kernel-boot-log.sh
@@ -115,7 +115,10 @@ dmic_switch_present()
115
(set -x
116
# name= is hardcoded in /usr/share/alsa/ucm2/*
117
# This returns a non-zero error status on failure
118
- amixer cget name='Dmic0 Capture Switch'
+ #amixer cget name='Dmic0 Capture Switch'
119
+ # - https://github.com/thesofproject/sof-test/issues/1244
120
+ cardname=$(aplay -l | awk 'NR == 2 {print $3}')
121
+ amixer -c "$cardname" cget name='Dmic0 Capture Switch'
122
)
123
}
124
0 commit comments