Skip to content

test: Use detected SOF card for DMIC switch check - #1373

Open
harajend wants to merge 1 commit into
mainfrom
fix/dmic-switch-sof-card-selection
Open

harajend wants to merge 1 commit into
mainfrom
fix/dmic-switch-sof-card-selection

Conversation

@harajend

@harajend harajend commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Issue: https://github.com/intel-innersource/drivers.audio.ci.sof/actions/runs/47070516120/job/144137609978
verify-kernel-boot-log.sh selected the card for the DMIC switch check from aplay -l output order. When a non-SOF card enumerated first, the script checked the wrong card and failed with “Cannot find the given element,” even though the DMIC switch was present on the SOF card.

Fix
Use $SOFCARD, initialized by lib.sh, for the amixer check instead of guessing the card from aplay -l.

Validation
test-case/verify-kernel-boot-log.sh passed.

@harajend
harajend requested review from a team, lgirdwood and marc-hb as code owners December 3, 2026 11:54
@lgirdwood

Copy link
Copy Markdown
Member

@harajend can you fix up the CI failures. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants