Page 1 of 2

No headphone jack detected - LMDE 4

Posted: Mon May 18, 2020 8:43 am
by feganegg
Fresh install and everything is working beautifully apart from my 3.5 mm headphone jack.Tried multiple options but just can't seem to get it fixed.

When i got to sound settings there is no device for headphones. See image.

Would really love to know where to get started and truly appreciate any help given.

Re: No headphone jack detected - LMDE 4

Posted: Mon May 18, 2020 2:36 pm
by MrEen
Hi feganegg,

Let's see the output of pacmd list-cards and dmesg | grep snd please.

Re: No headphone jack detected - LMDE 4

Posted: Thu May 21, 2020 9:34 am
by feganegg
Thank you so much for having a look at this!

Code: Select all

damien@lt:~$ pacmd list-cards
3 card(s) available.
    index: 0
	name: <alsa_card.usb-Samson_Technologies_Samson_GoMic-00>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "Samson GoMic"
		alsa.long_card_name = "Samson Technologies Samson GoMic at usb-0000:00:14.0-1.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:1.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0/sound/card1"
		udev.id = "usb-Samson_Technologies_Samson_GoMic-00"
		device.bus = "usb"
		device.vendor.id = "17a0"
		device.vendor.name = "Samson Technologies Corp."
		device.product.id = "0305"
		device.product.name = "GoMic compact condenser mic"
		device.serial = "Samson_Technologies_Samson_GoMic"
		device.string = "1"
		device.description = "GoMic compact condenser mic"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6555, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (priority 365, available: unknown)
		output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (priority 355, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.usb-Samson_Technologies_Samson_GoMic-00.analog-stereo/#0: GoMic compact condenser mic Analog Stereo
	sources:
		alsa_output.usb-Samson_Technologies_Samson_GoMic-00.analog-stereo.monitor/#0: Monitor of GoMic compact condenser mic Analog Stereo
		alsa_input.usb-Samson_Technologies_Samson_GoMic-00.analog-stereo/#1: GoMic compact condenser mic Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
    index: 1
	name: <alsa_card.usb-046d_HD_Pro_Webcam_C920_DEDCBAEF-02>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "2"
		alsa.card_name = "HD Pro Webcam C920"
		alsa.long_card_name = "HD Pro Webcam C920 at usb-0000:00:14.0-5.3, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:5.3:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.3/1-5.3:1.2/sound/card2"
		udev.id = "usb-046d_HD_Pro_Webcam_C920_DEDCBAEF-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "082d"
		device.product.name = "HD Pro Webcam C920"
		device.serial = "046d_HD_Pro_Webcam_C920_DEDCBAEF"
		device.form_factor = "webcam"
		device.string = "2"
		device.description = "HD Pro Webcam C920"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-stereo>
	sources:
		alsa_input.usb-046d_HD_Pro_Webcam_C920_DEDCBAEF-02.analog-stereo/#2: HD Pro Webcam C920 Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
    index: 2
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x9121c000 irq 137"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9dc8"
		device.product.name = "Cannon Point-LP High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#3: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#4: Built-in Audio Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

Code: Select all

damien@lt:~$ dmesg | grep snd
[    6.943096] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    6.976519] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.053641] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC256: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    7.053643] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.053644] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.053646] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    7.053647] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    7.053649] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x12
[    7.179330] usbcore: registered new interface driver snd-usb-audio

Re: No headphone jack detected - LMDE 4

Posted: Thu May 21, 2020 3:33 pm
by MrEen
Here's your issue:

Code: Select all

	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
Do you dual boot with Windows? If so, Windows may not have shut down the card properly. Boot to Windows and ensure Fast Startup is turned off then shut down, don't reboot. Wait 2 minutes then power up into Mint, and hopefully the card will be properly detected.

