[Bug 1940788] Re: [SRU] the input volume of external mic for sof driver is 0 by default

Hui Wang 1940788 at bugs.launchpad.net
Mon Aug 23 03:31:30 UTC 2021


the debdiff of this SRU has been squashed to
https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/1937980.


** Description changed:

- This bug is for tracking purpose.
+ The change of this SRU has been squashed to
+ https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/1937980.
  
- https://github.com/alsa-project/alsa-ucm-conf/pull/107
+ [Impact]
+ For the machines with sof audio driver, after we freshly install the ubuntu linux and plug a microphone or headset-mic to the audio jack, we can't record sound through them since the default input volume is 0, users need to adjust the input volume to non-zero manually, then could record sound successfully.
+ 
+ [Fix]
+ Backport 1 patch (https://github.com/alsa-project/alsa-ucm-conf/pull/107), after applying the patch, the ucm will set the 'Capture Switch' to on in the bootsequence, and set the Capture volume to 60%, then users could record sound without manually adjust the input volume.
+ 
+ [Test]
+ sudo rm /var/lib/alsa/*; rm ~/.config/pulse/*; alsactl init; reboot, plug a headset to the audio jack, use the headset-mic to record the sound, it could record successfully.
+ 
+ [Where problems will occur]
+ This SRU changes the Capture Switch and Capture Volume in the ucm, this could make the whole ucm can't be parsed if the syntax is not correct, then the whole audio will fail to work like audio jack can't detect plugin/plugout and the internal mic can't be found. But this regression possibility is very low since we already tested the change on lenovo and Dell machines, all worked well.

** Changed in: alsa-ucm-conf (Ubuntu Focal)
       Status: New => In Progress

** Changed in: alsa-ucm-conf (Ubuntu Hirsute)
       Status: New => In Progress

** Changed in: alsa-ucm-conf (Ubuntu Impish)
       Status: New => In Progress

** Tags added: originate-from-1940339

-- 
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/1940788

Title:
  [SRU] the input volume of external mic for sof driver is 0 by default

Status in HWE Next:
  New
Status in alsa-ucm-conf package in Ubuntu:
  In Progress
Status in alsa-ucm-conf source package in Focal:
  In Progress
Status in alsa-ucm-conf source package in Hirsute:
  In Progress
Status in alsa-ucm-conf source package in Impish:
  In Progress

Bug description:
  The change of this SRU has been squashed to
  https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/1937980.

  [Impact]
  For the machines with sof audio driver, after we freshly install the ubuntu linux and plug a microphone or headset-mic to the audio jack, we can't record sound through them since the default input volume is 0, users need to adjust the input volume to non-zero manually, then could record sound successfully.

  [Fix]
  Backport 1 patch (https://github.com/alsa-project/alsa-ucm-conf/pull/107), after applying the patch, the ucm will set the 'Capture Switch' to on in the bootsequence, and set the Capture volume to 60%, then users could record sound without manually adjust the input volume.

  [Test]
  sudo rm /var/lib/alsa/*; rm ~/.config/pulse/*; alsactl init; reboot, plug a headset to the audio jack, use the headset-mic to record the sound, it could record successfully.

  [Where problems will occur]
  This SRU changes the Capture Switch and Capture Volume in the ucm, this could make the whole ucm can't be parsed if the syntax is not correct, then the whole audio will fail to work like audio jack can't detect plugin/plugout and the internal mic can't be found. But this regression possibility is very low since we already tested the change on lenovo and Dell machines, all worked well.

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




More information about the Ubuntu-sponsors mailing list