Popping noise as sound goes on/off

You can check with

sudo apt install alsa-base

Got the script to run. Took out the references at the top (is this SOP?). This time I got a login and it seems to have worked. Yea!

Not bad for a two week noob, including all the other stuff I fixed.

Edit: Nope, doesn't survive reboot, have to edit a file.

1 Like

True... as I would not have thought it has only been Two Weeks...
Welcome to Linux Adept. :grin:

Got: alsa-base is already the newest version

1 Like

In terminal run

alsamixer

You should see your sound settings open in an interactive UI within the terminal.

I did. Don't see anything to stop audio suspending.

I see reset and clear.

And you already checked the Power Save suspension configuration?

sudo nano /etc/pulse/default.pa

Comment out this line:

Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle
systemctl restart --user pulseaudio

How do you comment out something?

BTW, the script worked until I reboot. I tried to edit alsa-base.conf to prevent that but it won't let me! I am the only person using this computer. How can I not be allowed?

Can you please outline the steps you took and what message the system gave?

Commenting out, in this case, means placing a hashtag on front of the line. A hashtag tells the system to Ignore That Line.
For example:

This line is read and adhered to by the system

#This line is exactly like the one above, but ignored by the system.

It's already got ### in front of it. You want 4 or 1?

1 is all you need... but if it is Already Commented out- then that venture is pointless.
Let's try looking at something else...

sudo nano /etc/modprobe.d/alsa-base.conf

Look for this line:
options snd-hda-intel power_save=0

If it is not there, then paste it in at the end of the file (Move to the end using arrow keys).
Then ctrl+x to exit, y to sya yes to save, then enter to save and exit.

1 Like

I am not allowed to edit alsa-base.conf.

Apparently, I'm "not the owner" of this PC.

That script was supposed to edit it but didn't.

Ownership of files...
What Message did the System Display?

File is read only and I am not allowed to change.

Is Root the owner?
Try

sudo -i

To elevate to Root. If need be, you can change the file access from read only to read /write. Any of:

chmod 666 /etc/modprobe.d/alsa-base.conf

echo 'options snd-hda-intel model=mbp55' >> /etc/modprobe.d/alsa-base.conf

chmod 644 /etc/modprobe.d/alsa-base.conf

Operation not permitted, access denied. On all three.

How odd... Did you set up a different user account when you installed Zorin OS?

No but I did change my user name but changed it back.

Edit: Took control of file using sudo -H nautilus. But the script did not add the line. Gonna try to add it manually but that guy's site is down. Might be:

options snd-hda-intel power_save=0 power_save_controller=N

What else can go wrong?

Edit: SUCCESS.

By why did I have so much trouble doing these things when others didn't? I'd better keep sudo -H nautilus handy.

What I learned:

*Do NOT change your user name

*To run a script (at least my way), paste it into a text file, trim junk off the top, change extension to sh, click the file and run in terminal, put in your password (terminal does not show you what's happening tho, might flash)

You can wrestle control of a file with sudo -H nautilus, which opens a browser where you can locate the file

Another thing which MAY have caused this prob is I turned off Suspend When Laptop Lid is Closed (I have a desktop). This may have sent a signal that I am on a laptop and turned on audio power savings.

Update: Booted from the thumb drive and the popping sound is there! The default for Zorin is to idle the sound after 10 secs. Doesn't the popping on resume bother anyone else?

I never experience it- which suggests it is specific to your machine or hardware.

1 Like