Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: PCM read error when recording through dmic on GLK #718

Closed
keqiaozhang opened this issue Dec 14, 2018 · 2 comments
Closed

Regression: PCM read error when recording through dmic on GLK #718

keqiaozhang opened this issue Dec 14, 2018 · 2 comments
Labels
bug Something isn't working as expected GLK Applies to Gemini Lake platform P1 Blocker bugs or important features verified QA/Bug reporter verifies solution worked.

Comments

@keqiaozhang
Copy link
Collaborator

PCM read error when recording through dmic.

How to reproduce:

  1. arecord -Dhw:0,99 -f dat -c 4 dmic.wav

Error message:
Recording WAVE 'dmic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 4
arecord: pcm_read:2143: read error: Input/output error

Trace log:

    0      2         DMIC            136018.229167         8.958333               dmic.c:1399   dmic_trigger()
    0      2         DMIC            136022.500000         4.270833               dmic.c:1258   dmic_start()
    0      2         DMIC            136026.145833         3.645833               dmic.c:1264   dmic_start(), dmic->fifo_a
    0      2         DMIC            136030.781250         4.635417               dmic.c:1296   dmic_start(), mic_a = 0, mic_b = 0, fir_a = 0, fir_b = 0
    0      2         DMIC            136035.833333         5.052083               dmic.c:1296   dmic_start(), mic_a = 0, mic_b = 0, fir_a = 0, fir_b = 0
    0      2         DMIC            136040.104167         4.270833               dmic.c:1319   dmic_start(), clear soft reset for all/used PDM controllers
    0      2         DMIC            136047.239583         7.135417               dmic.c:1335   dmic_start(), done
    0      2          IPC            640735.677083    504688.437500            apl-ipc.c:114    ipc: msg rx -> 0x60050000
    0      2          IPC            640741.927083         6.250000            handler.c:410    ipc: comp 22 -> trigger cmd 5
    0      2         PIPE 4.25       640752.500000        10.572917           pipeline.c:768    pipeline_trigger()
    0      2         HOST            640756.979167         4.479167               host.c:278    host_trigger()
    0      2          DMA            640761.822917         4.843750            hda-dma.c:734    hda-dmac: 4 channel 1 -> stop
    0      2          DAI            640766.406250         4.583333                dai.c:543    dai_comp_trigger(), command = 0
    0      2          DAI            640770.000000         3.593750                dai.c:613    dai_comp_trigger(), PAUSE/STOP
    0      2          DMA            640774.375000         4.375000             dw-dma.c:593    dw-dma: 0 channel 5 stop
    0      2         DMIC            640783.489583         9.114583               dmic.c:1399   dmic_trigger()
    0      2         DMIC            640787.604167         4.114583               dmic.c:1343   dmic_stop()
    0      2         DMIC            640792.187500         4.583333               dmic.c:1358   dmic_stop(), soft reset and mute on for all PDM controllers
    0      2          IPC            640951.458333       159.270828            apl-ipc.c:114    ipc: msg rx -> 0x60030000
    0      2          IPC            640957.343750         5.885417            handler.c:313    ipc: comp 22 -> free
    0      2         PIPE 4.25       640967.968750        10.625000           pipeline.c:851    pipeline_reset()
    0      2         HOST            640972.187500         4.218750               host.c:624    host_reset()
    0      2          DMA            640976.562500         4.375000            hda-dma.c:734    hda-dmac: 4 channel 1 -> stop

Tested with:

FW: SOF master/78f13ed + PR #709
Kernel: topic/cros-sofv4.14-rebase/40fae8a
topology: SOF master/78f13ed

dmesg.log
logger-t.log

@keqiaozhang keqiaozhang added P1 Blocker bugs or important features br-master GLK Applies to Gemini Lake platform labels Dec 14, 2018
@dabekjakub
Copy link
Member

fixed in #721

@mengdonglin mengdonglin added the bug Something isn't working as expected label Dec 17, 2018
@keqiaozhang
Copy link
Collaborator Author

Confirmed that this issue is fixed on glk-005-drop-stable branch. So close this bug.
sof-glk-005-drop-stable:75410581

@mengdonglin mengdonglin added the verified QA/Bug reporter verifies solution worked. label Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected GLK Applies to Gemini Lake platform P1 Blocker bugs or important features verified QA/Bug reporter verifies solution worked.
Projects
None yet
Development

No branches or pull requests

3 participants