Internal microphone not working with CX8070

Hello,
Going straight forward, I have been using Manjaro with my previous laptop and decided to upgrade to Xiaomi Book Pro 14 (2022). It works perfectly fine with Manjaro (and other distros I tested), except the sound problems. The speakers do work well, but the microphone is not even shown in the settings.

Anticipating the possibility that the micro is broken, it works with Windows (I have dual boot).

From my investigation, I have completed the next steps:

  • pactl info gives me this
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 61
Tile Size: 65472
User Name: makariy
Host Name: makariy
Server Name: pulseaudio
Server Version: 17.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_03_00.6.analog-stereo
Default Source: alsa_output.pci-0000_03_00.6.analog-stereo.monitor
Cookie: cfc2:25a2
  • Executing pacmd list-cards
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_03_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc07c8000 irq 96"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "1640"
		device.product.name = "Rembrandt Radeon High Definition Audio Controller"
		device.string = "0"
		device.description = "Rembrandt Radeon High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_03_00.6>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc07c0000 irq 97"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.string = "1"
		device.description = "Family 17h/19h HD Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: no)
		output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_03_00.6.analog-stereo/#6: Family 17h/19h HD Audio Controller Analog Stereo
	sources:
		alsa_input.pci-0000_03_00.6.analog-stereo/#7: Family 17h/19h HD Audio Controller Analog Stereo
		alsa_output.pci-0000_03_00.6.analog-stereo.monitor/#8: Monitor of Family 17h/19h HD Audio Controller Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"

As you can see, the profile analog-input-mic is not available nor analog-input-internal-mic shown.

  • sudo dmesg | grep -i audio
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.11-x86_64 root=UUID=e02d7d77-f0a7-4ba6-8f8c-168d5426a373 rw quite quite radeon.audio=1
[    0.029651] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.11-x86_64 root=UUID=e02d7d77-f0a7-4ba6-8f8c-168d5426a373 rw quite quite radeon.audio=1
[    5.769657] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    5.801399] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    5.807411] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input11
[    5.807515] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input12
[    5.810279] snd_hda_codec_conexant hdaudioC1D0: CX8070: BIOS auto-probing.
[    5.810789] snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    5.810800] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.810802] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
[    5.810804] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
[    5.810805] snd_hda_codec_conexant hdaudioC1D0:    inputs:
[    5.810806] snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
[    5.817736] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input13
[    5.817816] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input14

There is no problem with BIOS loading the internal sound system

  • arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: CX8070 Analog [CX8070 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The capture hardware is recognized

  • sudo lspci -nnk | grep -A2 Audio
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
	Subsystem: Xiaomi Device [1d72:2119]
	Kernel driver in use: snd_hda_intel
--
03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 60)
	Subsystem: Xiaomi Device [1d72:2120]
	Kernel driver in use: snd_pci_acp6x
--
03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
	Subsystem: Xiaomi Device [1d72:2120]
	Kernel driver in use: snd_hda_intel

We are using snd_hda_intel that is loaded and has no problems

For more information about the system, please refer to

http://alsa-project.org/db/?f=93f8642f236b869f23f86ac061411016c89344b7

A part from that, some additional information.

  • If I connect the headset via jack port, the sound is played, but it does not appear as a recording option.
  • Nothing appears to be muted in AlsaMixer.
  • Gnome settings:
  • pavucontrol

Any information/suggestion could be very helpful!

1 Like

Welcome to Manjaro forum @Makariy and thank you for posting good information

ALSA mailing list shows a patch was created for this laptop 11 Nov 2024
LKML: WangYuli: [PATCH 6.1+] ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
The patch is included in latest kernel v6.12 and also back-ported to earlier kernels v.6.11, v6.6 and v6.1

The next Stable branch update release is due very soon and should include patched kernels
If you want a patched kernel right now you could switch to Manjaro Testing branch

1 Like

Thank you very much.
Just switched to the testing branch, rebooted, and the microphone is perfectly recognized and works.
I appreciate your quick response and have a great day!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.