You are not logged in.

#1 2015-09-27 13:09:27

MaskedBerry
Member
Registered: 2015-07-21
Posts: 8

Sound cracking : auto-switch to headphone jack

Hello everyone,

I changed from linux Mint to Archlinux on my desktop computer, and I got the same sound problem I had with Mint.
The sound keeps switching to the headphone jack and instantly switches back, which makes the sound crackling at every 'jump'.
I used to fix this problem with linux Mint by commenting

[Jack Front Headphone]
required-any = any
[Jack Headphone]
required-any = any

in /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf, however it does not seem to work with Arch.
(I found the workaround here )

I also tried this

echo "options snd-hda-intel jackpoll_ms=250" >> /etc/modprobe.d/alsa-base.conf

it actually reduces the frequency at which 'jumps' occur, but does not fix the problem.

Does anyone have an idea of how preventing this ?

Edit:
Actually, I think disabling jack detection would do the trick, but I don't find how to do this.

Last edited by MaskedBerry (2015-09-30 12:24:47)

Offline

#2 2015-09-30 12:57:01

MaskedBerry
Member
Registered: 2015-07-21
Posts: 8

Re: Sound cracking : auto-switch to headphone jack

I tried to add

[Jack Headphone]
switch = off
volume = off
required-any = ignore
# required-any = any 

for every [jack foo]. Now the alsamixer curses view does not switch from 'master' to 'headphone' anymore, but sadly the sound is still craclking.

I also tried to increase the jackpoll_ms value, it gives good results : there is almost no more 'jumps', but the higher jacpoll_ms is, the longer it will mute by switching to an unexisting jack-headphone when it eventually jumps.

If you need any further information please feel free to ask wink

Last edited by MaskedBerry (2015-09-30 18:07:30)

Offline

Board footer

Powered by FluxBB