Skip to content

pcm_read error occurs when capturing with nocodec DMIC #275

Description

@markyang

Summary:
pcm_read error occurs when capturing with nocodec DMIC.

Test steps:

  1. arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sofnocodec [sof-nocodec], device 0: Port0 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 1: Port1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 2: Port2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 3: Port3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 4: Port4 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 5: Port5 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 6: DMIC01 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

--
2. arecord -Dhw:0,6 -fS32_LE -c2 -r 48000 -vv -i /dev/null

Recording WAVE '/dev/null' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 0 'sof-nocodec' device 6 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 8064
period_size : 1920
period_time : 40000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 1920
period_event : 0
start_threshold : 1
stop_threshold : 8064
silence_threshold: 0
silence_size : 0
boundary : 9079256848778919936
appl_ptr : 0
hw_ptr : 0
arecord: pcm_read:2103: read error: Input/output error

Test env:
sof master: 5838f71,73475e3f
sof tool: 2cd668c
kernel sof-dev: 9b81e16,165b34de
tplg: sof-apl-nocodec.tplg-2cd668c

Log:
dmesg-apl-dmic.log
logger-apl-dmic.log
logger-apl-t-dmic.log

Metadata

Metadata

Assignees

Labels

APLApplies to ApolloLake platformP2Critical bugs or normal featuresbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions