Public bug reported:

# Description of Microphone Issue for Bug Report

## Summary
The microphone on my Lenovo laptop with Conexant SN6140 audio chip is not 
working properly in applications under Ubuntu with kernel 6.11.0-25-generic, 
despite functioning correctly when recording from the terminal.

## System Information
- **Operating System**: Ubuntu 24.04
- **Kernel**: 6.11.0-25-generic
- **Audio Chip**: Conexant SN6140 via AMD Family 17h/19h HD Audio Controller
- **Processor**: AMD (based on audio controller type)
- **Hardware**: Lenovo laptop model

## Problem Description
The microphone input is incorrectly detected as "unplugged" in the system's 
audio settings and doesn't work in applications such as web browsers. The 
system uses the "monitor" output as the default input source (to record sound 
from the speakers) instead of the actual microphone.

## Detailed Information

### Symptoms
1. The microphone works when recording directly from the terminal with commands 
like `pw-record` or `arecord`
2. The microphone doesn't work in graphical applications or web browsers
3. In pavucontrol, the microphone is shown as "unplugged"
4. The default input source always reverts to "monitor" even after manually 
resetting it

### Audio Configuration
```
$ pactl get-default-source
alsa_output.pci-0000_04_00.6.analog-stereo.monitor

$ pactl list short sources
1082    alsa_output.pci-0000_04_00.6.analog-stereo.monitor    PipeWire    s32le 
2ch 48000Hz    RUNNING
1083    alsa_input.pci-0000_04_00.6.analog-stereo    PipeWire    s32le 2ch 
48000Hz    SUSPENDED
```

Attempts to change the default input with `pactl set-default-source
alsa_input.pci-0000_04_00.6.analog-stereo` result in the system still
using the monitor as default.

### Hardware Details
```
$ cat /proc/asound/card1/codec* | grep Codec
Codec: Conexant SN6140

$ inxi -A
Audio:
  Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp6x
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.11.0-25-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
```

### Audio Environment
- Using PipeWire 1.0.5 with PulseAudio compatibility layer
- The `pw-record` command can record audio, confirming the microphone works at 
the system level
- Browsers and other applications cannot access the microphone

### Actions Tested Without Success
1. Attempted to change the default input source with pactl commands
2. Configured various module parameters for snd-hda-intel
3. Installed and used hdajackretask to configure audio ports
4. Reset PipeWire and restarted audio services
5. Verified that the PulseAudio compatibility layer is properly installed

## Additional Observations
There appears to be an issue with the kernel's audio driver or with 
PipeWire/WirePlumber causing the system to:
1. Incorrectly identify the microphone as "unplugged"
2. Persistently use the monitor as the default input source
3. Keep the microphone device in "SUSPENDED" state instead of "RUNNING"

