You are not logged in.

#1 2026-04-29 14:08:39

astha
Member
Registered: 2026-04-29
Posts: 3

Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

PC: HP Elitedesk 805 g6
Codec ALC897


wpctl status and arecord -l output:
    wpctl status
      arecord -l
PipeWire 'pipewire-0' [1.6.4, astha@Astha, cookie:2314997762]
└─ Clients:
        32. xdg-desktop-portal                  [1.6.4, astha@Astha, pid:1093]
        33. pipewire                            [1.6.4, astha@Astha, pid:95214]
        35. WirePlumber                         [1.6.4, astha@Astha, pid:95213]
        47. WirePlumber [export]                [1.6.4, astha@Astha, pid:95213]
        64. PulseAudio Volume Control           [1.6.4, astha@Astha, pid:93375]
        76. wpctl                               [1.6.4, astha@Astha, pid:104763]
        86. Blueman                             [1.6.4, astha@Astha, pid:905]
       105. spotify                             [1.6.4, astha@Astha, pid:95787]
       118. quickshell                          [1.6.4, astha@Astha, pid:102069]
       121. quickshell                          [1.6.4, astha@Astha, pid:102069]

Audio
├─ Devices:
│      48. Renoir/Cezanne HDMI/DP Audio Controller [alsa]
│      49. Ryzen HD Audio Controller           [alsa]
│ 
├─ Sinks:
│  *   34. Ryzen HD Audio Controller Analog Stereo [vol: 1.00]
│      56. Renoir/Cezanne HDMI/DP Audio Controller Digital Stereo (HDMI) [vol: 1.53 MUTED]
│ 
├─ Sources:
│  *   46. Ryzen HD Audio Controller Analog Stereo [vol: 1.53]
│ 
├─ Filters:
│ 
└─ Streams:
        67. PulseAudio Volume Control                                   
             80. input_FL        < ALC897 Analog:capture_FL    [active]
             81. input_FR        < ALC897 Analog:capture_FR    [active]
             82. monitor_FL     
             83. monitor_FR     
       100. PulseAudio Volume Control                                   
            101. monitor_FR     
            102. input_FL        < audio-src:output_FL    [active]
            104. monitor_FL     
            111. input_FR        < audio-src:output_FR    [active]
       109. audio-src                                                   
            107. output_FR       > ALC897 Analog:playback_FR    [active]
            108. output_FL       > ALC897 Analog:playback_FL    [active]

Video
├─ Devices:
│ 
├─ Sinks:
│ 
├─ Sources:
│ 
├─ Filters:
│ 
└─ Streams:

Settings
└─ Default Configured Devices:
         0. Audio/Sink    alsa_output.pci-0000_05_00.1.pro-output-3
         1. Audio/Source  alsa_input.pci-0000_05_00.6.analog-stereo
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

full device info:
    fastfetch
                  -`                     astha@Astha
                 .o+`                    -----------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: HP EliteDesk 805 G6 Desktop Mini PC
              `+oooooo:                  Kernel: Linux 6.19.14-arch1-1
              -+oooooo+:                 Uptime: 22 hours, 28 mins
            `/:-:++oooo+:                Packages: 8 (flatpak), 1330 (pacman)
           `/++++/+++++++:               Shell: fish 4.6.0
          `/++++++++++++++:              Display (DELL S2409W): 1920x1080 in 24", 60 Hz [Extern]
         `/+++ooooooooooooo/`            WM: niri 26.04 (Wayland)
        ./ooosssso++osssssso+`           Theme: adw-gtk3-dark [GTK3/4]
       .oossssso-````/ossssss+`          Icons: WhiteSur-dark [GTK3/4]
      -osssssso.      :ssssssso.         Font: Rubik (11pt) [GTK3/4]
     :osssssss/        osssso+++.        Cursor: Bibata-Modern-Ice (24px)
    /ossssssss/        +ssssooo/-        Terminal: kitty 0.46.2
  `/ossssso+/:-        -:/+osssso+-      Terminal Font: JetBrainsMonoNF-Regular (11pt)
`+sso+:-`                 `.-/+oso:     CPU: AMD Ryzen 5 PRO 4650GE (12) @ 4.25 GHz
`++:.                           `-/+/    GPU: AMD Radeon Vega Series / Radeon Vega Mobile Serie]
.`                                 `/    Memory: 6.23 GiB / 7.07 GiB (88%)
                                         Swap: 5.00 GiB / 10.00 GiB (50%)
                                         Disk (/): 20.70 GiB / 24.44 GiB (85%) - ext4
                                         Disk (/home): 82.54 GiB / 198.73 GiB (42%) - ext4

The microphone is detected, but input is just noise.
Any idea what might be wrong?

