Skip to content

[BUG][TGL Chrome] Failed to open Internal Microphone on plugging/unplugging a headset #4593

@lancedkhou

Description

@lancedkhou

Describe the bug
Using online voice record to do recording.
Plug and unplug a headset while recording via internal Mic would fail.

To Reproduce

  1. Start recording by "Online Voice Recorder" on Chrome Browser. During the following steps, make the sound and check the waveform to make sure the recording is still valid.
  2. (No headset is plugged) record by Internal Microphone.
  3. Plug the headset, and record by headset Mic.
  4. Switch the input to Internal Microphone by UI, and record by Internal Microphone.
  5. Un-plug the headset, and record by Internal Microphone
  6. Repeat step3, 4, 5 if the recording is still fine.

Reproduction Rate
1/10

Expected behavior
The recording is always valid

Impact
blocker

Environment
tgl-13 branch with IGO patches & IGO binary
Issue still reproduced with PR #4575

Screenshots or console output
messages: (Withour PR #4575)

2021-08-02T08:54:53.233950Z ERR cras_server[9552]: hw_params: Timer expired: rate: 48000, ret_rate: 48000, channel: 2, format: 2
2021-08-02T08:54:53.234014Z ERR kernel: [ 1788.544852] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x80010000 size 12
2021-08-02T08:54:53.234028Z ERR kernel: [ 1788.544860] sof-audio-pci 0000:00:1f.3: error: failed to set DAI config for SSP1-Codec
2021-08-02T08:54:53.234030Z ERR kernel: [ 1788.544864] sof-audio-pci 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on SSP1 Pin: -62
2021-08-02T08:54:53.234031Z ERR kernel: [ 1788.544868] SSP1-Codec: ASoC: hw_params BE failed -62
2021-08-02T08:54:53.234033Z ERR kernel: [ 1788.544870] smart373-spk: ASoC: hw_params BE failed -62

sof-logger:( Without PR #4575)
[ 3578745940.241330] ( 2503.489502) c0 dmic-dai 2.1 src/drivers/intel/dmic.c:1560 dmic_irq_handler(), OUTSTAT0 = 0x28000000, OUTSTAT1 = 0x80000000
[ 3578745950.449663] ( 10.208333) c0 dmic-dai 2.1 src/drivers/intel/dmic.c:1563 ERROR dmic_irq_handler(): full fifo A or PDM overrun
[ 3578745961.178829] ( 10.729166) c0 dmic-dai 2.1 src/drivers/intel/dmic.c:1450 dmic_stop(), dmic_active_fifos = 1
[ 3578745973.001745] ( 11.822916) c0 ll-schedule ./schedule/ll_schedule.c:539 task cancel 0x9e265908 dmic-work <59c87728-d8f9-42f6-b89d-5870a87b0e1e>
[ 3578763481.178133] ( 17508.175781) c0 idc src/idc/idc.c:113 ERROR idc_wait_in_blocking_mode() error: timeout

Metadata

Metadata

Assignees

Labels

Fix confirmedFix for the issue has been found and verifiedIGO NCObserved in IGO NC integrationTGLApplies to Tiger LakebugSomething isn't working as expectedmulticoreIssues observed when not only core#0 is used.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions