Public bug reported:

## Problem and evidence

A Lenovo B40-80 user reports startup distortion in recordings from the
built-in microphone. Changing only `snd_hda_intel.power_save` to 0
resolves it, including recordings after idle. `power_save_controller`
remains Y.

The user has not performed a direct ALSA comparison with the original
setting on this laptop. The observed reproduction is in Audacity 3.7.8.
The reporting maintainer does not own this hardware. Reproduction on an
unmodified Ubuntu installation or Live image has not yet been performed.

## Hardware and software

- Lenovo B40-80; built-in microphone, not the external Comica used in the 
related desktop case.
- AnduinOS 2.0.5, kernel `7.0.0-43-generic`.
- Codec display name: Realtek ALC233; codec vendor ID `0x10ec0235`, codec 
subsystem ID `0x17aa3809`.
- Analogue controller: `00:1b.0`, Intel `8086:9c20`, PCI subsystem `17aa:3902`, 
revision 04.
- HDMI controller: `00:03.0`, Intel `8086:0a0c`, PCI subsystem `17aa:3902`, 
revision 0b.
- Both PCI controllers use `snd_hda_intel`.
- Current parameters: `power_save=0`, `power_save_controller=Y`, 
`pm_blacklist=-1`.
- The laptop's original numeric timeout was not supplied. Only `power_save` was 
changed.
- Audacity 3.7.8. Package source, selected audio host/device, and 
laptop-specific PipeWire/WirePlumber package versions remain unspecified.

## Reported comparison

The built-in microphone had startup distortion in Audacity before the
change. With `power_save=0`, recordings were clean, including after
idle. The user retained the working configuration. Laptop-specific
reboot, playback and suspend/resume checks were not explicitly reported;
the fuller reboot/playback acceptance applies to the separate ERYING
desktop.

## Request for maintainers

Please advise on a codec resume/de-pop fix or appropriately scoped
power-management exception, and which additional diagnostic data or
comparison would be most useful.

The previously retrieved Ubuntu source at tag `Ubuntu-7.0.0-43.43` has
no `17aa:3902` entry in `power_save_denylist`. A straightforward PCI
subsystem entry would match **both** the analogue and HDMI controllers
shown here. We would like to avoid applying an exception more broadly
than necessary. The codec subsystem `17aa:3809` must not be substituted
for the PCI subsystem `17aa:3902` in that table.

## Evidence and remaining diagnostic gaps

- [Laptop symptoms, microphone, codec and single-setting 
comparison](https://github.com/Anduin2017/AnduinOS/discussions/482#discussioncomment-19646208).
- [Raw PCI output and Audacity 
version](https://github.com/Anduin2017/AnduinOS/discussions/482#discussioncomment-19657282).
- [Matching Ubuntu driver 
source](https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/resolute/plain/sound/hda/controllers/intel.c?h=Ubuntu-7.0.0-43.43).

Not yet supplied: full alsa-info output/codec dump, DMI/BIOS
identifiers, recording samples, original timeout, package revisions and
selected Audacity audio route. No direct ALSA before/after test,
unmodified Ubuntu comparison or power measurement is claimed. The ERYING
desktop case has stronger ALSA isolation evidence and is related context
rather than an assumed identical defect.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kernel-sound

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

Title:
  [HDA/ALC233] Lenovo B40-80 built-in microphone startup distortion
  disappears with power_save=0

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to