Home / Technology / Fix for no sound issue on Linux when using headphones

Fix for no sound issue on Linux when using headphones

So, I lately did a bunch of distro-hopping to check out some methods I’m unfamiliar with, and I discovered an issue that continued no matter what I used to be operating; if I saved my audio system plugged-in to the entrance audio-jack and saved my headphones plugged-in to the rear audio-jack, my headphones would produce no audio.

The instruments I used to troubleshoot the problems have been PulseAudio and ALSA. If you might be new to Linux, try or getting started with audio on Linux guide.

First, I checked to see if pulseaudio acknowledged the sound gadgets as being plugged-in by opening the PulseAudio Volume Control utility through terminal.

pavucontrol

I discovered that PulseAudio was solely recognizing my entrance audio-jack as plugged in, although it did inform me that my Line-Out was unplugged, so it at the very least acknowledged Line-Out however sadly not the plugged-in headphones.

Next, I attempted going via the Configuration tab and Output Devices tabs altering numerous choices round, making use of the adjustments, and restarting Clementine to see if something labored…Nope.

Then, I made a decision it was time to get just a little extra critical, and poked into the ALSA (Advanced Linux Sound Architecture) mixer utility:

alsamixer

When first opening alsamixer chances are you’ll or could not robotically be introduced with the sound machine / sound card you wish to modify (I used to be introduced with my HDMI as default, for instance).

To change the machine you might be enhancing, hit the F6 key and choose the machine to edit; mine was referred to as HD-Audio Generic. You may have to pick out completely different gadgets one after the opposite to seek out the suitable machine if you do not know its actual title.

Once your machine is chosen, using your keyboard arrow-keys, scroll to the suitable till you discover a setting referred to as Auto-Mute – If that is defaulted to enabled then it have to be modified by using your up/down arrow keys to disabled, after which you possibly can hit the escape key to exit.

Doing so enabled me to have audio path to my headphones. However, I may hear audio via each audio system and headphones on the similar time now.

To repair this I returned to pavucontrol contained in the Output Devices tab and inspected what gadgets have been listed. My audio system have been listed as Headphones (Plugged in) however my headphones plugged into the rear audio-jack nonetheless have been listed as Line-out (unplugged). However, for enjoyable, I chosen the Line-out machine and was shocked to listen to that my audio system went silent and my headphones remained lively, fixing the issue.

Tip: try how to enhance sound in Linux with PulseEffects.

Parting ideas

It’s a slight annoyance that this occurred, and that my machine is listed as unplugged regardless of that I’m listening to music whereas I write this via that very set of headphones…But it really works.

This repair must be relevant on fairly (virtually) effectively any system encountering this issue, offering it makes use of ALSA and PulseAudio. Hope it helps!

Now You: Did you run into sound points on your Linux methods prior to now?

Check Also

Enhancer for YouTube is an add-on for Firefox and Chrome which offers a ton of customization

There are a lot of quirks in YouTube, however we’ve got lots of workarounds for …

Leave a Reply

Your email address will not be published. Required fields are marked *