This issue may be related to newer kernel versions, as many similar
problems have been reported with Conexant audio chips on newer Linux
kernels.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-25-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat May 10 16:07:37 2025
InstallationDate: Installed on 2025-04-30 (10 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
MachineType: LENOVO 83J2
PackageArchitecture: all
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/13/2024
dmi.bios.release: 1.24
dmi.bios.vendor: LENOVO
dmi.bios.version: PYCN24WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: NO DPK
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: IdeaPad Slim 5 13ARP10
dmi.ec.firmware.release: 1.22
dmi.modalias: 
dmi:bvnLENOVO:bvrPYCN24WW:bd12/13/2024:br1.24:efr1.22:svnLENOVO:pn83J2:pvrIdeaPadSlim513ARP10:rvnLENOVO:rnLNVNB161216:rvrNODPK:cvnLENOVO:ct10:cvrIdeaPadSlim513ARP10:skuLENOVO_MT_83J2_BU_idea_FM_IdeaPadSlim513ARP10:
dmi.product.family: IdeaPad Slim 5 13ARP10
dmi.product.name: 83J2
dmi.product.sku: LENOVO_MT_83J2_BU_idea_FM_IdeaPad Slim 5 13ARP10
dmi.product.version: IdeaPad Slim 5 13ARP10
dmi.sys.vendor: LENOVO
modified.conffile..etc.modprobe.d.alsa-base.conf: [deleted]

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2110362

Title:
  The microphone does not work

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  # Description of Microphone Issue for Bug Report

  ## Summary
  The microphone on my Lenovo laptop with Conexant SN6140 audio chip is not 
working properly in applications under Ubuntu with kernel 6.11.0-25-generic, 
despite functioning correctly when recording from the terminal.

  ## System Information
  - **Operating System**: Ubuntu 24.04
  - **Kernel**: 6.11.0-25-generic
  - **Audio Chip**: Conexant SN6140 via AMD Family 17h/19h HD Audio Controller
  - **Processor**: AMD (based on audio controller type)
  - **Hardware**: Lenovo laptop model

  ## Problem Description
  The microphone input is incorrectly detected as "unplugged" in the system's 
audio settings and doesn't work in applications such as web browsers. The 
system uses the "monitor" output as the default input source (to record sound 
from the speakers) instead of the actual microphone.

  ## Detailed Information

  ### Symptoms
  1. The microphone works when recording directly from the terminal with 
commands like `pw-record` or `arecord`
  2. The microphone doesn't work in graphical applications or web browsers
  3. In pavucontrol, the microphone is shown as "unplugged"
  4. The default input source always reverts to "monitor" even after manually 
resetting it

  ### Audio Configuration
  ```
  $ pactl get-default-source
  alsa_output.pci-0000_04_00.6.analog-stereo.monitor

  $ pactl list short sources
  1082    alsa_output.pci-0000_04_00.6.analog-stereo.monitor    PipeWire    
s32le 2ch 48000Hz    RUNNING
  1083    alsa_input.pci-0000_04_00.6.analog-stereo    PipeWire    s32le 2ch 
48000Hz    SUSPENDED
  ```

  Attempts to change the default input with `pactl set-default-source
  alsa_input.pci-0000_04_00.6.analog-stereo` result in the system still
  using the monitor as default.

  ### Hardware Details
  ```
  $ cat /proc/asound/card1/codec* | grep Codec
  Codec: Conexant SN6140

  $ inxi -A
  Audio:
    Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp6x
    Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
    API: ALSA v: k6.11.0-25-generic status: kernel-api
    Server-1: PipeWire v: 1.0.5 status: active
  ```

  ### Audio Environment
  - Using PipeWire 1.0.5 with PulseAudio compatibility layer
  - The `pw-record` command can record audio, confirming the microphone works 
at the system level
  - Browsers and other applications cannot access the microphone

  ### Actions Tested Without Success
  1. Attempted to change the default input source with pactl commands
  2. Configured various module parameters for snd-hda-intel
  3. Installed and used hdajackretask to configure audio ports
  4. Reset PipeWire and restarted audio services
  5. Verified that the PulseAudio compatibility layer is properly installed

  ## Additional Observations
  There appears to be an issue with the kernel's audio driver or with 
PipeWire/WirePlumber causing the system to:
  1. Incorrectly identify the microphone as "unplugged"
  2. Persistently use the monitor as the default input source
  3. Keep the microphone device in "SUSPENDED" state instead of "RUNNING"

  This issue may be related to newer kernel versions, as many similar
  problems have been reported with Conexant audio chips on newer Linux
  kernels.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu7
  ProcVersionSignature: Ubuntu 6.11.0-25.25~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-25-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May 10 16:07:37 2025
  InstallationDate: Installed on 2025-04-30 (10 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: LENOVO 83J2
  PackageArchitecture: all
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: alsa-driver
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/13/2024
  dmi.bios.release: 1.24
  dmi.bios.vendor: LENOVO
  dmi.bios.version: PYCN24WW
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: NO DPK
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: IdeaPad Slim 5 13ARP10
  dmi.ec.firmware.release: 1.22
  dmi.modalias: 
dmi:bvnLENOVO:bvrPYCN24WW:bd12/13/2024:br1.24:efr1.22:svnLENOVO:pn83J2:pvrIdeaPadSlim513ARP10:rvnLENOVO:rnLNVNB161216:rvrNODPK:cvnLENOVO:ct10:cvrIdeaPadSlim513ARP10:skuLENOVO_MT_83J2_BU_idea_FM_IdeaPadSlim513ARP10:
  dmi.product.family: IdeaPad Slim 5 13ARP10
  dmi.product.name: 83J2
  dmi.product.sku: LENOVO_MT_83J2_BU_idea_FM_IdeaPad Slim 5 13ARP10
  dmi.product.version: IdeaPad Slim 5 13ARP10
  dmi.sys.vendor: LENOVO
  modified.conffile..etc.modprobe.d.alsa-base.conf: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2110362/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to