First time post. I’ve tried a number of configurations to get rid of this hum. I can’t do it and need help.
Issue:
When my laptop boots up and there is no audio being played, there is a hum at 160Hz.
Points of interest:
This only happens when external amplified speakers are plugged into the standard audio 3.5mm jack
As far as I can tell, the hum kicks in once the audio hardware goes idle.
If a notification sound happens, the hum stops for 7 seconds and then continues.
If I’m using an audio application of any sort, the hum is gone.
If I open the EOS sound settings, the hum is gone.
Initial Help:
Can someone tell me how to monitor what is going into idle? I believe the system is running pipewire-pulse.
Here is the list of packages from pacman:
extra/paprefs 1.2-1
Configuration dialog for PulseAudio
extra/pavucontrol 1:5.0+r61+gee77d86-2 [installed]
PulseAudio Volume Control
extra/pipewire-alsa 1:0.3.64-1 [installed]
Low-latency audio/video router and processor - ALSA configuration
extra/pipewire-pulse 1:0.3.64-1 [installed]
Low-latency audio/video router and processor - PulseAudio replacement
extra/plasma-pa 5.26.5-1 (plasma)
Plasma applet for audio volume management using PulseAudio
extra/pulseaudio 16.1-3
A featureful, general-purpose sound server
I have tried an audio isolation transformer before and it didn’t fix it.
I copied the lua files as suggested. The alsa config file already had the pause-on-idle set to false. I changed the session.suspend-timeout-seconds to 0 because it was on 5.
After a reboot it continues to hum
Is there a way to read the currently applied values?
If you followed the directions suspend is disabled, idk about checking the values but shouldn’t need to as that’s how I set it for my USB DAC.
Something else is causing the hum, have you tried any other powered speakers? If the noise is in your speakers power supply or amp that could cause it.
How high do you have the speakers volume?
Edit: there’s likely a way with pw-cli I just have never needed to know how
Interesting Echoa.
I didn’t know about pw-cli.
The “module-unload” feature has not been implemented yet I tried to unload the suspend module.
It does give information about the device:
Try using a powerstrip to plug in the speakers and not the power outlet directly.
Make sure the speakers are not close to other electronics - if the speakers are not shielded this may cause hum. But probably not at 160hz?
Also note: You have an amplifier on the computer and one in the speakers.
Such a setup you may need to keep the volume low in Linux.
’
device.plugged.usec = “7867814”
Seems to fit with about 7 seconds, but I don’t know if you can change it or if it will help. Maybe some wiser people on the forum could shed some light on this.
This is what I’m thinking it is, the question is whether its the speakers amp or the PCs introducing the noise
It would be 60hz in the United States and maybe Canada but I’m not positive for other countries but I doubt 160hz. When you have fixed frequency noise its usually hardware related in some way, the question is which hardware? Mine for instance is my speakers amp if I don’t limit their volume.
I’ve used this setup in a few locations around the house and it is the same.
They are Edifier PC Speakers and are therefore designed for how I am using them.
Interesting spotting of the device.plugged.usec value. I’ll check this out thanks.
I don’t have time right now but will come back to this. This has been an issue for years so…
It’s absolutely 160Hz. I used a spectrum analyzer on my phone and also just checked by listening to 60Hz and 160Hz on YouTube.
It’s a strange frequency that’s for sure.
What I haven’t put in this post yet is that there is another computer in the house that seems to do the same thing! Also, if the computer has Windows on it, it doesn’t do it.
Don’t worry, I’ll never go back to stupid-looking Windows ever again.
If 2 computers do it this could be something in the environment.
The problem with Linux and audio drivers is very few if not no manufacturers make audio drivers for Linux. Some audio devices have quirks or the ability to eliminate certain small issues when using windows drivers but Linux doesn’t have that luxury.
So to get to the bottom of this
Are the computers the same model?
Do they use the same audio codec?
Do they use the same equipment (speakers,etc)
Are they on the same circuit or different ones?
Any information you can provide about commonality between the 2 systems that do it can help narrow down the suspects.