Garuda using wrong microphone device

Instead of using my headphone/earphone for audio input garuda is for some reason picking up audio from the inbuilt mic of my laptop.

I tried searching in archwiki but the solution mentioned there required pulse audio, my device is however using pipewire-pulse and i was unable to fix the issue using wiki. i tried uninstalling pipewire-pulse to install pulseaudio but it was a dependency for pipewire-support which in turn is a dependency for something else so I am basically stuck, any help is appreciated.

To add, earlier the microphone was picking a lot of static up as well, changing profile in recording devices of audio setting to 'pro audio' from 'analog stereo duplex' fixed the static issue, for reference I am running garuda on a lenovo ideapad 520.

Just post your garuda-inxi as text, please.

3 Likes

CPU: quad core Intel Core i5-8250U (-MT MCP-) speed/min/max: 800/400/3400 MHz
Kernel: 5.18.7-zen1-1-zen x86_64 Mem: 2485.5/7730.0 MiB (32.2%)
Procs: 277 Shell: fish inxi: 3.3.19

Please, full garuda-inxi between
~~~
garuda-inxi
~~~

like

garuda-inxi
System:
  Kernel: 5.18.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=ed159bee-f3f4-4cb1-aeff-997938929ff7 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Desktop: i3 v: 4.20.1 info: i3bar vt: 7 dm: LightDM v: 1.30.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 82BG v: Yoga 9 14ITL5
    serial: <superuser required> Chassis: type: 31 v: Yoga 9 14ITL5
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40709WIN
    serial: <superuser required> UEFI: LENOVO v: EHCN65WW date: 07/01/2021
Battery:
  ID-1: BAT0 charge: 37.8 Wh (65.3%) condition: 57.9/60.0 Wh (96.5%)
    volts: 7.9 min: 7.7 model: SMP BASE-BAT type: Li-poly serial: <filter>
    status: N/A cycles: 112
CPU:
  Info: model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
    arch: Tiger Lake built: 2020 process: Intel 10nm family: 6
    model-id: 0x8C (140) stepping: 1 microcode: 0xA4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1140 high: 1958 min/max: 400/4800 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1958 2: 984 3: 927
    4: 1083 5: 974 6: 1027 7: 1168 8: 1000 bogomips: 47923
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  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 TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:3 chip-ID: 13d3:56b2 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: LG Display 0x061f built: 2018 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.2
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  Sound Server-1: ALSA v: k5.18.7-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.53 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:4 chip-ID: 8087:0026 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 51.25 GiB (10.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN730 SDBPNTY-512G-1101 size: 476.94 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 11170001 temp: 40.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 250 GiB size: 250 GiB (100.00%) used: 51.22 GiB (20.5%)
    fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 29.2 MiB (11.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 250 GiB size: 250 GiB (100.00%)
    used: 51.22 GiB (20.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 250 GiB size: 250 GiB (100.00%)
    used: 51.22 GiB (20.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 250 GiB size: 250 GiB (100.00%)
    used: 51.22 GiB (20.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.22 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 273 Uptime: 1h 13m wakeups: 1204 Memory: 15.22 GiB
  used: 4.32 GiB (28.4%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1400
  lib: 354 Shell: fish v: 3.4.1 running-in: xfce4-terminal inxi: 3.3.19
Garuda (2.6.4-2):
  System install date:     2021-11-30
  Last full system update: 2022-07-02 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:   
3 Likes
System:
Kernel: 5.18.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d7ede459-c810-4e25-9e41-16cdd8eb2bac rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81BF v: Lenovo ideapad 520-15IKB
serial: <superuser required> Chassis: type: 10 v: Lenovo ideapad 520-15IKB
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0Q55722 WIN
serial: <superuser required> UEFI: LENOVO v: 6JCN33WW date: 06/30/2020
Battery:
ID-1: BAT0 charge: 14.8 Wh (100.0%) condition: 14.8/35.0 Wh (42.4%)
volts: 8.4 min: 7.6 model: LGC L16L2PB3 type: Li-poly serial: <filter>
status: full
CPU:
Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 790 high: 800 min/max: 400/3400 scaling:
driver: intel_pstate governor: powersave cores: 1: 721 2: 800 3: 800 4: 800
5: 800 6: 800 7: 800 8: 800 bogomips: 28800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
arch: Gen9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
class-ID: 0300
Device-2: Realtek EasyCamera type: USB driver: uvcvideo bus-ID: 1-8:4
chip-ID: 0bda:58ea class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: intel unloaded: modesetting
alternate: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x06c6 built: 2016
res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
v: 4.6 Mesa 22.1.2 direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.18.7-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb
v: 0.8 bus-ID: 1-7:3 chip-ID: 0cf3:e300 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 3 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 4060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A
class-ID: 0104
Drives:
Local Storage: total: 1.82 TiB used: 12.77 GiB (0.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LM007-1R8174
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: LDM2 scheme: GPT
Partition:
ID-1: / raw-size: 620.52 GiB size: 620.52 GiB (100.00%)
used: 12.77 GiB (2.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%)
used: 580 KiB (0.1%) fs: vfat dev: /dev/sda6 maj-min: 8:6
ID-3: /home raw-size: 620.52 GiB size: 620.52 GiB (100.00%)
used: 12.77 GiB (2.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
ID-4: /var/log raw-size: 620.52 GiB size: 620.52 GiB (100.00%)
used: 12.77 GiB (2.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
ID-5: /var/tmp raw-size: 620.52 GiB size: 620.52 GiB (100.00%)
used: 12.77 GiB (2.1%) fs: btrfs dev: /dev/sda5 maj-min: 8:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.55 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 45.0 C pch: 44.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 231 Uptime: 14m wakeups: 1 Memory: 7.55 GiB
used: 2.49 GiB (33.0%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1205
lib: 311 flatpak: 0 Shell: fish v: 3.4.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-02-25
Last full system update: 2022-07-02
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

Between three tilde
~~~
garuda-inxi
~~~

5 Likes

If your headset has a 3.5mm jack, depending on your device sometimes ALSA assumes they are just headphones. On my laptop it was necessary to make a little config file to fix this.

sudo micro /etc/modprobe.d/headset.conf

It doesn't have to be named "headset", but it does have to end in ".conf" to work. It will be an empty file, just add this line:

options snd-hda-intel model=dell-headset-multi

Exit, save, reboot and try again.

If the device is being recognized correctly but is just not being used by the application you are running, this is where I would start: Advanced Linux Sound Architecture/Troubleshooting - ArchWiki

4 Likes

fixed the issue using hdajackretask, used it to override inbuilt microphone and disable it in realtek audio codec and totally stop it from being used, after that pulseaudio/pipewire automatically started using duplex earphones for input.

con is that the internal microphone is totally disabled now, will need to enable it again and reboot to use it

leaving this comment here as a solution for someone else who might encounter this issue

thank you for taking the time to respond, after a lot of tinkering i found the solution regardless, i have left the solution as a reply in case someone else has the same issue

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