-
Notifications
You must be signed in to change notification settings - Fork 349
Description
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
- 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
- Name of the topology file
- Topology: sof-hda-generic-ace1-4ch-48k-16k.tplg
- 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