After unplug headphones and plug them again no sound can be heard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| pulseaudio (Ubuntu) |
High
|
Kai-Heng Feng | ||
| Focal |
High
|
Kai-Heng Feng | ||
| Groovy |
High
|
Kai-Heng Feng |
Bug Description
* Impact
Sound isn't automatically redirected to headphones when those are connected to a jack interface
* Test case
Disconnect the headsets
Start your webbrowser/music player/video player and play some sound
Connect the headsets to the jack interface
-> the sound should be directly redirected to the plugged headsets
* Regression potential
Check that audio routing when connecting/
----
After startup with headset plugged in they play sound nicely - no issue. When they are unplugged, the sound is switched to the speaker (laptop) - all good. However, when I plug the headset back there is no sound. I see the app on pavucontrol, the volume is fine - everything looks fine except there is no sound. I dumped output of "pactl list" command on startup (headset plugged), after unplugging the headset, and when it is plugged back. From the comparison of these outputs, it looks like the source has got muted after the headset is plugged.
Source #1
State: RUNNING
Name: alsa_input.
Description: Built-in Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,
Owner Module: 7
Mute: yes
Attached three outputs:
headset-in.txt - after startup with headset plugged - all fine.
headset-out.txt - after unplugged headset - sound through the speaker - all fine.
headset-back.txt - after plugged headset back - no sound.
Any help greatly appreciated.
Regards,
Roman
Roman Konieczny (kromek-gmail) wrote : | #1 |
Roman Konieczny (kromek-gmail) wrote : | #2 |
tags: | added: focal |
Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in pulseaudio (Ubuntu): | |
status: | New → Confirmed |
Hui Wang (hui.wang) wrote : | #4 |
Looks like the fix of this bug (https:/
Kai-Heng Feng (kaihengfeng) wrote : | #5 |
Please test PPA here:
https:/
Anuhbav Mishra (kingkabali) wrote : Re: [Bug 1876065] Re: After unplug headphones and plug them again no sound can be heard | #6 |
Hi There!
Your PPA worked for me. Thanks a lot for this.
Regards,
Anubhav
On Fri, May 1, 2020 at 11:45 PM Kai-Heng Feng <email address hidden>
wrote:
> Please test PPA here:
> https:/
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1875032).
> https:/
>
> Title:
> After unplug headphones and plug them again no sound can be heard
>
> Status in pulseaudio package in Ubuntu:
> Confirmed
>
> Bug description:
> After startup with headset plugged in they play sound nicely - no
> issue. When they are unplugged, the sound is switched to the speaker
> (laptop) - all good. However, when I plug the headset back there is no
> sound. I see the app on pavucontrol, the volume is fine - everything
> looks fine except there is no sound. I dumped output of "pactl list"
> command on startup (headset plugged), after unplugging the headset,
> and when it is plugged back. From the comparison of these outputs, it
> looks like the source has got muted after the headset is plugged.
>
> Source #1
> State: RUNNING
> Name: alsa_input.
> Description: Built-in Audio Analog Stereo
> Driver: module-alsa-card.c
> Sample Specification: s16le 2ch 44100Hz
> Channel Map: front-left,
> Owner Module: 7
> Mute: yes
>
> Attached three outputs:
> headset-in.txt - after startup with headset plugged - all fine.
> headset-out.txt - after unplugged headset - sound through the speaker -
> all fine.
> headset-back.txt - after plugged headset back - no sound.
>
> Any help greatly appreciated.
>
> Regards,
> Roman
>
> To manage notifications about this bug go to:
>
> https:/
>
黄闫 (prayerholmes) wrote : | #7 |
@Kai-Heng Feng
Mine is okay,too. https:/
A little suggestion: can you make a pop-up dialogue like ubuntu to choose headphone/
Thanks a lot. Now I can use my headset's mic.
Roman Konieczny (kromek-gmail) wrote : | #8 |
Hi Kai-Heng,
Your repo works!
I didn't expect my problem will be addressed that fast.
Thanks a lot for a super quick response and fix - that is great!
Cheers,
Roman
Sebastien Bacher (seb128) wrote : | #9 |
@Kai-Heng, can you prepare a SRU for focal with your fix?
Changed in pulseaudio (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
Kai-Heng Feng (kaihengfeng) wrote : | #10 |
The attachment "pulseaudio_
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
tags: | added: patch |
Daniel van Vugt (vanvugt) wrote : | #12 |
It probably needs fixing in groovy first.
Changed in pulseaudio (Ubuntu): | |
status: | Confirmed → In Progress |
Sebastien Bacher (seb128) wrote : | #13 |
Thanks, I tweaked the diff to apply the change to the existing patch, no need to stack fixes when the issue comes from a previous change, and I've uploaded to groovy and focal
Changed in pulseaudio (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: | added: regression-release |
Hello Roman, or anyone else affected,
Accepted pulseaudio into focal-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in pulseaudio (Ubuntu Focal): | |
status: | New → Fix Committed |
tags: | added: verification-needed verification-needed-focal |
Roman Konieczny (kromek-gmail) wrote : | #15 |
Hi,
I tested the package contained in the proposed repo (v13.99.1).
I plugged and unplugged the jack several times. It worked well. Worked fine also after reboot.
I am now again a happy user of my headset :D
Thanks,
Roman
Sebastien Bacher (seb128) wrote : | #16 |
Thanks for testing, marking as verified!
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Changed in pulseaudio (Ubuntu Focal): | |
importance: | Undecided → High |
Jamie Strandboge (jdstrand) wrote : | #18 |
FYI, the upload to focal-proposed was superseded by https:/
Jamie Strandboge (jdstrand) wrote : | #19 |
Rather than superseding 1:13.99.1-1ubuntu4 in groovy-proposed, I instead based the changes in 1:13.99.1-1ubuntu5 on top of 1:13.99.1-1ubuntu4 to address the CVE that was fixed in https:/
Daniel van Vugt (vanvugt) wrote : | #20 |
Yes the proposed update 1:13.99.
Sorry about that. Please repropose it as 1:13.99.
tags: |
added: verification-failed-focal verification-needed removed: verification-done verification-done-focal |
tags: |
added: regression-update verification-failed removed: verification-needed |
Rajasekharan N (rajasekharan) wrote : | #21 |
I think the regression made my audio/internal speakers as Dummy Output. See bug #1878327.
Daniel van Vugt (vanvugt) wrote : | #22 |
Actually it's not a regression for anyone who wasn't already testing proposed.
tags: | removed: regression-update |
Changed in pulseaudio (Ubuntu Focal): | |
status: | Fix Committed → Triaged |
status: | Triaged → In Progress |
Kai-Heng Feng (kaihengfeng) wrote : | #24 |
Daniel, please review this debdiff, thanks!
Daniel van Vugt (vanvugt) wrote : | #25 |
Looks good. And it's now in git:
https:/
Rajasekharan N (rajasekharan) wrote : | #26 |
@Daniel van Vugt (vanvugt)
Pardon my ignorance. I am a novice.
I am trying to install it from the git for the past one day as per the guidance here: https:/
However, I am unsuccessful. I couldn't install it. Else, I could have got back with the result for bug 1878327.
Currently, I am waiting for it to move to Pre-released updates to test it or for the release of a patch by Kai-Heng Feng (kaihengfeng).
If you (or anyone here) can give me a hint on how to install it from git, I will be more than happy to be a part of your team and to come back here and tell you the outcome with my machine.
Daniel van Vugt (vanvugt) wrote : | #27 |
Git is only for developers. Please wait for the official update.
Rajasekharan N (rajasekharan) wrote : | #28 |
@Daniel van Vugt (vanvugt)
A personal computer, laptop or desktop, at home is the most wanted thing in the lockdown in this corona season to work from home. A puter without audio is next to good for nothing.
Since updating mine to 20.04 LTS on April 24, I have been running wall to post. Facing a lot of hardship to keep things straight without the audio working.
If you could tell us the probable date of official update or pre-released update, it will be a ray of hope, a light at the end of the tunnel.
Luis Alberto Pabón (copong) wrote : | #29 |
You can manually select the output to use from gnome-settings until the fix lands.
Rajasekharan N (rajasekharan) wrote : | #30 |
@Luis Alberto Pabón (copong)
It is shown as "Dummy Output" there also.
Hitting 'Software Updater' every now and then, with the eyes wide open, to see if any Pre-Released Update has reached, particularly anything in connection with the PulseAudio!
Kai-Heng Feng (kaihengfeng) wrote : | #31 |
I pushed a new package to the PPA, please use it for now:
https:/
Rajasekharan N (rajasekharan) wrote : | #32 |
@Kai-Heng Feng (kaihengfeng)
Added the PPA, updated, and rebooted the system.
Still showing as "Dummy Output.'
Kai-Heng Feng (kaihengfeng) wrote : | #33 |
Sorry, I re-uploaded a new one with version is greater than the current one. Please test that instead.
Rajasekharan N (rajasekharan) wrote : | #34 |
I'm able to get only this version: pulseaudio 1:13.99.
The following are seen as pending:
i386 build of pulseaudio 1:13.99.
Pending (2510)
amd64 build of pulseaudio 1:13.99.
Pending (2510)
Pardon me if I am going wrong somewhere.
Rajasekharan N (rajasekharan) wrote : | #35 |
PPA statistics
Activity
3 updates added during the past month.
Currently 0 packages building and 1 package waiting to build.
Rajasekharan N (rajasekharan) wrote : | #36 |
@Kai-Heng Feng (kaihengfeng)
Downloaded the patch and updated the PulseAudio.
The internal speakers, both the headphone jacks and the internal mic, all are working fine now. (Didn't test the external mic jack.)
Thanks a gazillion.
I can return the borrowed laptop to my neighbor and start working with mine.
You are a god-sent angel to save me from trouble. May God bless you.
Timo Aaltonen (tjaalton) wrote : | #37 |
Hello Roman, or anyone else affected,
Accepted pulseaudio into focal-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in pulseaudio (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-needed verification-needed-focal removed: verification-failed verification-failed-focal |
Rajasekharan N (rajasekharan) wrote : | #38 |
I am an affected soul. See bug 1876238 and bug 1878327 which were marked as duplicate.
I had earlier tested the patch from Kai-Heng Feng's (kaihengfeng) PPA, and it was working fine.
I had enabled to receive Pre-released updates. I downloaded the proposed update (1:13.99.
The internal speakers, both the headphone jacks and the internal mic, all are working fine now.
Unplugged the headphones and plugged them again and again. Sound can be heard.
Sound is getting automatically redirected to the headphones when connected to jack interfaces and back to the internal speakers when headphones are unplugged.
Tested/tried multiple times and is working fine every time.
Thank you.
Andycds (andycds) wrote : | #39 |
After I enabled "Proposed" and update pulseaudio, the problems seems to be fixed.
Kai-Heng Feng (kaihengfeng) wrote : | #40 |
Thanks for verification.
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Vasilis (vasilis-vlachoudis) wrote : | #41 |
There still one problem.
When I plug in the headphones (with 3 pins no-mic or 4 pins with mic) it switches the Input to "Microphone (plugged-in)" and strangely enough there is no sound at all on the headphones.
If I change the microphone setting to anything "Internal Microphone (plugged in)" or the "Headset Microphone (plugged-in)" I get sound on the headphones
Sam Weston (cablespaghetti) wrote : | #42 |
This seems to have fixed the issue on my Dell XPS 15 9560. Thanks! However if I leave my headphones plugged in, the speakers are selected after a reboot, but that's a separate issue...
Changed in pulseaudio (Ubuntu Focal): | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
Chris Halse Rogers (raof) wrote : | #43 |
The focal SRU appears to have FTBFS on RISCV, while previous versions built fine there. Is someone looking at the build failure?
Kai-Heng Feng (kaihengfeng) wrote : | #44 |
The error:
tests/volume-
Where can I found riscv qemu image?
Daniel van Vugt (vanvugt) wrote : | #45 |
You might just need to disable -ffast-math. It's unclear if this is an old issue or a new one so please use this new bug https:/
Sebastien Bacher (seb128) wrote : | #46 |
@Chris, the current security update that is currently in focal-updates is missing the risv64 build so that isn't a regression compared to the current situation, could that update be unblocked and we will look at fixing the test issues in the next upload
Launchpad Janitor (janitor) wrote : | #47 |
This bug was fixed in the package pulseaudio - 1:13.99.1-1ubuntu6
---------------
pulseaudio (1:13.99.
* debian/
-stream-
incompatible and create routing issues where e.g the speaker despite
having headset selected (lp: #1866194)
* debian/rules:
- enable --enable-
* debian/rules:
- don't let tests fail build on riscv
-- Sebastien Bacher <email address hidden> Wed, 03 Jun 2020 17:28:51 +0200
Changed in pulseaudio (Ubuntu Groovy): | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #48 |
This bug was fixed in the package pulseaudio - 1:13.99.
---------------
pulseaudio (1:13.99.
* debian/
- fix a regression introduced by the change which was leading to
headphones not being activated when connected (LP: #1876065)
-- Kai-Heng Feng <email address hidden> Thu, 14 May 2020 11:50:47 +0800
Changed in pulseaudio (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for pulseaudio has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Forgot to add my system details:
Dell Lattitude E5570.
Sound card:
product: 100 Series/C230 Series Chipset Family HD Audio Controller
vendor: Intel Corporation
System: Ubuntu Budgie 20.04 with pulseaudio version 13.99.1.
Linux 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux