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.

Steps to fix headphone jack no audio issue for Dell XPS Studio:

  1. Open Alsa module configration file using your preferred text editor.
    $ sudo vi /etc/modprobe.d/alsa-base.conf
  2. Add the following line at the end of the file.
    options snd-hda-intel model=dell-m6
  3. Save the file and exit your text editor.
  4. Restart your machine.
    $ sudo reboot

Guide compatibility:

Operating System
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)
Discuss the article:

Comment anonymously. Login not required.