Bug 1181097

Summary: Microphone no longer working after kernel update
Product: [openSUSE] openSUSE Distribution Reporter: Miklos Vajna <vmiklos>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: joerg.kuehne, tiwai, vkrevs, vmiklos
Version: Leap 15.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: good info
bad info
alsa info for 72e708d

Description Miklos Vajna 2021-01-19 09:40:29 UTC
Hi,

Running openSUSE Leap 15.2, I updated kernel-default-5.3.18-lp152.57.1.x86_64 to 5.3.18-lp152.60.1. Rebooted, then microphone is no longer working: pavucontrol simply finds no mic on the input devices tab. I tried to play with pulseaudio profiles / configuration, but found no workaround to restore it.

Downgrading the kernel fixes the problem.

This is the sound card:

 $ /sbin/lspci|grep -i audio
 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

If there is any other detail I should provide, please let me know.

Thanks,

Miklos
Comment 1 Takashi Iwai 2021-01-19 11:07:47 UTC
Could you run alsa-info.sh on both good and bad working kernels, and give the outputs?  Run the script with --no-upload option and attach the outputs to Bugzilla.
Comment 2 Miklos Vajna 2021-01-19 12:01:30 UTC
Created attachment 845260 [details]
good info
Comment 3 Miklos Vajna 2021-01-19 12:01:45 UTC
Created attachment 845261 [details]
bad info
Comment 4 Miklos Vajna 2021-01-19 12:02:55 UTC
(In reply to Takashi Iwai from comment #1)
> Could you run alsa-info.sh on both good and bad working kernels, and give
> the outputs?  Run the script with --no-upload option and attach the outputs
> to Bugzilla.

Done. Some additional notes: this is a desktop machine (I think it has a speaker only, by default), so an additional headset is what I plug in all the time. Both dumps are created with the headset plugged in.
Comment 5 Takashi Iwai 2021-01-19 12:20:29 UTC
Thanks.  I couldn't see any changes in HD-audio side, but the difference is seen in USB-audio (webcam?), which might prevent PA working properly.

The regression of the webcam is tracked in bug 1181014.

Now I'm re-building a new test kernel for bug 1181014, and this might cover your problem, too.  It's being built in OBS home:tiwai:bsc1181014.  Currently it contains the old kernel (kernel-default-5.3.18-lp152.1.1.gb5f2dec).  The new kernel should be something like kernel-default-5.3.18-lp152.2.1.g72e708d.
Please wait until the build finishes and the new package appears, then test the new kernel.  Note that it's an unofficial kernel, so the secure boot won't work.
Comment 6 Miklos Vajna 2021-01-19 13:10:01 UTC
Aha! Yes, the machine has a Logitech HD Webcam C270 attached as well. I *think* only ever used its camera piece, but now that you say it, it's possible that interferes. Will test the new kernel, thanks. And you're right, it's quite possible the two bugs are the same.
Comment 7 Miklos Vajna 2021-01-19 15:33:33 UTC
Created attachment 845270 [details]
alsa info for 72e708d

Unfortunately kernel-default 72e708d seems to have the same problem as 5.3.18-lp152.60. Attached the alsa-info.sh output.
Comment 8 Takashi Iwai 2021-01-19 17:03:59 UTC
Thanks.  Hmm, it's puzzling.

Could you try recording manually via arecord?  e.g.
   % pasuspender -- aplay -Dplughw:0 -vv foo.wav

This should record from the headset mic.
Comment 9 Jörg Kühne 2021-01-20 08:17:22 UTC
Hi,

I have the same issue with my Logitech webcam C270. No microphone available in pulseaudio. If I boot the older kernel, everything is fine.
In alsa the microphone is detected.

arecord -l :

**** Liste der Hardware-Geräte (CAPTURE) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC1220 Analog [ALC1220 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: U0x46d0x825 [USB Device 0x46d:0x825], Gerät 0: USB Audio [USB Audio]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

I can record my voice via

arecord -Dhw:2,0 -f S16_LE test.wav

But 'pacmd list-cards" and pavucontrol do not list the USB device.

Thank you
Comment 10 Takashi Iwai 2021-01-20 09:36:18 UTC
(In reply to Jörg Kühne from comment #9)
> I have the same issue with my Logitech webcam C270. No microphone available
> in pulseaudio.

Do you also see no mic input *at all* on PA, including the onboard audio?
The webcam issue is tracked rather in bug 1181014.
Comment 11 Jörg Kühne 2021-01-20 10:12:46 UTC
(In reply to Takashi Iwai from comment #10)
> (In reply to Jörg Kühne from comment #9)
> > I have the same issue with my Logitech webcam C270. No microphone available
> > in pulseaudio.
> 
> Do you also see no mic input *at all* on PA, including the onboard audio?
> The webcam issue is tracked rather in bug 1181014.

It seems that only webcam C270 microphone is not detected. A wireless Logitech H800 Headset with USB dongle works fine.
Comment 12 Vadim Krevs 2021-01-20 10:57:05 UTC
Same with HD Webcam C525. No microphone after kernel update.
Comment 13 Takashi Iwai 2021-01-21 10:11:52 UTC
The webcam mic issues are fixed in the kernel in OBS home:tiwai:bsc1181014:
  http://download.opensuse.org/repositories/home:/tiwai:/bsc1181014/standard/

The fix has been pushed to SLE15-SP2 branch, so it'll be merged to openSUSE-15.2 branch later, too.

Please test the kernel above.  If any other issue regarding the input remains, let me know.
Comment 14 Miklos Vajna 2021-01-22 10:14:16 UTC
(In reply to Takashi Iwai from comment #8)
> Could you try recording manually via arecord?  e.g.
>    % pasuspender -- aplay -Dplughw:0 -vv foo.wav
> 
> This should record from the headset mic.

At the end I didn't do this test...

(In reply to Takashi Iwai from comment #13)
> Please test the kernel above.  If any other issue regarding the input
> remains, let me know.

... because kernel-default-5.3.18-lp152.4.1.gf1d966f.x86_64 fixes the problem. :-) Thanks a lot, you can close this bug, I think.
Comment 15 Takashi Iwai 2021-01-22 12:02:45 UTC
OK, thanks for the confirmation.  So it's the dup of the USB-audio bug.
Let's close.

*** This bug has been marked as a duplicate of bug 1181014 ***