Last edited by astha (2026-04-29 14:09:56)

Offline

#2 2026-04-29 15:33:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,206

Re: Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

Stereo input is often a lie and not handled properly. Try muting the left (or - if that didn't help - the right) channel, does that fix things? Do you know the mic to be working on other systems? Can you post

amixer -c1
pactl list sources
pactl list source-outputs

during the issue? Also please wrap outputs in   [code][/code] tags and edit your post in this regard

Offline

#3 2026-05-01 07:21:28

astha
Member
Registered: 2026-04-29
Posts: 3

Re: Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

i've try this headset on another device and it work fine

 amixer -c1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [off]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Headphone Mic Jack Mode',0
  Capabilities: enum
  Items: 'Headphone Out' 'Mic In'
  Item0: 'Headphone Out'
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono: 
    pactl list sources
Source #55
	State: SUSPENDED
	Name: alsa_output.pci-0000_05_00.6.analog-stereo.monitor
	Description: Monitor of Ryzen HD Audio Controller Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor of Sink: alsa_output.pci-0000_05_00.6.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		object.path = "alsa:acp:Generic_1:3:playback"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		port.group = "playback"
		device.icon_name = "audio-card-analog"
		device.bus = "pci"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		device.routes = "2"
		alsa.resolution_bits = "16"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfc380000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC897"
		alsa.components = "HDA:10ec0897,103c872c,00100402"
		alsa.id = "Generic_1"
		device.api = "alsa"
		device.class = "monitor"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC897 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		card.profile.device = "3"
		device.id = "50"
		factory.name = "api.alsa.pcm.sink"
		node.pause-on-idle = "false"
		priority.driver = "1009"
		priority.session = "1009"
		media.class = "Audio/Sink"
		node.name = "alsa_output.pci-0000_05_00.6.analog-stereo"
		node.nick = "ALC897 Analog"
		device.description = "Ryzen HD Audio Controller"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.card.longname = "HD-Audio Generic at 0xfc380000 irq 81"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "46"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "55"
		object.serial = "55"
		device.enum.api = "udev"
		api.alsa.card = "1"
		device.plugged.usec = "10366403"
		device.bus_path = "pci-0000:05:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.subsystem = "sound"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "0x15e3"
		device.product.name = "Ryzen HD Audio Controller"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1.Priority = "-20"
		api.alsa.split-enable = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		spa.object.id = "4"
		device.string = "1"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 1, availability unknown)
	Active Port: analog-output-headphones
	Formats:
		pcm

Source #56
	State: RUNNING
	Name: alsa_input.pci-0000_05_00.6.analog-stereo
	Description: Ryzen HD Audio Controller Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	       balance 0.00
	Base Volume: 6554 /  10% / -60.00 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		object.path = "alsa:acp:Generic_1:0:capture"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "capture"
		port.group = "capture"
		device.icon_name = "audio-card-analog"
		device.bus = "pci"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		device.routes = "1"
		alsa.resolution_bits = "16"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfc380000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC897"
		alsa.components = "HDA:10ec0897,103c872c,00100402"
		alsa.id = "Generic_1"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC897 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		card.profile.device = "0"
		device.id = "50"
		factory.name = "api.alsa.pcm.source"
		node.pause-on-idle = "false"
		priority.driver = "2009"
		priority.session = "2009"
		media.class = "Audio/Source"
		node.name = "alsa_input.pci-0000_05_00.6.analog-stereo"
		node.nick = "ALC897 Analog"
		device.description = "Ryzen HD Audio Controller"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.card.longname = "HD-Audio Generic at 0xfc380000 irq 81"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "46"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "56"
		object.serial = "56"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "32"
		device.enum.api = "udev"
		api.alsa.card = "1"
		device.plugged.usec = "10366403"
		device.bus_path = "pci-0000:05:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.subsystem = "sound"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "0x15e3"
		device.product.name = "Ryzen HD Audio Controller"
		device.name = "alsa_card.pci-0000_05_00.6"
		device.nick = "HD-Audio Generic"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1.Priority = "-20"
		api.alsa.split-enable = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		spa.object.id = "4"
		device.string = "1"
	Ports:
		analog-input-headphone-mic: Microphone (type: Mic, priority: 8700, availability group: Legacy 1, availability unknown)
	Active Port: analog-input-headphone-mic
	Formats:
		pcm

