16

I was playing music with my headphones plugged in. The music was coming out of the headphones, but I also noticed that my speakers were playing the same music.

Why is this, and how can I fix it?

Kaz Wolfe
  • 33,802
  • 20
  • 111
  • 168
David Siegel
  • 8,882
  • 10
  • 34
  • 34
  • Possibly related: http://askubuntu.com/questions/6993/internal-microphone-not-working – User Oct 25 '10 at 05:47
  • [This answer](http://askubuntu.com/a/150959/61218) helped me to get rid of this problem. My card was an Intel card. – Anwar Sep 23 '12 at 03:23
  • possible duplicate of [Sound from both headphones and speakers](http://askubuntu.com/questions/150887/sound-from-both-headphones-and-speakers) – Eliah Kagan Oct 03 '12 at 00:22
  • This question is not localised. and could have perfectly good answers, but as others have said try the above answers. – TheArchitecta Aug 03 '19 at 04:31

2 Answers2

9

This is probably an alsa issue. I had the same problem, but it got reported as a bug and fixed.

link to bug report

Jastria Rahmat
  • 302
  • 1
  • 2
  • 14
MarkovCh1
  • 2,093
  • 2
  • 24
  • 29
  • +1: This is an ALSA bug. In addition to whatever workaround you can get, please file it - our audio maintainer is pretty good with these :) The driver needs to have a correct mapping of all the various inputs your sound hardware has - one of which is a “you've got headphones plugged in” signal - and not all systems have correct mappings. Running “ubuntu-bug” should get you the symptoms-based reporter, where you can get the relevant audio logs to a bug. – RAOF Jul 29 '10 at 02:58
  • It has worked for me since the upgrade to 10.10 on hda intel platforms. the previous solution was to open sound preferences, which triggered a probe and changeover to headphones. in my opinion, not a bug...tradeoff for speed increase by not polling the interface – RobotHumans Nov 29 '10 at 21:03
5

I had the same issue. It appears that the new kernel did not correctly detect the sound card model that you have. You will have to edit the /etc/modprobe.d/alsa-base.conf file and set the model manually with

options snd-hda-intel model=<model>

Unfortunately, finding the correct sound card model can take a little guess work. I took me several tries to find the sound card model that would detect the headphones correctly.

This link gives a list of sound card model: http://ubuntuforums.org/showthread.php?t=1043568

More information can be found on the Ubuntu Wiki.

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
Dariel Dato-on
  • 848
  • 7
  • 12