Headphones no longer detected in 16.04
I was experiencing a similar issue with 16.04 on latest Dell XPS 13 (9350). To resolve it, I ran alsamixer from cli, selected the "Headphone" channel using arrow keys, then pressing "M" to unmute (indicated by a status of "MM"). I had to also increase volume on this same channel. There was an additional channel that was causing distortion/interference once my headphones were unmuted, so I lowered that. Everything is fine after this, though I'm no longer prompted to identify the input device like I used to be on 14.04, which isn't a bad thing if it knows it's a headset.
Related videos on Youtube
PhilB
Just another geek, trying to make it through the world.
Updated on September 18, 2022Comments
-
PhilB over 1 year
When using Ubuntu 15.10, my headphones were auto-detected properly. Since upgrading to 16.04, that is no longer the case. I can force output to them using either
pavucontrol
orindicator-sound-switcher
, and doing so while running pulseaudio in debug mode shows thatanalog-output-headphones
works (obviously).However,
pavucontrol
andhdajacksensetest
show that headphones being plugged in are no longer detected.What has changed in 16.04? The sound card in question uses the Realtek ALC3235 codec, using the
snd-hda-intel
module, from what I can tell.Some info from
dmesg
as well:snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3235: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line [ 2.501826] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=1 (0x14/0x0/0x0/0x0/0x0) [ 2.501829] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2.501831] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 2.501832] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 2.501835] snd_hda_codec_realtek hdaudioC1D0: Dock Mic=0x19 [ 2.501837] snd_hda_codec_realtek hdaudioC1D0: Headset Mic=0x1a [ 2.501839] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x13 [ 2.511782] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10 [ 2.511845] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11 [ 2.511901] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
ALSA details: http://www.alsa-project.org/db/?f=b75391807be48e7403a2fd316c18485e15cecb2b
-
PhilB about 8 yearsI also tried upgrading to the latest ALSA driver as mentioned here: wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
-
Takkat about 8 yearsDid you try to remove
~/.config/pulse
? Also make sure thatmodule-switch-on-port-available
is active (see withpactl list short modules
). -
PhilB almost 8 yearsWell, something must have happened in an update lately, because now it works properly. Plugging in headphones even comes up with a new dialogue asking if it is a set of headphones or a headset being plugged in (something I've never seen before).
-
-
PhilB about 8 yearspulseaudio is most certainly installed. I tried uninstalling it, no change (so I reinstalled it)
-
Bhikkhu Subhuti about 8 yearsTry purge and install again. Lubuntu does not have it. I am a lubuntu person.
-
Nick Briz over 7 yearshaving the same issue, i launched alsamixer from cli ( as recommended ) but there was no headphone option in mute, however i selected a different option in "F6: Select sound card" and notieced <Auto-Mut> was Disabled, when i Enabled it my headphones now work properly ( in the sense that when i plug them in sound is only heard on the headphones and not the computer speakers ) but I still don't see them in my system > sound > output list :-/
-
mjp over 7 yearsThis worked. Link this to this question to save the settings: askubuntu.com/questions/50067/howto-save-alsamixer-settings