[Bug 1882161] Re: module-switch-on-port-avaiable: switch the port on ucm devices based on the priority

Kai-Chuan Hsieh 1882161 at bugs.launchpad.net
Fri Jul 10 02:45:59 UTC 2020


@sil2100

hello Lukasz,

I just update the bug's description, would you please check if it is ok
for you to proceed SRU.

Thanks!

** Description changed:

  [Impact]
  
   * On the Dell machines with multi function audio jack, the
     headphone/headset can't output sound automatically, which is different
     from ubuntu 18.04. The headphone/headset should be able to  output
     sound automatically after plugging in the audio jack.
  
  [Test Case]
  
   * On Tiger Lake platform
-    Reproduce step:
+    Reproduce step:
     1. plug headphone/headset
     2. open g-c-c sound to check
  
     Expect result: The output device should switch to headphone or headset,
                    since headphone's priority is higher in ucm2 config.
     Actual result: The output device is still internal speaker.
  
  [Regression Potential]
  
-  * Low, just do a small change to store the ucm devices by their priority.
-    and upstream just merged this patch.
+  * The change insert the ucm device by its priority, the potential
+    regression is low, since if the change is not working properly, the 
+    side effect is that the order of ucm devices are wrong, and it won't 
+    switch to the correct output device as expect, but user can still
+    config it manually.
  
  [Other]
  
   * This bug originates from an OEM private bug #1875597, then ubuntu users
     reported 2 public bugs #1871329 and #1881659. The 2nd issue of #1871329
     and the 1st issue of #1881659 have the same root cause as #1875597
  
   * The root cause is the ucm2 conf defines 2 input devices: the Mic2 and
     Headset MIC, and the pulseaudio parse the input device Headset MIC
     first then Mic2, finally the audio jack is set to Mic2 mode, this make
     the audio jack can't output sound anymore. To fix it, let the audio
     jack set to Headset MIC mode by default (Headset MIC has higher
     priority than Mic2 in the ucm2 conf), to do so, let pulseaudio send the
     device event to module-switch-on-port-available by the order of
     priority in the umc2.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1882161

Title:
  module-switch-on-port-avaiable: switch the port on ucm devices based
  on the priority

Status in HWE Next:
  New
Status in OEM Priority Project:
  New
Status in pulseaudio package in Ubuntu:
  Fix Released
Status in pulseaudio source package in Focal:
  Fix Committed
Status in pulseaudio source package in Groovy:
  Fix Released

Bug description:
  [Impact]

   * On the Dell machines with multi function audio jack, the
     headphone/headset can't output sound automatically, which is different
     from ubuntu 18.04. The headphone/headset should be able to  output
     sound automatically after plugging in the audio jack.

  [Test Case]

   * On Tiger Lake platform
     Reproduce step:
     1. plug headphone/headset
     2. open g-c-c sound to check

     Expect result: The output device should switch to headphone or headset,
                    since headphone's priority is higher in ucm2 config.
     Actual result: The output device is still internal speaker.

  [Regression Potential]

   * The change insert the ucm device by its priority, the potential
     regression is low, since if the change is not working properly, the 
     side effect is that the order of ucm devices are wrong, and it won't 
     switch to the correct output device as expect, but user can still
     config it manually.

  [Other]

   * This bug originates from an OEM private bug #1875597, then ubuntu users
     reported 2 public bugs #1871329 and #1881659. The 2nd issue of #1871329
     and the 1st issue of #1881659 have the same root cause as #1875597

   * The root cause is the ucm2 conf defines 2 input devices: the Mic2 and
     Headset MIC, and the pulseaudio parse the input device Headset MIC
     first then Mic2, finally the audio jack is set to Mic2 mode, this make
     the audio jack can't output sound anymore. To fix it, let the audio
     jack set to Headset MIC mode by default (Headset MIC has higher
     priority than Mic2 in the ucm2 conf), to do so, let pulseaudio send the
     device event to module-switch-on-port-available by the order of
     priority in the umc2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1882161/+subscriptions



More information about the Ubuntu-sponsors mailing list