There is no entry in 'Play sound through' list when plug in headset jack [8086:9d70].
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
pulseaudio (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* When plug in headset jack, you can't view any item in unity-control-
* For the situation of one pulseaudio port has 2 or more jacks, it will bring some change, in the past, if one of the jacks is plugged and other jacks are not plugged, the pulseaudio will print out "Availability of port '%s' is inconsistent!" and will not set this pulseaudio port to available, this is a bug for pulseaudio.
* After applying this patch, this issue can be addressed by this patch.
[Test Case]
* Reproduce steps:
1. Install 14.04.5 image on P50s
2. Login system
3. $ sudo apt-get update
4. $ apt-get dist-upgrade
sudo apt-get install --install-
5. Reboot the system
6. Login system
7. Open Sound setting window
8. Plug headset jack, unplug headset jack.
[Regression Potential]
* For most of the situations like one pulseaudio port only has one jack, this patch will not bring any change. So there is no potential regression.
[Other Info]
* The kernel is 4.4.0-47, and the pulseaudio is 1:4.0-0ubuntu1.1
Changed in pulseaudio (Ubuntu Trusty): | |
assignee: | nobody → Hui Wang (hui.wang) |
tags: | added: kittyhawk originate-from-1613190 |
no longer affects: | pulseaudio |
Changed in pulseaudio (Ubuntu Trusty): | |
status: | New → In Progress |
tags: | added: trusty |
Changed in pulseaudio (Ubuntu Trusty): | |
assignee: | Hui Wang (hui.wang) → nobody |
Changed in pulseaudio (Ubuntu): | |
status: | New → Fix Released |
Changed in pulseaudio (Ubuntu Trusty): | |
status: | In Progress → Won't Fix |
Changed in hwe-next: | |
status: | New → Fix Released |
I built the pulseaudio with the patch in below, it works fine after test.
commit d5fec4ca7af9241 d0c2ae17df40d0f b1c18c74a0
Author: Sjoerd Simons <email address hidden>
Date: Sun Nov 16 23:15:50 2014 +0100
Alsa: Correct port availability with multiple jacks
In case there are two independent jacks for one port (e.g. Dock
Headphone Jack and Headphone Jack), the availability ends up being
incorrect if the first one was _NO (not plugged) and the second gets
_YES (plugged). Also pulse complains about the state being inconsistent
which isn't true.
Fix this by preferring more precise states (yes/no) over unknown and yes
over others. However in case a plugged jack makes the port unavailable
let that overrule everything else.