You are not logged in.

#1 2014-04-17 05:58:00

robertk703
Member
Registered: 2014-04-17
Posts: 4

Audio Cuts Out When Headphones Are Plugged In

I recently ran into a strange Audio problem. Whenever I restart the system and there are no headphones in I can hear speaker output. It is also not a hardware issue as both headphone and speaker sound work perfectly on the windows partition of my laptop. This problem just appeared a few hours ago and I'm not really sure what to do to fix it.

Im running pulseaudio currently and all

Output of useful commands:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

grep -i audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)

lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi     30162   1
snd_hda_codec_realtek  41295   1
snd_hda_intel          37000   7
snd_hda_codec          150305  3   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              6340    1   snd_hda_codec
snd_pcm                77645   3   snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         7210    2   snd_pcm,snd_hda_intel
snd_timer              18726   1   snd_pcm
snd                    59109   21  snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel

cat /etc/modprobe.d/alsa-base.conf
options snd slots=snd_mia,snd_hda_intel
options snd_mia index=0
options snd_hda_intel index=1

speaker-test

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
0 - Front Left
Time per period = 10.930749

I appreciate any help you could give me and please let me know if there's any more information that I should include.

Offline

#2 2014-04-17 13:39:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Audio Cuts Out When Headphones Are Plugged In

In 'alsamixer' I have a setting called ''Headphone Jack Sense' which if enabled mutes the speaker when a headphone jack is inserted.
What's the output of

amixer get 'Headphone Jack Sense' 

When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2014-04-17 15:34:27

robertk703
Member
Registered: 2014-04-17
Posts: 4

Re: Audio Cuts Out When Headphones Are Plugged In

amixer get 'Headphone Jack Sense' 
amixer: Unable to find simple control 'Headphone Jack Sense',0

amixer included just in case also

'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 10387 [16%] [on]
  Front Right: Capture 10387 [16%] [on]

Offline

#4 2014-04-21 21:42:16

robertk703
Member
Registered: 2014-04-17
Posts: 4

Re: Audio Cuts Out When Headphones Are Plugged In

bumping

Offline

#5 2014-06-15 03:56:37

robertk703
Member
Registered: 2014-04-17
Posts: 4

Re: Audio Cuts Out When Headphones Are Plugged In

trying to revive my dead thread because I still have the same problem

Offline

#6 2014-06-15 22:08:58

Ailen
Member
Registered: 2014-05-01
Posts: 32

Re: Audio Cuts Out When Headphones Are Plugged In

I had this same problem yesterday and the way i fixed it was by going into the audio device settings in KDE and selecting 'built-in audio device' as my output device. It was on 'headphone jack' having been automatically set when the headphones were plugged in but not automatically removed.

Hope that at least gives you an idea of where to look, if not an actual solution.

Last edited by Ailen (2014-06-15 22:16:06)

Offline

#7 2014-06-16 00:51:00

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Audio Cuts Out When Headphones Are Plugged In

Since your hardware seems to be hda compliant, try disabling jack sense with hdajackretask from alsa-tools package.

Offline

Board footer

Powered by FluxBB