Source #57
	State: SUSPENDED
	Name: alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor
	Description: Monitor of Renoir/Cezanne HDMI/DP Audio Controller Digital Stereo (HDMI)
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor of Sink: alsa_output.pci-0000_05_00.1.hdmi-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		object.path = "alsa:acp:Generic:1:playback"
		api.alsa.path = "hdmi:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		port.group = "playback"
		device.icon_name = "audio-card-analog"
		device.bus = "pci"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		device.routes = "1"
		alsa.resolution_bits = "16"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfc388000 irq 80"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI Generic"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.id = "Generic"
		device.api = "alsa"
		device.class = "monitor"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Generic Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		card.profile.device = "1"
		device.id = "51"
		factory.name = "api.alsa.pcm.sink"
		node.pause-on-idle = "false"
		priority.driver = "696"
		priority.session = "696"
		media.class = "Audio/Sink"
		node.name = "alsa_output.pci-0000_05_00.1.hdmi-stereo"
		node.nick = "Generic Digital"
		device.description = "Renoir/Cezanne HDMI/DP Audio Controller"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.card.longname = "HD-Audio Generic at 0xfc388000 irq 80"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "46"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "34"
		object.serial = "57"
		device.enum.api = "udev"
		api.alsa.card = "0"
		device.plugged.usec = "10339194"
		device.bus_path = "pci-0000:05:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
		device.subsystem = "sound"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "0x1637"
		device.product.name = "Renoir/Cezanne HDMI/DP Audio Controller"
		device.name = "alsa_card.pci-0000_05_00.1"
		device.nick = "HD-Audio Generic"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1.Priority = "-20"
		api.alsa.split-enable = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
	Active Port: hdmi-output-0
	Formats:
		pcm
    pactl list source-outputs
Source Output #602
	Driver: PipeWire
	Owner Module: n/a
	Client: 600
	Source: 56
	Sample Specification: float32le 1ch 144Hz
	Channel Map: mono
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "144"  format.channels = "1"  format.channel_map = "\"mono\""
	Corked: no
	Mute: no
	Volume: mono: 65536 / 100% / 0.00 dB
	       balance 0.00
	Buffer Latency: 0 usec
	Source Latency: 0 usec
	Resample method: PipeWire
	Properties:
		client.api = "pipewire-pulse"
		pulse.server.type = "unix"
		application.name = "PulseAudio Volume Control"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "6.2"
		application.process.id = "23264"
		application.process.user = "astha"
		application.process.host = "Astha"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":1"
		application.process.machine_id = "a90f7a0fa79041ca9392a0f01dc9fb20"
		application.process.session_id = "2"
		media.name = "Peak detect"
		pulse.corked = "false"
		node.rate = "1/144"
		node.latency = "1/144"
		stream.monitor = "true"
		target.object = "56"
		stream.is-live = "true"
		node.name = "PulseAudio Volume Control"
		node.want-driver = "true"
		node.autoconnect = "true"
		node.dont-reconnect = "true"
		media.class = "Stream/Input/Audio"
		resample.peaks = "true"
		channelmix.normalize = "true"
		port.ignore-latency = "true"
		port.group = "stream.0"
		adapt.follower.spa-node = ""
		object.register = "false"
		factory.id = "7"
		clock.quantum-limit = "8192"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		client.id = "70"
		object.id = "72"
		object.serial = "602"
		node.driver-id = "56"
		pulse.attr.maxlength = "4194304"
		pulse.attr.fragsize = "4"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

I tried switching ‘Headphone Out’ to ‘Mic In’, but it actually made the static noise much worse. I also tested muting one of the stereo channels, but that didn’t make any difference.

Offline

#4 2026-05-02 11:03:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,741

Re: Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

Does it help to turn  off the boost?

amixer -c1 sset "Headphone Mic Boost" 0

Offline

#5 2026-05-03 02:10:38

astha
Member
Registered: 2026-04-29
Posts: 3

Re: Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

I already tried turning off the "Headphone Mic Boost" using amixer -c1 sset "Headphone Mic Boost" 0, but there was no noticeable difference. The static noise is still present.

I also tried switching from the headphone/mic combo jack to the mic input, but that actually made the static noise worse.

I've already tried several other basic troubleshooting steps (adjusting levels, different settings, etc.), but none of them resolved the issue.

At this point, I'm starting to suspect that the motherboard's onboard sound card might not be fully compatible or properly supported, and I'm wondering if using an external sound card would help.

Offline

#6 2026-05-03 06:39:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,741

Re: Headset mic (3.5mm TRRS) only produces static noise on Arch Linux

suspect that the motherboard's onboard sound card

amixer -c0

Though the noise goes away when removing the Headset? Or can you only hear it via the headphone? Do you get it using some throw-away in-ears?

Static noise is typically a feedback loop (also output plugged into input) or coil whine picked up by the audio.
Is it load dependent? Do you get it when only booting the multi-user.target (2nd link below)?

Offline

Board footer

Powered by FluxBB