MIC JACK detection fails

Getting your soundcard to work, using Debian on non-i386 hardware, etc

MIC JACK detection fails

Postby Martin25 » 2018-03-06 10:49

Hello,

I have a problem with detecting microphone on my Lenovo laptop with a combo jack.
When I plug in my headset, the
Code: Select all
acpi_listen
utility shows only
Code: Select all
 jack/headphone HEADPHONE plug
and MIC is undetected.

I am sure the mic works fine because it works in Windows.
I found, for me curious, workaround: 1) boot into Windows, 2) restart computer 3) boot into Debian.
This booting into Windows seems to correct something and mic is detected.
However, turning off and on the computer with direct booting into Debian brings up the problem again. ( What is a difference between restart and cold start ? )
The same occurs when I suspend Debian ( Mic becomes undetected )

I attache two outputs from alsa-info for detailed info ( in both cases mic is not plugged in )
1) http://paste.debian.net/1013380/ - obtained right after booting into Debian with the previous Windows boot. ( i.e. mic is recognized upon plugging )
2) http://paste.debian.net/1013381/ - obtained after suspend ( mic is not detected upon plugging )

Code: Select all
diff file1 file2
tells me there are different values for "Power: setting" D0 vs D3 ( have no idea what it means )

UPDATE:
I found out that D0 refers to full power and D3 to low power setting. I also found how to manually change this power state: ( the 1st parameter is the snd card and the 2nd determines a node, see outputs from alsa-info )
Code: Select all
hda-verb /dev/snd/hwC0D0 0x08 SET_POWER 0x0

Therefore, I can achieve the same state of my sound card ( obtained from alsa-info ) after suspend as the one when mic is detectable.
However, the mic still doesn't work. There must be some other problem.

My next step in my debugging was to check the state of my snd card using
Code: Select all
lspci -xxxx -vvv -b

which again shows some differences between working and not working state. However, the output differs even from one suspend/wakeup to another, so it may not be useful for finding the working state of my snd card.

Is my question understandable? Do you need some more details?

Is there any way to make MIC detectable even without booting into Windows?
Martin25
 
Posts: 3
Joined: 2018-03-06 09:51

Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable