You are not logged in.

#1 2023-12-28 21:24:15

teamgeist
Member
Registered: 2019-02-25
Posts: 14

[SOLVED] Microphone not working Thinkpad P53 (CX8070)

I did a fresh Arch install on a Thinkpad P53. There is an issue with audio input and I haven't managed to get it to work yet. Output works fine using the internal speakers and also when plugging in an audio headset. All the alsa packages are installed (alsa-utils, alsa-firmware) as well as pulseaudio (which I want to use). In pavucontrol I configured the Built-In Audio as "Analog Stereo Duplex" but there is no microphone input at all.

demsg | grep snd

[    4.675030] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    4.678457] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.679476] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    4.680090] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    4.715075] snd_hda_codec_conexant hdaudioC0D0: CX8070: BIOS auto-probing.
[    4.718511] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    4.718515] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.718516] snd_hda_codec_conexant hdaudioC0D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
[    4.718518] snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
[    4.718519] snd_hda_codec_conexant hdaudioC0D0:    inputs:

arecord -lL

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, CX8070 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX8070 Analog
    Front output / input
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX8070 Analog [CX8070 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: CX8070 Alt Analog [CX8070 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

amixer -c 0

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 74
  Mono: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 0 [0%] [-74.00dB] [off]
  Front Right: Playback 0 [0%] [-74.00dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 74 [100%] [0.00dB] [on]
  Front Right: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 5 [71%] [-8.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]

pacmd list-cards

2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xae050000 irq 182"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.string = "1"
		device.description = "TU106 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)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) 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"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6041108000 irq 183"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 32833, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 39333, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
		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"
		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"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

pacmd list-source

2 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 1030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 1 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 6.94 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 0
	card: 1 <alsa_card.pci-0000_00_1f.3>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6041108000 irq 183"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.17 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 6.94 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1f.3>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CX8070 Analog"
		alsa.id = "CX8070 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6041108000 irq 183"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-input>

According to this: https://wiki.archlinux.org/title/Advanc … ot_working I created the config file, but no success.
This is the line:

options snd-hda-intel enable_msi=1

Any ideas how I can get microphone input to work? Any hints are appreciated smile

Edit - Found the problem:
The microphone was disabled in BIOS. Enabling it made it work.

Last edited by teamgeist (2024-03-22 10:06:09)

Offline

#2 2023-12-28 22:08:30

MAYBL8
Member
Registered: 2022-01-14
Posts: 310

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

This article says it is muted in pavucontrol
https://unix.stackexchange.com/question … -archlinux

Online

#3 2023-12-29 10:09:40

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

This article says it is muted in pavucontrol
https://unix.stackexchange.com/question … -archlinux

The input device is not muted in pavucontrol. There is the "Built-in Audio Analog Stereo" which is set to "Analog Input" and 100 %. But the bar which indicates audio input shows nothing. Testing with arecord also gives no input, just stays silent. What seems odd to me is that in alsamixer for the HDA Intel PCH card I only see one Capture device "Digital" (set to 100). I would expect something like "Internal Microphone" there.

Offline

#4 2023-12-29 13:22:49

barney
Member
Registered: 2020-12-14
Posts: 112

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

According to this: https://wiki.archlinux.org/title/Advanc … ot_working I created the config file, but no success.
This is the line:

options snd-hda-intel enable_msi=1

Did you reload the module?

Offline

#5 2023-12-29 14:13:49

MAYBL8
Member
Registered: 2022-01-14
Posts: 310

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

This post suggests lowering the volume having success:
https://bbs.archlinux.org/viewtopic.php?id=285133

Online

#6 2023-12-29 19:40:18

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

Did you reload the module?

Yes. Still didn't work. Had to force unload the module though as pulseaudio was always using it and I couldn't get it to reload otherwise.

This post suggests lowering the volume having success:

This also didn't have any effect.

Offline

#7 2023-12-29 20:58:48

MAYBL8
Member
Registered: 2022-01-14
Posts: 310

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

I have one more with with some ideas :
https://bbs.archlinux.org/viewtopic.php?id=257121

Online

#8 2023-12-31 17:18:52

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

I have one more with with some ideas :
https://bbs.archlinux.org/viewtopic.php?id=257121

I tried using the sof-firmware, but it doesn't change anything. After installing it I still get the same devices in alsamixer and no working mic. And installing it should be all that needs to be done to use it, as far as I understand (I removed all other sound configs from /etc/modprobe.d). However in dmesg I don't have any sof related messages as mentioned in the wiki:

sof-firmware is required for some newer laptop models (mainly since 2019) because they implement their drivers with firmware provided by the Sound Open Firmware project. Checking the journal will provide messages about the missing firmware (see BBS#275577).

So yeah, I'm still a bit stuck on this one.

Offline

#9 2024-01-04 11:15:33

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

After some more reading and checking my hardware again I found that the wiki says Intel Cannon Lake CPUs might require some special settings:

lspci | grep -i Audio

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)

On Intel Cannon Lake (eg. HP ZBook 15 G6), the integrated sound chipset requires ALSA firmware, and the following kernel module parameters are required:

options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes

That should enable both sound and microphone.

This seems like it should solve my problem, however I still don't get any input in the microphone. I tried it with sof-firmware and without (I'm still not sure whether I should/can use it or not). This reddit post: https://www.reddit.com/r/Gentoo/comment … enovo_e14/ suggests that my codec (Conexant CX8070) would work with it. However even after installing it my card still shows up like this:

cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x6041108000 irq 183

Offline

#10 2024-01-05 18:34:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,205

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

Disregard most of that, drop the modprobe conf if you still have that, and reboot, so we get the state from your OP.

You have a "two channel" microphone. That's very often a lie and will actually lead to breakage, try muting the left (or right) channel and try to record then, e.g.

pactl set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 100% 0
parecord -d alsa_input.pci-0000_00_1f.3.analog-stereo testLeft.wav
pactl set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 0 100%
parecord -d alsa_input.pci-0000_00_1f.3.analog-stereo testRight.wav

Offline

#11 2024-01-05 20:17:24

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

I tried muting the channels but no success. The recording is totally silent, no static noise or anything. In alsamixer I noticed that the default Card (PulseAudio) shows the "Capture" device with two channels. But the HDA Intel PCH card only shows one capture device "Digital" with one single channel.

Offline

#12 2024-01-20 11:19:37

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

Update after some more reading. I had a look at the options for my codec on https://www.kernel.org/doc/html/latest/ … exant-5066 (my exact kernel is not there so I looked at some of the other Conexant codecs. headphone-mic-pin and stereo-dmic sounded like it would be worth giving them a try. Especially because I also found this post where microphone issues got resolved after setting headphone-mic-pin: https://askubuntu.com/a/1307597.

Unfortunately none of them worked and I am still stuck with non-working microphone. Slowly running a bit out of ideas.

Offline

#13 2024-03-22 10:02:30

teamgeist
Member
Registered: 2019-02-25
Posts: 14

Re: [SOLVED] Microphone not working Thinkpad P53 (CX8070)

Finally I solved this: The microphone was disabled in BIOS. Enabling it fixed it, immediately worked after that!

Offline

Board footer

Powered by FluxBB