<div dir="ltr"><div>I have a Linux Mint 20.1 (kernel 5.8.0-53) installation on my laptop. The system also has kernel 5.4.0-73, but the problem is not dependent on the choice between these two. The sound card of my laptop (which looks like a generic intel card) is behaving strangely. Sometimes on reboot, the internal mic stops working.<br></div><div><br></div><div>When the mic is working, the output of "pacmd list-sources" shows that there are two sources: </div><div>index: 0 </div><div>name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor></div><div><br></div><div>* index: 1<br>  name: <alsa_input.pci-0000_00_1f.3.analog-stereo><br><br></div><div>The full output is here: <a href="https://pastebin.com/DHH2CzC7">https://pastebin.com/DHH2CzC7</a></div><div><br></div><div>index 1 shows that there are two ports: analog-input-internal-mic and analog-input-mic. Analog-input-internal-mic is the inbuilt microphone, while the analog-input-mic is connected to the 3.5mm jack (and connects to the microphone of the headset). When I plugin the headset, the active port becomes <analog-input-mic>.</div><div><br></div><div>----</div>ports:<br>         analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)<br>                     properties:<br>                           device.icon_name = "audio-input-microphone"<br>         analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)<br>                    properties:<br>                           device.icon_name = "audio-input-microphone"<br> active port: <analog-input-internal-mic><br><div>----</div><div><br></div><div>Sometimes on reboot, the internal mic simply vanishes. Now, the pacmd shows only one source (alsa_output .. monitor):</div><div><div>index: 0 </div><div>name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor></div></div><div><br></div><div>See the output here: <a href="https://pastebin.com/BawabVZh">https://pastebin.com/BawabVZh</a></div><div><br></div><div>index 1, alsa_input....., does not show up at all.</div><div><br></div><div>If I plugin the headset, a new input index (numbered 2) shows up, with only one port <analog-input-mic>, which connects to the microphone of the headset.</div><div><br></div><div>How is it that the internal source is sometimes detected and sometimes not? It is really random. On some reboots it works and on some it doesn't. </div><div><br></div><div>It would be really helpful if somebody could point out what might be going wrong? Or, point in the direction where the problem/solution may lie? How does one debug something like this?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Vikas</div><div><br></div><div><br></div><div><br></div><div><br></div></div>