If that's not the case, let's see the output of sudo fuser -v /dev/snd/*

Re: No headphone jack detected - LMDE 4

Posted: Fri May 22, 2020 3:52 am
by feganegg
I was dual booting then lost the plot with windows and did a completely fresh LMDE install. Only thing the ssd drive is Mint and another partition for home.

Re: No headphone jack detected - LMDE 4

Posted: Fri May 22, 2020 4:02 pm
by MrEen
Okay, try reinstalling the sound base with this:

Code: Select all

apt install --reinstall alsa-utils pulseaudio linux-sound-base libasound2
Finsish by shutting down. Don't reboot here. Wait 2 minutes then boot up and test the card. You can simple run pacmd list-cards and look for those lines I pasted. Hopefully they'll available: yes, then you should be all good.

Re: No headphone jack detected - LMDE 4

Posted: Fri May 22, 2020 5:52 pm
by feganegg
When I run that i get

Code: Select all

E: Unable to locate package linux-sound-base
and here is the result of sudo fuser -v /dev/snd/*

Code: Select all

damien@lt:~$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  root        668 f.... alsactl
                     damien     1347 F.... pulseaudio
/dev/snd/controlC1:  root        668 f.... alsactl
                     damien     1347 F.... pulseaudio
/dev/snd/controlC2:  root        668 f.... alsactl
                     damien     1347 F.... pulseaudio

Re: No headphone jack detected - LMDE 4

Posted: Fri May 22, 2020 5:57 pm
by MrEen
I had already removed one of the packages that I knew the Debian base wouldn't have, now you've shown me another. What I'm saying is don't worry about the error, it's meaningless in this case.

I'm nervous this command wont work either, but give it a shot:

Code: Select all

sudo alsa force-reload

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 3:42 am
by feganegg
Comes back with

Code: Select all

sudo: alsa: command not found
I'm really eager to learn more about linux so i'm guessing this is a great opportunity.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 11:18 am
by MrEen
feganegg wrote:
Sat May 23, 2020 3:42 am
Comes back with

Code: Select all

sudo: alsa: command not found
I'm really eager to learn more about linux so i'm guessing this is a great opportunity.
I was afraid of that. I just tried looking at the Debian forum to find out how to do this, and it's down right now. I don't know why this has to be different than almost every other Linux OS. It might be the way sudo works on Debian, but I'm not sure. As a test, run sudo su and it should ask for your password, then run alsa force-reload. Finish with exit. I'll try to find more help with Debian in the meantime.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 12:26 pm
by feganegg
I really appreciate you help with this so far. This is what it returned.

Code: Select all

root@lt:/home/damien# alsa force-reload

Command 'alsa' not found, did you mean:

  command 'atsa' from deb csound-utils
  command 'salsa' from deb devscripts
  command 'als' from deb atool
  command 'balsa' from deb balsa
  command 'alfa' from deb alfa

Try: apt install <deb name>
I've only fairly recently switched to mint and I could switch to 19.5 instead of LMDE if that would solve it. I partitioned the disk on install so that my home folders are on a separate partition just in case i needed to do something like this.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 12:57 pm
by MrEen
I'm not certain it will solve the issue, but at least I know my troubleshooting steps will work with 19.3. Something is just really strange about the way Debian handles alsa. Unless it's something funky with LMDE itself, but I can't really say.

It is possible things will work right away, and if that's the case, it's also possible simply reinstalling LMDE might also fix it. Just want to keep your options more open.

One last thing before any reinstalling attempts though, run this and paste the output:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
That'll have a URL on the last line pointing to a rather thorough listing of your sound setup. Maybe I'll spot something hinky there.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 1:51 pm
by feganegg
Here's the output

Code: Select all

damien@lt:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   3098      0 --:--:-- --:--:-- --:--:--  3098
https://termbin.com/ilip

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 2:08 pm
by MrEen
So far, I've not really seen an issue in that output, although it shows no headphones were plugged in when you ran that. If that was not the case, install alsa-tools then run sudo hdajacksensetest -a once with headphones plugged in and again with them unplugged and paste the output of both here. Here I'm checking to see if you have reverse jack detection, or jack detection failure.

I'll continue reading to see if I find anything else.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 3:02 pm
by feganegg
I ran that again but this time with the headphones plugged in

Code: Select all

damien@lt:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   3906      0 --:--:-- --:--:-- --:--:--  3898
https://termbin.com/uex9

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 3:09 pm
by MrEen
feganegg wrote:
Sat May 23, 2020 3:02 pm
I ran that again but this time with the headphones plugged in

Code: Select all

damien@lt:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   3906      0 --:--:-- --:--:-- --:--:--  3898
https://termbin.com/uex9
Okay, it still shows headphones as unavailable. I'm suspecting a jack detection issue. Does the jack have 2 black rings on it or 3? Is there a microphone attatched to it?

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 3:10 pm
by feganegg
with headphones plugged in

Code: Select all

damien@lt:~$ sudo hdajacksensetest -a
Pin 0x12 (Internal Mic): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Not connected): present = Yes
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No
with headphones removed

Code: Select all

damien@lt:~$ sudo hdajacksensetest -a
Pin 0x12 (Internal Mic): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Not connected): present = Yes
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 3:12 pm
by MrEen
This might work for you. In the terminal run alsamixer. Arrow over to the Auto-Mute Mode column then press the down arrow until it says Disabled. Then test the headphones.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 4:17 pm
by feganegg
The headphone jack has 3 black circles.

The alsamixer did not work. But when i go in it only shows master and the option to arrow over is not there. I have to hit F6 and then select the soundcard to get the extra volumes/options up, if that helps.

Re: No headphone jack detected - LMDE 4

Posted: Sat May 23, 2020 4:22 pm
by MrEen
feganegg wrote:
Sat May 23, 2020 4:17 pm
The headphone jack has 3 black circles.

The alsamixer did not work. But when i go in it only shows master and the option to arrow over is not there. I have to hit F6 and then select the soundcard to get the extra volumes/options up, if that helps.
Another Debian quirk it seems, alsamixer -c0 should be the same as alsamixer but it appears it's not for you.

Okay, let's try a whole new direction. Run this then reboot:

Code: Select all

sudo tee /etc/modprobe.d/headset-fix.conf <<<'options snd-hda-intel model=dell-headset-multi'
That will hopefully give you a Headset option, along with the Headphone option it isn't cooperating with. Don't worry about the Dell name in that fix. It applies to any machine with your codec.