After installing Ubuntu and its derivatives on a Dell XPS Studio, the headphone jacks are both unusable. Plugging in earphone to the jack produces no sound, and the system still output the sound on the laptop's speaker.
This problem is confirmed to affect Ubuntu 10.04 (Lucid Lynx), up to the latest version (currently 12.10, Quantal Quetzal)
The problem is related to alsa. To fix it, follow these steps.
$ sudo vi /etc/modprobe.d/alsa-base.conf
options snd-hda-intel model=dell-m6
$ sudo reboot
|Ubuntu 16.04 LTS (Xenial Xerus)|
|Ubuntu 16.10 (Yakkety Yak)|
|Ubuntu 17.04 (Zesty Zapus)|
|Ubuntu 17.10 (Artful Aardvark)|
|Ubuntu 18.04 LTS (Bionic Beaver)|
|Ubuntu 18.10 (Cosmic Cuttlefish)|
|Ubuntu 19.04 (Disco Dingo)|
Comment anonymously. Login not required.