You are not logged in.

#1 2021-01-23 12:43:25

svrmirac
Member
Registered: 2017-08-04
Posts: 15

[Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

A recent update (don't know which, exactly) broke the internal microphone - it used to work just fine.
I've been through the wiki but wasn't able to solve it by myself.

Speakers work fine.
A microphone on an external camera is recognized and works fine (USB).
A microphone on a headset is not recognized and does not work (3.5mm jack). Speakers on the headset work, though.

There used to be microphone controls in pulse audio/mixer, but they're gone.
Now, if I select "All input devices" in the mixer, I get a "Monitor of family 17h (Models 10h-1fh) HD Audio controller Analog Stereo".
If I select "All except monitors", there's nothing in the tab.

If I edit "/etc/pulse/default.p" and uncomment "load-module module-alsa-source device=hw:1,0", the microphone and its controls re-appear,
but the microphone still doesn't work.

Whether the above mentioned line is uncommented or not, when I run "alsamixer", press "F6" to select a sound card, there are three options:

- default
0 HD-Audio Generic
1 HD-Audio Generic

Only the third option has anything for a "Capture device", and then only levels/controls for <Mic Boost> and <Capture> - no "Internal Mic" or anything that makes any change to the state of the microphone.

Here's output from various commands:

$ arecord --duration=5 --format=dat test-mic.wav
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:830: audio open error: No such file or directory
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ aplay -l 
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
$ pacmd list-cards
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_04_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 0xd04c8000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:04:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "1637"
		device.string = "0"
		device.description = "HD-Audio Generic"
		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_04_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 0xd04c0000 irq 82"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:04:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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 (Models 10h-1fh) HD Audio Controller"
		device.string = "1"
		device.description = "Family 17h (Models 10h-1fh) 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 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_04_00.6.analog-stereo/#0: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
	sources:
		alsa_output.pci-0000_04_00.6.analog-stereo.monitor/#0: Monitor of Family 17h (Models 10h-1fh) 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"
$ pacmd list-sources
1 source(s) available.
  * index: 0
	name: <alsa_output.pci-0000_04_00.6.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	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: 0 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.14 ms
	monitor_of: 0
	card: 1 <alsa_card.pci-0000_04_00.6>
	module: 7
	properties:
		device.description = "Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd04c0000 irq 82"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:04:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04: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 (Models 10h-1fh) HD Audio Controller"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"

If I had to point a finger at something, it'd be the output of "pacmd list-sources", which seems to be missing the "default", non-AMD sound card.
I don't know what to do about it, though, and hope the problem isn't dead hardware.

Can someone lend a hand, please?

Last edited by svrmirac (2021-01-24 13:40:57)

Offline

#2 2021-01-23 12:53:53

svrmirac
Member
Registered: 2017-08-04
Posts: 15

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

Here's one more thing - in pulse audio mixer, "Configuration" tab, I have:

1. "HD-Audio Generic" which is set to Off, and all other options in the drop-down menu have "(unplugged) (unavailable)"
2. "Family 17h (Models 10h-1fh) HD Audio Controller", which is set to "Analog Stereo Output", but which I can change to "Analog Stereo Input (unplugged) (unavailable)",

which then brings back the microphone controls, same as loading the module manually through editing "/etc/pulse/default.p", but the microphone still doesn't work.

Offline

#3 2021-01-23 15:32:07

atlasduo
Member
Registered: 2021-01-23
Posts: 3

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

I have nothing to contribute to the solution, but I'm having exact same issue with exact same laptop.

I tried Ubuntu 20.10 Live USB and microphone works correctly there. The primary difference is in "pacmd list-cards" Ubuntu identifies the second card by its actual ID, whereas Arch (as of recently) identifies it as HD-Audio Generic.

The output of "pacmd list-cards" under ubuntu is as follows:

ubuntu@ubuntu:~$ pacmd list-cards
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_04_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc06c8000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:04:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "1637"
		device.string = "0"
		device.description = "HD-Audio Generic"
		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_04_00.5-platform-acp_pdm_mach.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "2"
		alsa.card_name = "acp"
		alsa.long_card_name = "LENOVO-81YM-IdeaPad514ARE05-LNVNB161216"
		alsa.driver_name = "snd_acp3x_rn"
		device.bus_path = "pci-0000:04:00.5-platform-acp_pdm_mach.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.5/acp_pdm_mach.0/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e2"
		device.product.name = "Raven/Raven2/FireFlight/Renoir Audio Processor"
		device.string = "2"
		device.description = "Raven/Raven2/FireFlight/Renoir Audio Processor"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:stereo-fallback: Stereo Input (priority 51, available: unknown)
		input:multichannel-input: Multichannel Input (priority 1, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:stereo-fallback>
	sources:
		alsa_input.pci-0000_04_00.5-platform-acp_pdm_mach.0.stereo-fallback/#0: Raven/Raven2/FireFlight/Renoir Audio Processor Stereo
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
			properties:

Last edited by atlasduo (2021-01-23 15:40:16)

Offline

#4 2021-01-24 13:30:28

bmaximuml
Member
Registered: 2021-01-24
Posts: 1

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

I am also having the same issue with the same laptop. The Ubuntu 20.10 Live USB also worked fine for me.
I've found this patch that seems to be attempting to fix this issue, but I don't know when it will be made available: https://lore.kernel.org/alsa-devel/2020 … ex.cz/T/#u

Offline

#5 2021-01-24 13:39:31

svrmirac
Member
Registered: 2017-08-04
Posts: 15

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

Seems kernel 5.10.10 (or above) should be patched to solve this.

Until then, I found a solution on the Manjaro forum.

Offline

#6 2021-01-25 15:21:39

atlasduo
Member
Registered: 2021-01-23
Posts: 3

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

Updated to 5.10.10-arch1-1 today. The issue did not go away, still no microphone input.

Offline

#7 2021-01-25 18:42:49

svrmirac
Member
Registered: 2017-08-04
Posts: 15

Re: [Solved] IdeaPad IP 5 14ARE05 (Ryzen 5 4500U) microphone issue

Maybe the prediction there was for the kernel Manjaro uses. The fix works, though.

I use it, with systemd bootloader:

$ cat /boot/loader/entries/arch.conf 
title  Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=/dev/sdc2 rw snd_rn_pci_acp3x.dmic_acpi_check=1

Offline

Board footer

Powered by FluxBB