** Description changed:

+ SRU Justification for pulseaudio:
+ 
+ [Impact]
+ On the machines with the sof audio driver, after booting up, the
+ active output device is speaker by default, we adjust the output
+ volume to 100%, then we plug a headphone, and adjust the output
+ volume from 100% to 20%, now in theory, the speaker's volume is
+ 100%, the headphone's volume is 20%. We plugout the headphone,
+ the active output device becomes speaker and we expect the volume
+ changes to 100%, but the output volume for speaker is 20%.
+ 
+ [Fix]
+ Backport a upstream patch, this patch is already in the pulseaudio-15.0,
+ so impish already has this fix. Only hirsute and focal need to backport
+ this patch.
+ 
+ [Test]
+ adjust speaker's volume to 80%, then plug headphone and adjust headphone's
+ volume to 20%, unplug the headphone, the speaker's volume becomes to 80%,
+ plug the headphone, the headphone's volume becomes to 20%.
+ 
+ [Where problems could occur]
+ The patch writes the output volume to hardware immediately when switching
+ output device on the machines with sof audio driver, this could introduce
+ pop noise when changing the output device, but this possibility is very
+ low, I tested the patch on many lenovo and dell machines with sof audio 
driver,
+ all worked as expected and have no pop noise when switching output device.
+ 
+ 
+ ====================================================================
+ 
  The patch was merged to ubuntu 5.13.0 and 5.11.0 generic kernels
  with stable update already, but it is not merged to ubuntu 5.4.0
  kernel yet, so I sent this SRU for the focal kernel.
  
  [Impact]
  Users plug headphone and Mic to the audio jacks, but the system
  can't detect them, and couldn't output sound through headphone and
  record sound through Mic.
  
  [Fix]
  Backport a upstream patch, this will set the Mic to auto-detection
  mode and set the headphone to left location.
  
- 
  [Test]
  Plug a headset to the headset audio jack, both headphone and mic
  could be detected. And output the sound to headphone, could hear
  the sound, record the sound through Mic, the sound could be recorded.
  
- 
  [Where problems could occur]
  The patch is specific to Acer Aspire 5 machine, if it could introduce
  regression, it will make the audio like internal mic and internal spk
  stop working. But this possibility is very low.
- 
  
  Hello,
  
  There seems to be lots of issues in sound driver for Acer Aspire
  A515-56-57XR with ALC255. I will list all of them below and what I have
  tried so far.
  
  1. Headphones appears always plugged in even if they are physically not
  2. When actually plugging in headset/earphones it does not auto switch from 
speakers/internal mic to headphones/headset microphone automatically and vice 
versa, have to manually switch everytime.
  3. External headset/earphones microphone won't work at all
  
  After, logs of trial and error I have found a temporary fix. This seems
  to use legacy intel drivers which solves all 3 issues mentioned above
  but the internal/dmic mic is completely gone (which seems intentional
  when using this). Both depreciated dmic_detect and dsp_driver works, I
  have been using dsp_driver for now as I need external microphone at any
  cost.
  
  End of /etc/modprobe.d/alsa-base.conf
  # Headset mic fix
  options snd-hda-intel dmic_detect=0 / options snd-intel-dspcfg dsp_driver=1
  options snd-hda-intel model=alc255-acer
  
  In another thread similar to this I got some support and at least fixed
  the external microphone without using the alsa-base.conf change in
  custom modified kernel. I will attach it here. Now, hoping to fix other
  issues as well slowly like making headphones unplugged when physically
  removing as well as auto switching like the legacy driver one.

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

Title:
  Acer Aspire 5 sound driver issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930188/+subscriptions


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

Reply via email to