Internal microphone not detected by Pulseaudio - Huawei Matebook X Pro

Good evening Manjaro community,

so far I have only been reading and using your advice to sort out issues by myself but this time I cannot seem to find a solution.

Recently the internal microphone of my Huawei Matebook X Pro is no longer being picked up by the system. Pulseaudio does not show any input devices listed anymore and when trying to use the microphone in Chrome it (obviously) doesn't show up anymore.

I am not quite sure how to go about debugging this issue. I am running Kernel 5.4.23-1 with KDE Plasma. Is there any way to automatically re-detect internal hardware or "add" the device manually?

My system is mostly standard and an out-of-the-box version of Manjaro. The only change to my audio settings that I made was following this guide to fix two of the internal speakers: Github Post However that change was already made when I initially setup the system a year ago and so far everything worked. I'd be thankful for any help.

System:    Host: bundyq-pc Kernel: 5.4.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.1 Desktop: KDE Plasma 5.17.5 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: HUAWEI product: MACH-WX9 v: M1A serial: <root required> 
           Mobo: HUAWEI model: MACH-WX9 v: M1A serial: <root required> UEFI: HUAWEI v: 1.17 date: 07/28/2018 
Battery:   ID-1: BAT0 charge: 22.2 Wh condition: 54.5/56.3 Wh (97%) model: DYNAPACK HB4593R1ECW status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 32012 
           Speed: 785 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 782 2: 797 3: 778 4: 758 5: 756 6: 797 7: 752 8: 794 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Huawei driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.7 driver: intel FAILED: nvidia resolution: 3000x2000~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.6 Mesa 19.3.4 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Huawei driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.4.23-1-MANJARO 
Network:   Device-1: Intel Wireless 8265 / 8275 vendor: Huawei driver: iwlwifi v: kernel port: 4040 bus ID: 3c:00.0 
           IF: wlp60s0 state: up mac: b4:86:55:f4:d1:44 
