Hi, I just installed linux for the first time so I'm really new to this but been loving how much control I get from linux over windows. Been having a couple issues with bluetooth but was able to resolve that however, i've spent the better part of the last 2 hours trying to fix this issue even resorting to google ai after i coudnt find solutions that worked however ive completely given up now. Basically, whenever i charge my laptop, it doesnt play a charge sound and when disconnect it, it plays the connecting and disconnecting sound multiple times before stopping. It also randomly plays the disconnect or connect sound even if nothing is actually being connected/disconnected. I tried many solutions like stopping the audio drivers from going to sleep, disabling bluetooth autosuspend. The only time it stopped is when i turned off system event alerts from terminal but when i turned it back on, the sound appears again. Even while typing this out, the connect/disconnect sound played multiple times. If this has been solved, I wasn't able to find it so hoping somebody can guide me to it. If not, hoping that somebody could help me solve this issue. (Also this is my first post so not sure if I've titled it properly or was not as direct or straight to the point as I should have been)
Welcome to the Forum!
Could it be that the Sound is related to other connected Devices like USB Sticks, Keyboard, Mouse or other Stuff? Maybe there is a Plug a bit lose. Could You check that?
Hi, I tried connecting a usb stick however, it plays a completely different sound than when I plug in my charger. My laptop charges through a type c port so i tried a different type c port and when I unplugged my charger, the connect/disconnect sound still played. I did however connect my controller to the laptop and when I disconnected the controllers charging wire, it did play the sound so i decided to check the system audio stored and found out that the audio byte that plays is called gsd power unplug and plug which is the name of the audio that plays multiple times. I could just mute that exact audio but I'm hoping for a more permanent fix to this issue or atleast a reason as to why its happening. Even the sound that randomly plays when i havent done any action is the same as gsd power plug/unplug. EDIT: also I forgot to mention but whenever my system randomly plays the charging/discharging sound, the charging symbol appears over the battery icon.
not a loose usb stick. gsd-power plug/unplug firing over and over is the type-c pd port bouncing. thats why the charge icon flickers too.
watch it: journalctl -f | grep -i power_supply
if you see AC/BAT spam when you arent touching the cable, muting the wav just hides it.
try another charger/cable first. then usbcore.autosuspend=-1 or disable runtime pm on that port. some zorin 18 laptops just do this on type-c, its not you breaking audio.
Ok, I ran the journalctl -f | grep -i power_supply command but nothing appeared after. Plugged unplugged the charger and even waited for the system to make the gsd power plug/unplug sound on its own and nothing appeared.
I tried with 3 different cables but the same thing happened after unplugging where it played the sound multiple times. Here's where I'm confused, I ran the 2nd command but it just returned command not found. Am I supposed to enter it in a file or config? I'm fairly new to this terminal thing so please excuse me if I'm missing something obvious.
I did also just install zorin 2 days ago so I have the latest version 18.1
You mean this?
That is not a Command. That is a Value to add to the GRUB Configuration. It is for Startup.
@nite_route didn't explained it unfortunately. To add this Parameter, open the Terminal and type
sudo nano /etc/default/grub
to work on the GRUB Config File. You should see there this Textblock:
Add the Parameter to the 2nd Line from the Bottom so that it looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
When done, press ctrl+o to save, Enter to confirm and ctrl+x to exit. Back in the normal Terminal Overview type sudo update-grub to make the Change affect. Don't forget it! Without it, it will not work. Then reboot.
Ohh, I see. Thanks for clearing it up. Unfortunately, it didn't seem to work. I even tried a different ports and wires (Although it isn't a port issue) but the sound still haunts me. I attached the code below in case I've done it wrong. (And yes I did save and reboot).
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
GRUB_CMDLINE_LINUX=""
Yes, this is right.
And You didn't forgot the sudo update-grub too, yes?
Ok I did forget, so i opened the config file made sure code is still there, saved and did grub update and then rebooted but the sound still remains.
I would remove the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" because you have two lines now, maybe they make conflicts,
and then run
sudo update-grub
and reboot.
OMG! Actual silence for the first time since I installed zorin os, no sound came when I unplugged the wire. So does this mean that the problem is solved? or just that the audio been muted?

