Audio Issues (Microphone not working)

Finally have gotten audio to play, but cannot get microphone to work at all and all pulseaudio profiles show unavailable. Also, I dont have an HDMI on this laptop, so I dont know why is shows HDMI for audio. The laptop is “Razer Blade Stealth 13 RZ09-03272E82-R3U1”
inxi -Fazy

System:
  Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=e8c5a104-4338-4edc-939c-394db724b774 rw quiet 
  cryptdevice=UUID=8106ec6f-4254-4024-86a1-3d94342426e7:luks-8106ec6f-4254-4024-86a1-3d94342426e7 
  root=/dev/mapper/luks-8106ec6f-4254-4024-86a1-3d94342426e7 apparmor=1 
  security=apparmor 
  resume=/dev/mapper/luks-a8dda39c-4b15-4ead-b40a-023ce001f460 
  udev.log_priority=3 
  Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.38.1 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Razer product: Blade Stealth 13 (Late 2020) - RZ09-0327 
  v: 0.04 serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Razer model: LY350 v: 4 serial: <filter> UEFI: Razer v: 1.02 
  date: 09/17/2020 
Battery:
  ID-1: BAT0 charge: 54.4 Wh condition: 54.4/53.4 Wh (102%) volts: 13.1/11.6 
  model: Razer Blade type: Unknown serial: <filter> status: Full 
CPU:
  Info: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP 
  arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 68 
  L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44864 
  Speed: 1253 MHz min/max: 400/4700 MHz Core speeds (MHz): 1: 1200 2: 1200 
  3: 1200 4: 1201 5: 1200 6: 1201 7: 1151 8: 1156 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics vendor: Razer USA driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:9a49 
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Razer USA 
  driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 59:00.0 
  chip ID: 10de:1f95 
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo 
  bus ID: 3-6:2 chip ID: 13d3:56d5 serial: <filter> 
  Display: x11 server: X.org 1.20.9 compositor: gnome-shell 
  driver: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.2.2 
  direct render: Yes 
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Razer USA 
  driver: snd_hda_intel v: kernel alternate: snd_sof_pci bus ID: 00:1f.3 
  chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.8.18-1-MANJARO 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 4000 
  bus ID: 00:14.3 chip ID: 8086:a0f0 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 11.90 GiB (2.5%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-00000 
  size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: EXF7201Q scheme: GPT 
Partition:
  ID-1: / raw size: 467.84 GiB size: 459.50 GiB (98.22%) 
  used: 11.90 GiB (2.6%) fs: ext4 dev: /dev/dm-0 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 273 Uptime: 15m Memory: 15.41 GiB used: 1.21 GiB (7.8%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1214 pacman: 1210 
  lib: 339 flatpak: 0 snap: 4 Shell: Zsh v: 5.8 running in: gnome-terminal 
  inxi: 3.1.08

pacmd list-cards

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x60531c8000 irq 185"
		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 = "a0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		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 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)
		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: no)
		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: no)
		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: no)
		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: no)
		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: no)
		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: no)
		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: no)
		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: no)
		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: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
		output:hdmi-stereo-extra5+input:analog-stereo: Digital Stereo (HDMI 6) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
		output:hdmi-surround-extra5+input:analog-stereo: Digital Surround 5.1 (HDMI 6) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
		output:hdmi-surround71-extra5+input:analog-stereo: Digital Surround 7.1 (HDMI 6) Output + Analog Stereo Input (priority 665, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output: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
	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"
		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"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

Please post the output of sudo dmesg | egrep -i '(snd|sound|sof|hda|alsa)' and pa-info.

sudo dmesg | egrep -i ‘(snd|sound|sof|hda|alsa)’

[    0.662183] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.827268] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.827269] software IO TLB: mapped [mem 0x4ed79000-0x52d79000] (64MB)
[    7.800084] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    8.631844] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.708657] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    8.708659] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.708660] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    8.708660] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    8.708661] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    8.708662] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    8.812450] ALSA pcmC0D12p,0:HDMI 6: cannot preallocate for size 4194304
[    8.812456] ALSA pcmC0D13p,0:HDMI 7: cannot preallocate for size 4194304
[    8.812458] ALSA pcmC0D14p,0:HDMI 8: cannot preallocate for size 4194304
[    8.812460] ALSA pcmC0D15p,0:HDMI 9: cannot preallocate for size 4194304
[    8.812462] ALSA pcmC0D16p,0:HDMI 10: cannot preallocate for size 4194304
[    8.832645] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[    8.832701] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[    8.832741] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[    8.832772] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[    8.832823] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[    8.832857] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[    8.832918] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input33
[    8.832946] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input34
[    8.832972] input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input35
[    8.833030] input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input36
[    8.833063] input: HDA Intel PCH HDMI/DP,pcm=13 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input37
[    8.833112] input: HDA Intel PCH HDMI/DP,pcm=14 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input38
[    8.833566] input: HDA Intel PCH HDMI/DP,pcm=15 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input39
[    8.833619] input: HDA Intel PCH HDMI/DP,pcm=16 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input40
[ 1463.070140] usbcore: registered new interface driver snd-usb-audio

pa-info

https://pastebin.com/hYxYGSQZ

What modifications have you made? What’s the output of lspci -d 8086:a0c8 -k? Is sof-firmware installed?

Honestly, I have no idea how the audio started working in the first place.

lspci -d 8086:a0c8 -k

00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
	DeviceName: Onboard - Sound
	Subsystem: Razer USA Ltd. Device 1007
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci

sof-firmware is installed

Data is showing a modprobe option has been added to system

!!Modprobe options (Sound related)
!!--------------------------------

snd_intel_dspcfg: dsp_driver=1

This option forces sytem to use of ‘legacy’ driver snd_hda_intel, which does not support the internal digital array microphone (dmic)

System has kernel v5.8 and PulseAudio v13.99 installed. If package sof-firmware is installed
the system should be able to support Internal dmic if the modprobe option is removed

I suggest you find where the modprobe option is located

grep snd /etc/modprobe.d/*conf

then edit the modprobe option and add a # to deactivate it
# options snd_intel_dspcfg dsp_driver=1
if the internal dmic is supported and audio is working after reboot, this option can be deleted

1 Like

My Manjaro install did not detect the digital array mic nor any BT headset I connected to it. This post by @nikgnomic solved my problem. I did not however need to remove any modprobe option. I could not find that option in the first place.

What I did was upgrade kernel to 5.8.18 from 5.4 .78, checked that PulseAudio was installed (v.13.99) and then I installled sof-firmware. After logging out and in, mic function was on: digital mic and BT ones.

Thank you. Much appreciated.

1 Like