You are not logged in.

#1 2017-04-20 16:42:37

Binabik
Member
Registered: 2017-04-20
Posts: 8

[SOLVED] Xfce has sound output even if audio output is muted in pulse

Hi, some actions in Xfce produce an annoying "beep" sound which shall point out that something does not work, e.g. if I am at the topmost item in Thunar and press "arrow up", this "beep" occurs. But this beep is most probably produced by something in Xfce because I can also trigger it in other applications. The most annoying about this sound is that it completely ignores all audio settings, i.e. it always has full volume!

Normally, I am using pulseaudio so I guessed that this sound could ignore pulseaudio and be routed directly to alsa. So I installed alsa-utils and ran 'amixer set Master mute'. This mutes all other sounds but this beep sound is still produced.

Afterwards, I found out that this only holds true if I am outputting sound via the audio jack. If I am using the built-in laptop speakers, I can actually mute this sound.

Now, I am completely confused, to sum up:
- beep sound in different applications (using xfce desktop environment)
- mutable if built-in laptop speaker is used
- not mutable by pulse or alsa if audio jack output is used

Thanks for any replies.

Last edited by Binabik (2017-05-05 13:31:51)

Offline

#2 2017-04-20 16:52:11

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Xfce has sound output even if audio output is muted in pulse

Could it be the onboard speaker that's making the sound? Run the following and see if it still happens

# rmmod pcspkr

Offline

#3 2017-04-21 07:53:08

Binabik
Member
Registered: 2017-04-20
Posts: 8

Re: [SOLVED] Xfce has sound output even if audio output is muted in pulse

Nice, that's the solution. Thank you so much!

Could someone explain to me what was happening there? Because you called it the "onboard speaker" but it was definitely output via the audio jack ...

Offline

#4 2017-04-21 10:34:11

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] Xfce has sound output even if audio output is muted in pulse

https://en.wikipedia.org/wiki/PC_speaker

The diagnostic functionality needs to work very early in the boot process.
Upon connecting something through the audio jack, electronics on your system disable the built-in speakers
and re-route  the pc speaker functionality to the audio jack output.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-04-24 07:02:10

Binabik
Member
Registered: 2017-04-20
Posts: 8

Re: [SOLVED] Xfce has sound output even if audio output is muted in pulse

Okay, that's obvious. But the question remains: Why can it be disabled (by pulseaudio) if nothing is plugged in, why isn't that possible if an audio jack is plugged in?

Last edited by Binabik (2017-04-24 07:02:28)

Offline

#6 2017-04-25 18:56:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] Xfce has sound output even if audio output is muted in pulse

It's the pcspkr kernel module that allows the disabling/enabling , and afaik it has no code to change what's on the audio jack .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB