Ubuntu – Ubuntu 16.04 headphones are not working

16.04audio-jackheadphonessound

Reminder : I have reinstalled Ubuntu 16.04 from scratch but it didn't help, the problem still exists.


I am using Windows 10 with Ubuntu as dual boot.

The problem is I can not make headphones work. They work just fine on Win 10. Apparently my headphone jack is not compatible with Ubuntu. How can I make Ubuntu see my headphone jack ? I need help please.

Headphone jack not working?

I have tried every method in above link.

Headphones : Apple

When I plug in my headphones they don't even appear:
System Settings > Sound

Built-in Speakers are working fine.

If there are other things you want to know, help me to find out please.


Edit: This might be useful.

burakcank@BurakcanK-PC:~/Documents$ lspci | grep Audio
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller 
(rev 0a)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset 
High Definition Audio Controller (rev 05)

Edit 2 : Added AlsaInfo

  • Headphones are connected –> AlsaInfo

Edit 3 : Added Alsa-base.conf file content

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=dell-m6-amic

Best Answer

After searching for a solution for damn 2 months, I was able to solve my own problem.

This problem also exists in Linux Mint, since they are both based on Debian and that means this is an issue which exists in Debian.

This post has a lot of information about the issue:

[SOLVED]Front panel headphones not working with onboard Intel HD Audio

At some point it mentions a package hda-jack-retask. I have searched for it a little bit and found out that it resides in alsa-tools-gui. I Installed it and then I wrote

sudo hdajackretask

In this GUI, I have overridden my front jack to headphones and installed boot override.

Now I have crystal clear sounds from my headphones and also it can detect whether they are plugged in or not! It mutes the speakers when they are plugged in.


This may not be a common issue, but it is a tough one to solve. Other solutions I found on the internet just did not work for this issue.

If anyone reading is able to get this issue solved in future versions of Debian, please contact me or show me how to report this problem.