You are not logged in.

#1 2024-05-09 10:03:07

EISENFELD
Member
From: Germany
Registered: 2024-03-13
Posts: 44
Website

How can I remove the crackling noise from the speakers during boot ?

A loud cracking noise comes from the speakers several times during booting my Archlinux system. I use an extern USB Audio interface "Behringer U-Phoria UM2". The interface is connected to an USB 3 Hub, which is connected direct to the USB 2 socket of the mainboard ( Asrock A520M-itx ). The volume of the Audio interface is turned down completely. During the cracking, the power LED of the interface lights up. My Archlinux is always up-to-date just like the Bios (UEFI) of my mainboard too.

I hope there is a way to eliminate this annoying clicking noise during the boot process.

I plugged my interface into another USB port without the hub, but there is still this loud cracking noise during boot.


Ich weiß, dass ich nichts weiß !

Offline

#2 2024-05-12 04:19:19

jonno2002
Member
Registered: 2016-11-21
Posts: 853

Re: How can I remove the crackling noise from the speakers during boot ?

i have a similar problem with an hp elitedesk and my fix was the following, you can probably adapt to your setup, so instead of snd_hda_intel it will be what ever module your usb soundcard uses.

/etc/systemd/system/alsa-restore.service

#
# Note that two different ALSA card state management schemes exist and they
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
#

[Unit]
Description=Save/Restore Sound Card State
ConditionPathExists=!/etc/alsa/state-daemon.conf
ConditionPathExistsGlob=/dev/snd/control*

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=-/usr/bin/alsactl restore
ExecStart=-/usr/bin/amixer set Master unmute > /dev/null
ExecStop=-/usr/bin/alsactl store
ExecStop=-/usr/bin/amixer set Master mute > /dev/null
ExecStop=-/usr/bin/modprobe -r snd_hda_intel

/etc/modprobe.d/soundfix.conf

options snd_hda_intel power_save=0 power_save_controller=N

if you use pulseaudio add this to your .xinitrc or your DM config:

pactl set-sink-mute 0 0

see how you go with that, i will try and help if you get stuck

Offline

#3 2024-05-12 07:37:06

EISENFELD
Member
From: Germany
Registered: 2024-03-13
Posts: 44
Website

Re: How can I remove the crackling noise from the speakers during boot ?

I changed my alsa-rstore.service like you did and added soundfix.conf to modprobe.d but still the same. The first cracking noise comes directly after the UEFI Firmware finished loading. I think it is something with my mainboard / USB Soundcard.
Thanks for your time to help.


Ich weiß, dass ich nichts weiß !

Offline

#4 2024-05-12 08:54:40

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,458

Re: How can I remove the crackling noise from the speakers during boot ?

I'm interested to this as well.

No problems with the integrated sound, but the usb one (scarlett 2i2 1st gen) emits something like 5 pops when it starts (being connected or at boot).

It is so bad i'm actually using an usb driven hardware relay to power on my external speakers after the soundcard "fully booted" to avoid damaging them, just in case.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2024-05-12 16:00:43

EISENFELD
Member
From: Germany
Registered: 2024-03-13
Posts: 44
Website

Re: How can I remove the crackling noise from the speakers during boot ?

I currently only have very inexpensive Phillips speakers on the USB sound card. If I had high-quality speakers, I would be afraid of destroying them because of the cracking.


Ich weiß, dass ich nichts weiß !

Offline

Board footer

Powered by FluxBB