Bug 215561 - snd-usb-audio:reset_resume error -22 after suspend (fwd from bugzilla)

Thorsten Leemhuis regressions at leemhuis.info
Tue Feb 8 13:14:43 CET 2022


Hi, this is your Linux kernel regression tracker speaking.

Top-posting for once, to make this easy accessible to everyone.

Below issue is one of those those reports that seem to get stranded in
bugzilla.kernel.org

Greg, Jaroslav, Takashi, could one of you please take a look? The
reporter submitted it as USB bug, but maybe that wasn't a wise choice.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I'm getting a lot of
reports on my table. I can only look briefly into most of them and lack
knowledge about most of the areas they concern. I thus unfortunately
will sometimes get things wrong or miss something important. I hope
that's not the case here; if you think it is, don't hesitate to tell me
in a public reply, it's in everyone's interest to set the public record
straight.

#regzbot poke

On 03.02.22 15:59, Thorsten Leemhuis wrote:
> Hi, this is your Linux kernel regression tracker speaking.
> 
> There is a regression in bugzilla.kernel.org I'd like to add to the
> tracking:
> 
> #regzbot introduced: v5.15..v5.16
> #regzbot from: antifermion at protonmail.com <antifermion at protonmail.com>
> #regzbot title: snd: usb: snd-usb-audio:reset_resume error -22 after suspen
> #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=215561
> 
> Quote:
> 
>> If I use the microphone, then suspend and wake up again, I get the error
>>
>> ```
>> snd-usb-audio 1-5:1.0: reset_resume error -22
>> ```
>>
>> Aftewards, audio stops working completely. Both pipewire and pulseaudio (tried both; not at the same time) freeze.
>>
>> After running
>>
>> ```
>> rmmod -f snd_usb_audio
>> ```
>>
>> and replugging the microphone, audio works again.
>> Here is the relevant log:
>>
>> ```
>> [  157.791937] usbcore: deregistering interface driver snd-usb-audio
>> [  228.517855] usb 1-5: USB disconnect, device number 2
>> [  236.464334] usb 1-5: new high-speed USB device number 3 using xhci_hcd
>> [  236.798863] usb 1-5: New USB device found, idVendor=0d8c, idProduct=0171, bcdDevice= 1.04
>> [  236.798867] usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=0
>> [  236.798869] usb 1-5: Product: USB 2.0 HD Audio
>> [  236.798871] usb 1-5: Manufacturer: C-Media Electronics Inc.
>> [  236.826966] input: C-Media Electronics Inc. USB 2.0 HD Audio Consumer Control as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-5/1-5:1.3/0003:0D8C:0171.000B/input/input40
>> [  236.878380] input: C-Media Electronics Inc. USB 2.0 HD Audio as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-5/1-5:1.3/0003:0D8C:0171.000B/input/input41
>> [  236.878447] hid-generic 0003:0D8C:0171.000B: input,hiddev96,hidraw2: USB HID v1.11 Device [C-Media Electronics Inc. USB 2.0 HD Audio] on usb-0000:02:00.0-5/input3
>> [  242.306593] usbcore: registered new interface driver snd-usb-audio
>>
>> ```
>>
>> I'm running Arch Linux (5.16.4.arch1-1). The linux-lts kernel (5.15.18-1) works fine.
>>
>> Other uses report the same error: https://bbs.archlinux.org/viewtopic.php?id=273469
> 
> Ciao, Thorsten (wearing his 'Linux kernel regression tracker' hat)
> 
> P.S.: As a Linux kernel regression tracker I'm getting a lot of reports
> on my table. I can only look briefly into most of them. Unfortunately
> therefore I sometimes will get things wrong or miss something important.
> I hope that's not the case here; if you think it is, don't hesitate to
> tell me about it in a public reply, that's in everyone's interest.
> 
> BTW, I have no personal interest in this issue, which is tracked using
> regzbot, my Linux kernel regression tracking bot
> (https://linux-regtracking.leemhuis.info/regzbot/). I'm only posting
> this mail to get things rolling again and hence don't need to be CC on
> all further activities wrt to this regression.
> 
> ---
> Additional information about regzbot:
> 
> If you want to know more about regzbot, check out its web-interface, the
> getting start guide, and/or the references documentation:
> 
> https://linux-regtracking.leemhuis.info/regzbot/
> https://gitlab.com/knurd42/regzbot/-/blob/main/docs/getting_started.md
> https://gitlab.com/knurd42/regzbot/-/blob/main/docs/reference.md
> 
> The last two documents will explain how you can interact with regzbot
> yourself if your want to.
> 
> Hint for reporters: when reporting a regression it's in your interest to
> tell #regzbot about it in the report, as that will ensure the regression
> gets on the radar of regzbot and the regression tracker. That's in your
> interest, as they will make sure the report won't fall through the
> cracks unnoticed.
> 
> Hint for developers: you normally don't need to care about regzbot once
> it's involved. Fix the issue as you normally would, just remember to
> include a 'Link:' tag to the report in the commit message, as explained
> in Documentation/process/submitting-patches.rst
> That aspect was recently was made more explicit in commit 1f57bd42b77c:
> https://git.kernel.org/linus/1f57bd42b77c


More information about the Alsa-devel mailing list