Hi Daniel,

SRU template filled, thanks!

** Description changed:

  [Impact]
+ In Lenovo P520, which using a codec for front panel, the other codec for rear 
panel and both are on a same card.
+ 
+ In this case, the rear Mic will present on input devices of "Sound
+ Settings" even if attaching nothing to rear mic jack.
  
  [Fix]
+ For alsa-ucm-conf part, the Mic 2 should use "Rear Mic Jack" as JackControl 
because of
+ ```
+       control.18 {
+               iface CARD
+               name 'Rear Mic Jack'
+               value true
+               comment {
+                       access read
+                       type BOOLEAN
+                       count 1
+               }
+       }
+ ```
+ After applying "Rear Mic Jack", the rear Mic will not always there anymore 
but it's not there as well if hot-plugging audio device on rear mic. Thus, it 
needs to change pulseaudio to handle if all devices are off cases.
+ 
+ For pulseaudio, if there is no any audio devices attached, then
+ attaching an input device on rear mic jack. The port will not be
+ selected automatically because the profiles is off. It needs patch
+ pulseaudio to check off profiles (for dual codec case).
  
  [Test]
+ After applying these patches, the rear mic jack works good in all cases (boot 
without mic and then attach mic, boot with mic and then hotplug it) and other 
functions (line-in / line-out) work pretty well.
  
  [Where problems could occur]
+ This change only apply the bonus on below cases:
+ ```
+ if ((has_input_port && found_available_input_port && !has_output_port) ||
+     (has_output_port && found_available_output_port && !has_input_port) ||
+     (has_input_port && found_available_input_port && has_output_port && 
found_available_output_port)) 
+ ```
+ and these cases have been tested.
+ If there are some complex codec design then it might cause problem but so far 
we didn't see that.

** Changed in: oem-priority
       Status: In Progress => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929371

Title:
  [SRU] there is always a "Rear Microphone - Built-in Audio" option on
  the input device list even if the microphone is unplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1929371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to