-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Describe the bug
WOV capture fails for the second time.
To Reproduce
1)Start the WOV capture:
arecord -Dhw:0,7 -M -N -c 2 -f S16_LE -r 16000 --buffer-size=64000 tmp.wav -vvv
2)Start tapping on the DMIC and the WOV capture starts.
3)Press Ctrl+C
4)Second time start the WOV capture.
localhost ~ #
tmp.wav -vvv arecord -Dhw:0,7 -M -N -c 2 -f S16_LE -r 16000 --buffer-size=64000
Recording WAVE 'tmp.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
arecord: set_params:1403: Unable to install hw params:
ACCESS: MMAP_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 16000
PERIOD_TIME: 999000
PERIOD_SIZE: 15984
PERIOD_BYTES: 63936
PERIODS: (4 5)
BUFFER_TIME: 3999000
BUFFER_SIZE: 63984
BUFFER_BYTES: 255936
TICK_TIME: 0
This capture shows failure. From the failure logs, it looks like the first capture stream did not freed
completely.(The allocated stream1 is not freed) and hence the second time capture does not start.
Reproduction Rate
Always
Keyword:
after Ctrl+C of first WOV capture
[ 376.026507] sof-audio-pci 0000:00:1f.3: Turning i915 HDAC power 0
[ 376.026531] sof-audio-pci 0000:00:1f.3: error: transition from 0 to 4 not allowed
[ 376.026532] sof-audio-pci 0000:00:1f.3: error: failed to power down DSP during suspend -22
[ 376.026543] sof-audio-pci 0000:00:1f.3: can't suspend (snd_sof_runtime_suspend [snd_sof] returned -22)
PFA the kernel & firmware logs.
first_wov_failure_fw_logs.txt
first_wov_failure_kernellogs.txt
second_capture_failure_kernel_logs.txt