Drives:    Local Storage: total: 476.94 GiB used: 54.76 GiB (11.5%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB 
Partition: ID-1: / size: 139.39 GiB used: 54.76 GiB (39.3%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 45.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 211 Uptime: 13m Memory: 15.43 GiB used: 1.45 GiB (9.4%) Init: systemd Compilers: gcc: 9.2.1 clang: 9.0.1 
           Shell: bash v: 5.0.16 inxi: 3.0.37 

1 Like
  1. Thanks for posting the inxi output but to dig deeper an inxi --full --verbosity=7 --filter would be better.
  2. In your specific case, what is the output of arecord --list-devices ?
  3. As you've been lurking in the shadows, :wink: Have you tried a different kernel yet???

Thank you for taking time to help me out!

About the kernel I only recently updated from 4.19 to 5.4.23 hoping to resolve this issue but with no luck.

inxi --full --verbosity=7 --filter:

System:    Host: bundyq-pc Kernel: 5.4.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.1 Desktop: KDE Plasma 5.17.5 
           tk: Qt 5.14.1 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: HUAWEI product: MACH-WX9 v: M1A serial: <filter> 
           Mobo: HUAWEI model: MACH-WX9 v: M1A serial: <filter> UEFI: HUAWEI v: 1.17 date: 07/28/2018 
Battery:   ID-1: BAT0 charge: 30.2 Wh condition: 54.0/56.3 Wh (96%) volts: 7.6/7.6 model: DYNAPACK HB4593R1ECW type: Li-ion 
           serial: <filter> status: Discharging cycles: 112 
Memory:    RAM: total: 15.43 GiB used: 1.36 GiB (8.8%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB 
           bogomips: 32012 
           Speed: 801 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 801 5: 800 6: 801 7: 800 8: 800 
           Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art avx avx2 bmi1 bmi2 bts clflush 
           clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c 
           flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt 
           invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe 
           pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap 
           smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx 
           vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Huawei driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
           Device-2: NVIDIA GP108M [GeForce MX150] driver: N/A bus ID: 01:00.0 chip ID: 10de:1d12 
           Display: x11 server: X.Org 1.20.7 driver: intel FAILED: nvidia compositor: kwin_x11 resolution: 3000x2000~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.6 Mesa 19.3.4 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Huawei driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:9d71 
           Sound Server: ALSA v: k5.4.23-1-MANJARO 
Network:   Device-1: Intel Wireless 8265 / 8275 vendor: Huawei driver: iwlwifi v: kernel port: 4040 bus ID: 3c:00.0 
           chip ID: 8086:24fd 
           IF: wlp60s0 state: up mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           WAN IP: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 53.96 GiB (11.3%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> 
           rev: AAXA4103 scheme: GPT 
           Message: No Optical or Floppy data was found. 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / size: 139.39 GiB used: 53.95 GiB (38.7%) fs: ext4 dev: /dev/nvme0n1p2 label: N/A 
           uuid: 44132c7f-e1a5-4231-b242-6fb0dfee1793 
           ID-2: /boot/efi size: 3.99 GiB used: 280 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p1 label: N/A uuid: C0FB-8230 
Unmounted: ID-1: /dev/nvme0n1p3 size: 16.00 GiB fs: ext4 label: N/A uuid: e3eecc85-8351-4671-acdb-f8454f376e93 
           ID-2: /dev/nvme0n1p4 size: 314.82 GiB fs: ext4 label: N/A uuid: ebb16d02-9a80-420c-8b50-8f0536125c7f 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           Device-1: 1-5:2 info: Intel type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 8087:0a2b 
           Device-2: 1-7:3 info: Cheng Uei Precision Industry (Foxlink) HD Camera type: Video driver: uvcvideo interfaces: 2 
           rev: 2.0 speed: 480 Mb/s chip ID: 05c8:03c0 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 36.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 215 Uptime: 7m Init: systemd v: 242 Compilers: gcc: 9.2.1 clang: 9.0.1 Shell: bash v: 5.0.16 
           running in: guake inxi: 3.0.37 

arecord --list-devices:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Type the following command:

alsamixer

Press F4 and then press ā†‘ until you see a green bar at lease 33% like this:

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ AlsaMixer v1.2.2 ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
ā”‚ Card: PulseAudio                                     F1:  Help               ā”‚
ā”‚ Chip: PulseAudio                                     F2:  System information ā”‚
ā”‚ View: F3: Playback  F4:[Capture] F5: All             F6:  Select sound card  ā”‚
ā”‚ Item: Capture                                        Esc: Exit               ā”‚
ā”‚                                                                              ā”‚
ā”‚                                     ā”Œā”€ā”€ā”                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚  ā”‚                                     ā”‚
ā”‚                                     ā”‚ā–’ā–’ā”‚                                     ā”‚
ā”‚                                     ā”‚ā–’ā–’ā”‚                                     ā”‚
ā”‚                                     ā”‚ā–’ā–’ā”‚                                     ā”‚
ā”‚                                    Lā””ā”€ā”€ā”˜R                                    ā”‚
ā”‚                                   CAPTURE                                    ā”‚
ā”‚                                    30<>30                                    ā”‚
ā”‚                                  <Capture >                                  ā”‚
ā”‚                                                                              ā”‚
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

Then press Esc

and install and run cheese to test:

pamac install cheese
cheese

I set it up alsamixer with these settings:

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ AlsaMixer v1.2.2 ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
ā”‚ Card: PulseAudio                                                                                                         F1:  Help               ā”‚
ā”‚ Chip: PulseAudio                                                                                                         F2:  System information ā”‚
ā”‚ View: F3: Playback  F4:[Capture] F5: All                                                                                 F6:  Select sound card  ā”‚
ā”‚ Item: Capture                                                                                                            Esc: Exit               ā”‚
ā”‚                                                                  ā”Œā”€ā”€ā”     ā”Œā”€ā”€ā”                                                                   ā”‚
ā”‚                                                                  ā”‚  ā”‚     ā”‚  ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚  ā”‚     ā”‚  ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚  ā”‚     ā”‚  ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚ā–’ā–’ā”‚     ā”‚ā–’ā–’ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚ā–’ā–’ā”‚     ā”‚ā–’ā–’ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚ā–’ā–’ā”‚     ā”‚ā–’ā–’ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚ā–’ā–’ā”‚     ā”‚ā–’ā–’ā”‚                                                                   ā”‚
ā”‚                                                                  ā”‚ā–’ā–’ā”‚     ā”‚ā–’ā–’ā”‚                                                                   ā”‚
ā”‚                                                                 Lā””ā”€ā”€ā”˜R   Lā””ā”€ā”€ā”˜R                                                                  ā”‚
ā”‚                                                                CAPTURE  CAPTURE                                                                  ā”‚
ā”‚                                                                 60<>60   60<>60                                                                  ā”‚
ā”‚                                                               <Capture >Capture                                                                  ā”‚
ā”‚                                                                 Front     Rear                                                                   ā”‚
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

Unfortunately cheese did not record any audio during the tests I did after.

Huawei specifications do not reveal much about audio device, same as other manufacturers

https://consumer.huawei.com/en/laptops/matebook-x-pro/specs/
Quad digital microphones and Quad speakers

digital microphone array was not supported until recently with kernel v5.5.7
new kernel also requires an additional package sof-firmware
Sound Open Firmware driver replaces the usual snd_hda_intel driver

(click on sof-firmware tag at top of page to see previous posts about this)

Not sure if this laptop is supported yet for SOF driver to get the digital onboard microphone working

if needed, there is a kernel boot option to disable SOF driver and get snd_hda_intel back
snd_hda_intel.dmic_detect=0
but internal microphone does not work

1 Like

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

Forum kindly sponsored by