-
Notifications
You must be signed in to change notification settings - Fork 133
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
[BUG][SDW]"IO error in rt711_jack_detect_handler, ret -16" occurred when plug in or unplug headphone #1602
Comments
Tested it with #1589 ,issue cannot be reproduced. |
Tested it with integration/soundwire-latest(d64c4a3) + #1586, issue cannot be reproduced. |
@YvonneYang2 @bardliao @RanderWang @shumingfan I can reproduce these warnings with the udpated PR #1586 when doing very fast jack insertion/removal, on removal the codec driver seems to issue a ton of commands which don't seem to complete before the codec suspend routine quicks in
If I take my time between insertion and removal no issues This is with only the option options snd-sof-intel-hda-common sdw_clock_stop_quirks=0x8 and pm_runtime remains enabled |
@YvonneYang2 Could you test with PR #1605 when doing fast jack insertion/removal? |
@plbossart Test recipe: |
Customer also reported a issue on HDA device that fast plug-unplug headphone can't be detected. @Kailang. He said codec need time to detect the change. And customer closed this bug for they consider it as a unusual operation. @shumingfan , can you help to check why codec spend so much time to read register ? Thanks! |
Update the comments #1602 (comment) .
@shumingfan |
Looks like you can reproduce it already :) |
Since PR1605 has been merged into integration/soundwire-latest , retested it again, issue cannot be reproduced on integration/soundwire-latest(e375909) + #1586 with options snd-sof-intel-hda-common sdw_clock_stop_quirks=0x8. |
Issue cannot be reproduced with latest integration/soundwire-latest( cf2660a ) and cml-010-drop-stable (5e5f69e). Close it. |
Describe the bug
With sof and master pm runtime disabled, unplug/plug in headphone dmesg will show "IO error in rt711_jack_detect_handler, ret -16"
To Reproduce
Reproduced rate
100%
Expected result
Should not show error info
Actual result
Dmesg shows "IO error in rt711_jack_detect_handler, ret -16" after unplug or plug in headphone
Dmesg
IO_error.log
Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: add887e
FW: https://github.com/thesofproject/sof/commits/master commit: 65de27d
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML-U Laptop with codec ALC711, RT1308, RT715 in SDW mode
The text was updated successfully, but these errors were encountered: