-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add manual test case for DMIC capture #1247
Open
mohsinkh30
wants to merge
1
commit into
thesofproject:main
Choose a base branch
from
mohsinkh30:manual_test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Check DMIC 2ch/4ch | ||
|
||
Verification of 2ch/4ch DMIC recording | ||
|
||
## Preconditions | ||
1. The system is powered on. | ||
2. A Linux-based system with Realtek AIOC and transducer card is available | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be precise, a system with PCH DMIC connected (Realtek AIOC is one option but there are many other). |
||
|
||
|
||
## Test Description | ||
* Verification of 2ch/4ch DMIC recording | ||
* Recording should happen without any issue | ||
* Playback should be smooth without any glitches or noise. | ||
|
||
## Recording via 2ch/4ch DMIC | ||
1. Verify dmic device list. | ||
```bash | ||
arecord -l | ||
``` | ||
2. Capture audio using dmic device: | ||
```bash | ||
arecord -Dhw:0,0 -c 2 -r 48000 -f S24_LE -d 20 test.wav -vvv for 2Ch | ||
arecord -Dhw:0,6 -c 4 -r 48000 -f S32_LE -d 15 test3.wav -vvv for 4ch | ||
``` | ||
3. Play and verify the audio file recorded in step 3: | ||
```bash | ||
aplay -Dhw:0,0 -c 2 -r 48000 -f S24_LE test.wav -vvv | ||
``` | ||
Note : 4ch dmic recording copy in IT laptop and play & verify | ||
``` | ||
4. Check the dmesg log: | ||
```bash | ||
dmesg | grep -E "snd|sof|soc" | grep -i error | ||
``` | ||
|
||
|
||
## Expected Results | ||
1. DMIC devices should list | ||
2. Audio capture should happen without any issues | ||
3. Playback should be smooth without any glitch | ||
4. No audio errors or failures should be present in the dmesg log. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add a note this is specifically to test recording with PCH-connected DMIC. There are also configurations where a digital mic is connected to a codec, and those are separate cases.