Skip to content

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

@singalsu

Description

@singalsu

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

Metadata

Metadata

Assignees

Labels

P3Low-impact bugs or featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions