You are not logged in.

#1 2024-11-27 00:13:26

npreining
Member
Registered: 2023-03-06
Posts: 26
Website

[RESOLVED]Raptor Lake-P/U/H cAVS microphone always shown as unplugged

Downgrading alsa-ucm-conf to 1.2.12 fixed the issue, see this https://bbs.archlinux.org/viewtopic.php?id=301300

---------------------

Hardware: Lenovo P1 Gen 6
Arch Linux up to date (2024-11-27)
Kernel: 6.12.1-zen1-1-zen
Desktop environment: KDE/Plasma
Intel HW: Raptor Lake-P/U/H cAVS

Possible relevant forum links I checked:

Problem: Microphone shows up as Microphone (unplugged) in pavucontrol. Recording gives no sounds.

pa profile for Raptor Lake-P/U/H cAVS is "Stereo Output - Stereo Input"

When I switch to profile "Pro Audio", then there are 3 input devices listed: Raptor Lake-P/U/H cAVS Pro, Pro 6, Pro 7 - and the Pro7 one shows valume when speaking.
But running with "Pro Audio" profile I get immediate reloads (disconnect-connect events of the audio devices) when jit.si or google meet try to access the audio devices, and in the and the google meet says "No mic detected".

Any suggestions what to try or how to debug this are greatly appreciated.

Complete information is included in this file, selected information added inline below

  • aplay -l

  • arecord -l

  • pactl list cards

  • pactl list sources

  • amixer

  • amixer -c0

  • amixer -c1

  • systemctl status alsa-restore

  • systemctl status alsa-state

  • list of relevant installed packages (alsa, pipewire, sof-*)

  • dmesg | grep -e 'hda\|sof'


Output of amixer:

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 43909 [67%] [off]
  Front Right: Playback 43909 [67%] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 43909 [67%] [off]
  Front Right: Capture 43909 [67%] [off]

Output of arecord -l

$ arecord -l    
**** List of CAPTURE Hardware Devices ****
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) [] 
  Subdevices: 1/1
  Subdevice #0: subdevice #0 
card 1: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Output of dmesg | grep -e 'hda\|sof'

[    0.106629] software IO TLB: area num 32.
[    1.198401] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.198402] software IO TLB: mapped [mem 0x000000008103e000-0x000000008503e000] (64MB)
[    1.497521] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[   11.717914] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   12.180630] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[   12.189213] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[   12.236769] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
[   12.702978] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[   12.704265] snd_hda_intel 0000:01:00.1: Disabling MSI
[   12.704284] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   13.057929] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   13.058017] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   13.067034] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[   13.117527] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[   13.117534] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   13.117537] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[   13.117540] sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[   13.117542] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   13.124083] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[   13.124088] sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file:     intel/sof/sof-rpl.ri
[   13.124090] sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-hda-generic-2ch.tplg
[   13.124958] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   13.124961] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
[   13.124967] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[   13.236447] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   13.236457] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
[   13.259765] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1
[   13.262461] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
[   13.334944] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316.wmfw: format 3 timestamp 0x6128e16b
[   13.334953] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[   13.811496] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[   13.812647] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316-spkid0-r0.bin: v0.43.1
[   13.812654] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Working\Project\LCH3\2023-03-15-SZ\LS\17AA2316_20230113_V0_A0.bin
[   13.898755] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Firmware Loaded - Type: spk-prot, Gain: 17
[   13.898958] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: CS35L41 Bound - SSID: 17AA2316, BST: 0, VSPK: 0, CH: R, FW EN: 1, SPKID: 0
[   13.898968] snd_hda_codec_realtek ehdaudio0D0: bound i2c-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[   13.900452] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316.wmfw: format 3 timestamp 0x6128e16b
[   13.900461] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[   14.352233] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[   14.353405] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-17aa2316-spkid0-l0.bin: v0.43.1
[   14.353416] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Working\Project\LCH3\2023-03-15-SZ\LS\17AA2316_20230113_V0_A1.bin
[   14.440726] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Firmware Loaded - Type: spk-prot, Gain: 17
[   14.441290] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: CS35L41 Bound - SSID: 17AA2316, BST: 0, VSPK: 0, CH: L, FW EN: 1, SPKID: 0
[   14.441300] snd_hda_codec_realtek ehdaudio0D0: bound i2c-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[   14.441819] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   14.441827] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.441832] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   14.441835] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[   14.441838] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[   14.441840] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[   14.483027] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[   14.500507] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input28
[   14.500631] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input29
[   14.500758] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input30
[   14.500853] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input31
[   14.500952] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input32

Installed packages that match alsa, pipewire, or sof-*

alsa-card-profiles-1:1.2.6-1
alsa-lib-1.2.13-1
alsa-plugins-1:1.2.12-4
alsa-topology-conf-1.2.5.1-4
alsa-ucm-conf-1.2.13-1
alsa-utils-1.2.13-1
lib32-alsa-lib-1.2.13-1
lib32-alsa-plugins-1.2.12-1
pipewire-alsa-1:1.2.6-1
qemu-audio-alsa-9.1.2-1
zita-alsa-pcmi-0.6.1-2
gst-plugin-pipewire-1:1.2.6-1
kpipewire-6.2.3-2
lib32-libpipewire-1:1.2.6-1
lib32-pipewire-1:1.2.6-1
libpipewire-1:1.2.6-1
pipewire-1:1.2.6-1
pipewire-alsa-1:1.2.6-1
pipewire-audio-1:1.2.6-1
pipewire-jack-1:1.2.6-1
pipewire-pulse-1:1.2.6-1
qemu-audio-pipewire-9.1.2-1
sof-firmware-2024.09.1-1
sof-tools-2024.09.1-1

Last edited by npreining (2024-11-27 00:51:33)

Offline

#2 2024-11-27 00:33:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,289

Re: [RESOLVED]Raptor Lake-P/U/H cAVS microphone always shown as unplugged

There's a regression in alsa-ucm-conf you can try downgrading that a version: https://bbs.archlinux.org/viewtopic.php?id=301300

Offline

#3 2024-11-27 00:49:39

npreining
Member
Registered: 2023-03-06
Posts: 26
Website

Re: [RESOLVED]Raptor Lake-P/U/H cAVS microphone always shown as unplugged

@V1del thanks, indeed, same issue!! What a timing.

Offline

#4 2024-11-27 11:31:45

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 696
Website

Re: [RESOLVED]Raptor Lake-P/U/H cAVS microphone always shown as unplugged

In the meantime there now also was an update to the package which backports the fix. So upgrading should now also fix the issue.

Online

#5 2024-11-27 15:18:48

npreining
Member
Registered: 2023-03-06
Posts: 26
Website

Re: [RESOLVED]Raptor Lake-P/U/H cAVS microphone always shown as unplugged

Thanks a lot, greatly appreciated!

Offline

Board footer

Powered by FluxBB