LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-17-2018, 04:53 PM   #1
Pasc
LQ Newbie
 
Registered: Dec 2018
Posts: 7

Rep: Reputation: Disabled
No headphones sound on Kubuntu 18.4


Hello,

I have a problem configuring the sound output of headphones in Kubuntu 18.4. When I have no headphones plugged in everything works fine. When I insert the plug I have no sound on the headphones. Basically, there AlsaMixer from the command line. AlsaMixer shows my master being in the correct volume, Headphones all the way up to 100% and Speakers all the way down to 0% and muted. I read around that this is not considered fault but the only workaround I found so far is to highlight Speakers unmute it and move it to 100%. But this workaround works only temporarily. The next time I connect the plug again I am back at square 1 (or 0). I also tried to disable auto-mute mode (which doesn't produce an acceptable solution, as the sound comes from both the speakers and headphones) but I get the same result. Every time I reconnect the plug the previous settings have been lost. The laptop is a MSI 8RF.
Thank you!
 
Old 12-17-2018, 04:55 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
use PulseAudio?
open pavucontrol and check output tab. It might be muted through that.

Last edited by BW-userx; 12-17-2018 at 04:57 PM.
 
Old 12-18-2018, 03:50 AM   #3
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,824
Blog Entries: 17

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Kubuntu I assume you use KDE.

KDE has a rather complex way to deal with different sound inputs and sound outputs. If you go to "system settings" in KDE, the control panel thing, and an option "multimedia" (not sure it's the same name in Kubuntu), there are lots of controls for audio input and output. So have a look in there instead. As far as I know, whatever mixer you have in KDE is based on those settings anyways.

Ooh, and btw, KDE seperates all sound streams, so if you have a hardware mute "fn+f8" for example on headset, you might still have sound on speakers when using those. So double check that as well.

I would try to describe in more details, but there are so many settings in there that you will just have to familiarise yourself a bit with them first and try to adjust what seems logical.

Last edited by zeebra; 12-18-2018 at 03:52 AM.
 
Old 12-18-2018, 09:39 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
At this point, the next thing I would do is boot to a Live CD of something not *buntu and test with it to rule out a hardware issue.

If it is hardware, no amount of messing with software will fix it.
 
Old 12-19-2018, 11:07 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,131

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
Does the problem apply to all applications, or only to KDE ones, or only to non-KDE ones? That too would be a useful diagnostic.
 
Old 12-20-2018, 04:18 AM   #6
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,824
Blog Entries: 17

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by frankbell View Post
At this point, the next thing I would do is boot to a Live CD of something not *buntu and test with it to rule out a hardware issue.

If it is hardware, no amount of messing with software will fix it.
Well, I'd stick to trying to figure it out first. The likelihood that it is a hardware issue is very low. In that case the priority would be to try to headset on something else to see if it works.

Ofcourse, there could theoretically be a hardware issue with the analogue sound output port, but the likelihood of that is very small. Smaller even than a software issue (kernel) with the same port.
 
Old 02-09-2019, 05:32 AM   #7
Pasc
LQ Newbie
 
Registered: Dec 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
This is not a hardware problem, I can have sound when I unmute the speakers. this is a common problem but web search doesn't return a solution. I tried Kmix, PulseAudio to no avail.
 
Old 02-09-2019, 06:14 PM   #8
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,824
Blog Entries: 17

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
alsamixer?
 
Old 02-17-2019, 10:34 AM   #9
Pasc
LQ Newbie
 
Registered: Dec 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
I finally solved it by creating an event on acpi. When headphones are plugged-in execute "amixer set Speaker 100%+ unmute". Not sure if it the best solution but it works for now.
 
Old 12-12-2023, 05:08 AM   #10
X00D45
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 2
I went a couple times through this problem ( when I did "distro upgrade" in Kubuntu ), and I finally solved when I found this post
in this thread
#post5938347

So, setting PAVU control ( running "pavucontrol" from the shell or Krunner ) like the image attached, made it work the headphones instantly.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20231212_111839.png
Views:	22
Size:	26.8 KB
ID:	42220  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stereo bluetooth headphones vs Wired Headphones WHITE_POWER General 2 06-04-2013 03:35 PM
Kubuntu 9.04, USB-headphones don't work? annihilan Linux - Hardware 1 08-03-2009 12:26 AM
No headphones sound on Toshiba Satellite L35-S1054 running Kubuntu 7.4 Cainen Linux - Hardware 1 09-19-2007 03:53 PM
Back Panel - No Sound, Headphones - Sound GNewbie Ubuntu 2 03-19-2007 11:15 PM
no sound in speakers, sound in headphones sduvally Linux - Newbie 4 07-31-2004 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration