In-built Laptop microphone not being detected

I was messing around with my laptop’s sound settings using pagraphcontrol since my headset mic was picking up audio directly from my earphones, but on accident, I deleted some modules or the other trying to prevent audio streams from criss-crossing. This lead to my laptop’s microphone no longer being detected. I’ve tried some other solutions (which I’d share but I’m not allowed to share links or media yet). One of them was from the PulseAudio troubleshooting guide on the archwiki and the other suggested I try purging pulseaudio and pavucontrol, and then reinstalling them but they don’t seem to have worked.

Other threads that state a similar issue also mention a /etc/modprobe.d/sound.conf but the folder contained no such file. Might be because I deleted all the conf files in an earlier attempt to get it working.

inxi -Fzxxxa
System:    Kernel: 5.11.22-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
           root=UUID=78527fcb-66fc-4bf0-9433-abaa840cf00b rw quiet apparmor=1 security=apparmor 
           udev.log_priority=3 
           Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM 
           Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: ASUSTeK product: ZenBook UX425UA_UM425UA v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: UX425UA v: 1.0 serial: <filter> UEFI: American Megatrends LLC. 
           v: UX425UA.301 date: 04/01/2021 
Battery:   ID-1: BATT charge: 13.4 Wh (20.0%) condition: 66.9/67.1 Wh (99.7%) volts: 15.9 
           min: 15.9 model: ASUSTeK UX425 type: Li-ion serial: <filter> status: Discharging 
           cycles: 3 
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen note: check family: 17 (23) model-id: 68 (104) stepping: 1 
           microcode: 8608103 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57504 
           Speed: 1398 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1398 
           2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 
           12: 1397 13: 1397 14: 1397 15: 1397 16: 1397 
           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: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 04:00.0 
           chip-ID: 1002:164c class-ID: 0300 
           Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-3:2 
           chip-ID: 13d3:56eb class-ID: fe01 serial: <filter> 
           Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: amdgpu,ati 
           unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9") 
           diag: 355mm (14") 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.22-2-MANJARO LLVM 12.0.0) 
           v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:     Device-1: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 04:00.1 
           chip-ID: 1002:1637 class-ID: 0403 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK 
           driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus-ID: 04:00.5 
           chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.11.22-2-MANJARO running: yes 
           Sound Server-2: sndio v: N/A running: no 
           Sound Server-3: JACK v: 0.125.0 running: no 
           Sound Server-4: PulseAudio v: 14.2 running: yes 
           Sound Server-5: PipeWire v: 0.3.30 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 01:00.0 
           chip-ID: 8086:2723 class-ID: 0280 
           IF: wlp1s0 state: up mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3 
           chip-ID: 8087:0029 class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block: 
           hardware: no software: yes address: see --recommends 
Drives:    Local Storage: total: 476.94 GiB used: 28.82 GiB (6.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM512GD3JX013N 
           size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: 41000C20 temp: 35.9 C scheme: GPT 
Partition: ID-1: / raw-size: 237.72 GiB size: 232.93 GiB (97.99%) used: 28.79 GiB (12.4%) 
           fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 25.9 MiB (10.1%) 
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 51.5 C mobo: 47.0 C gpu: amdgpu temp: 43.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 383 Uptime: 2h 16m wakeups: 5254 Memory: 15.09 GiB used: 4.62 GiB (30.6%) 
           Init: systemd v: 248 tool: systemctl Compilers: gcc: 11.1.0 Packages: 1304 
           pacman: 1285 lib: 356 flatpak: 6 snap: 13 Shell: Zsh v: 5.8 running-in: konsole 
           inxi: 3.3.04 
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: acp [acp], device 0: DMIC capture dmic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 2: ALC294 Alt Analog [ALC294 Alt Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

Hello @N3r_0 :wink:

How? With rmmod or modprobe -r ? This only temporary. Reboot and the modules are loaded.

Maybe deleting/renaming the config? ~/.config/pulse
Restart then with

systemctl restart --user pulseaudio.service

All conf files???

1 Like

Hi there! You’re the first person I get to talk to here! :smile:

I used pagraphcontrol to see all my audio devices at once (monitors excluded). You can select a module (that’s what I call them but I could be entirely wrong about the terminology there) or device and then press the delete key to stop using them or disconnect them from any particular source. If a reboot should get them back, then it didn’t do it for my mic for some reason.

Tried this. Went to the folder and deleted everything inside and restarted with said command. No dice and same situation as before. The files reloaded back but still didn’t detect the mic.

I assumed those were the conf files I deleted. I’m not really sure how I lost them in truth since I don’t remember moving to that specific directory to remove stuff. It could be related to the pagraphcontrol thing but I’m not really sure how it all links together.

1 Like

Welcome to the forum :slight_smile:

Mh… as i understand the app loads modules temporary, so it does not write anything to ~/.config/pulse/default.pa . So every time you start this app, the modules get loaded it.

If it worked before, I would assume it is somehow related to the app, or maybe an update of the kernel or kernel module has removed the support for your mic somehow.

Does it work with alsa only?

arecord -f S16_LE -d 10 -r 16000 --device="hw:2,1" /tmp/test-mic.wav

Use the correct card and device:

--device="hw:<card number>,<device number>"

Play what you have recorded:

aplay /tmp/test-mic.wav
1 Like
arecord -f S16_LE -d 10 -r 16000 --device="hw:2,2" /tmp/test-mic.wav
Recording WAVE '/tmp/test-mic.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
arecord: set_params:1374: Channels count non available

Tried with hw:2,0 as well just in case but both resulted in the same message.

This obviously doesn’t work since the previous command failed to record.

As an aside, I thought I’d throw this in here too

pacmd list-sources                                                
2 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 DYNAMIC_LATENCY
        state: IDLE
        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: 3 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
        monitor_of: 0
        card: 1 <alsa_card.pci-0000_04_00.6>
        module: 8
        properties:
                device.description = "Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
                device.class = "monitor"
                alsa.card = "2"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfccc0000 irq 103"
                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/card2"
                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 = "2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 1
        name: <alsa_input.pci-0000_04_00.6.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        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.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 1 <alsa_card.pci-0000_04_00.6>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC294 Analog"
                alsa.id = "ALC294 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfccc0000 irq 103"
                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/card2"
                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 = "front:2"
                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 = "Family 17h (Models 10h-1fh) HD Audio Controller 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>

can you try my fix i posted here, since i also had big audio problems since i rebooted after an update recently: Pipewire contains pipewire-pulse executable and creates pipewire-pulse.service/socket

1 Like

Tried it but still no dice. I restarted PulseAudio just to see if it needed a reboot but all the pulse related applications are having trouble starting and connecting to PulseAudio.