Skip to content
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

[BUG] DMIC1 capture with sof-hda-generic-ace1-4ch-48k-16k.tplg fails #9772

Open
singalsu opened this issue Jan 10, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working as expected P3 Low-impact bugs or features

Comments

@singalsu
Copy link
Collaborator

Describe the bug
Capture from 2nd DMIC DAI does not work. Seems to be that there can't be multiple channels counts host copier and DAI copier. The topology must be corrected to introduce formats separately for each NUM_DMICS value like for dmic0. The dmic1-passthrough.conf is missing updates done earlier to dmic-generic.conf.

To Reproduce

$ time arecord -Dhw:1,11 -f S32_LE -r 16000 -c 4 -d 10 rec_4ch.wav
arecord: main:834: audio open error: Invalid argument

real	0m0.135s
user	0m0.004s
sys	0m0.023s

The is no clear error in mtrace / dmesg

Reproduction Rate
always

Expected behavior
Record success

Impact
annoyance, currently we don't use DMIC1

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: current topic/sof-dev branch
    • SOF: current main branch
  2. Name of the topology file
    • Topology: sof-hda-generic-ace1-4ch-48k-16k.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: MTL

Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs
(cut-and-paste text and put a code fence (```) before and after, to help
explain the issue.

Please also include the relevant sections from the firmware log and kernel log in the report (and attach the full logs for complete reference). Kernel log is taken from dmesg and firmware log from sof-logger. See https://thesofproject.github.io/latest/developer_guides/debugability/logger/index.html

@singalsu singalsu added the bug Something isn't working as expected label Jan 10, 2025
@singalsu singalsu self-assigned this Jan 10, 2025
@singalsu
Copy link
Collaborator Author

Fix is included to #9763, to commit "Tools: Topology2: Add mono formats to dmic1-passthrough.conf".

@abonislawski abonislawski added the P3 Low-impact bugs or features label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected P3 Low-impact bugs or features
Projects
None yet
Development

No branches or pull requests

2 participants