Skip to content

simultaneous playback and capture will cause Input/output error #263

@ZhendanYang

Description

@ZhendanYang

Summary:
When simultaneous playback and capture end, input/output error will occur.
This issue is moved from firmware issue thesofproject/sof#180

Reproduce step:

test@test-CannonLake:~$ aplay -D hw:0,0 -c 2 -r 48000 -f s16_le /dev/zero -d 5 & arecord -D hw:0,0 -c 2 -r 48000 -f s16_le /dev/null -d 5
[1] 1611
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 48000 Hz, Rate 48000 Hz, Stereo
Stereo
arecord: pcm_read:2103: read error: Input/output error
[1]+  Done                    aplay -D hw:0,0 -c 2 -r 48000 -f s16_le /dev/zero -d 5

input/output error can reproduce every time.

Test env:
sof-master: 9b376d7
soft-master: 937032
kernel debug/v4.19-backport: 925637e

Log:
sof-logger doesn't work due to firmware issue thesofproject/sof#551
dmesg.log

Metadata

Metadata

Assignees

Labels

CNLApplies to CannonlakeGLKApplies to Gemini LakeP2Critical bugs or normal featuresbugSomething isn't workingduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions