-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Describe the bug
With sof-dev and master branch, arecord0,4(RT715) cannot work and will cause ipc error. If replace the tplg to master + PR2358, issue is gone.
Note: I used to update the alsa-lib for multi-profile ucm validation. I'm not sure if this issue is relevant to it or not. Tried to test it with Pulse audio off, issue can still be reproduced.
alsa-lib deb file:
libasound2_1.2.1.2-intel_amd64.deb.zip
To Reproduce
- Boot up with Pulse Audio off.
- arecord -Dhw:0,4 -r48000 -c2 -fs32_le test.wav
Reproduced rate
100%
Other pipline works fine.
Expected result
Arecord successfully
Actual result
Dmesg shows "error: ipc error for 0x60010000 size 20" and cannot work.
Test recipe
Firmware: 247af13 https://github.com/thesofproject/sof/commits/master
Kernel: 6af9a26 https://github.com/bardliao/linux/tree/topic/sof-dev
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML-U Laptop with ALC711+ ALC1308+ ALC715 in SDW mode
dmesg:
[ 186.651821] sof-audio-pci 0000:00:1f.3: stream_tag 2
[ 186.651824] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 186.652595] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x60010000 size 20
[ 186.652597] sof-audio-pci 0000:00:1f.3: error: hw params ipc failed for stream 2
[ 186.652598] sof-audio-pci 0000:00:1f.3: ASoC: 0000:00:1f.3 hw params failed: -22
[ 186.652600] Microphones: ASoC: hw_params FE failed -22
[ 186.652602] sdw_deprepare_stream: SDW3 Pin2-Capture: inconsistent state state 1
[ 186.652603] int-sdw int-sdw.3: sdw_deprepare_stream: failed -22
[ 186.652605] sof-audio-pci 0000:00:1f.3: pcm: free stream 4 dir 1
[ 186.652607] sdw_deprepare_stream: SDW3 Pin2-Capture: inconsistent state state 1
[ 186.652608] int-sdw int-sdw.3: sdw_deprepare_stream: failed -22
[ 186.652712] sof-audio-pci 0000:00:1f.3: pcm: close stream 4 dir 1
[ 187.132444] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 187.132477] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 187.346181] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 187.632382] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
error_sof-trace:
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 COMP 5.20 233307973.906250 233307968.000000 udio/eq_iir/eq_iir.c:857 eq_iir_prepare(), No proc func
0 1 PIPE 233307993.072917 19.166666 src/audio/pipeline.c:499 pipeline_prepare() error: ret = -22, dev->comp.id = 18
0 1 IPC 233308012.291667 19.218750 src/ipc/handler.c:311 ipc: pipe 5 comp 18 prepare failed -22