Microphone (headset) jack not detected Thinkpad T495

Hi,

I have a Thinkpad T495 and everything works fine, except the jacks for the headset. I have tried different solutions, like blacklisting kernel modules and hdajackretask settings, but the headset is only detected as output, not as input. The interesting part is, that neither the jack of the laptop itelf, nor the jack of the docking station work.

Here the output of inxi -Fazy

System:
  Kernel: 6.12.48-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=421207bf-d97c-4d5c-b2a1-f760834b91fb rw rootflags=subvol=@ quiet
    splash apparmor=1 security=apparmor udev.log_priority=3
  Desktop: i3 v: 4.24 with: i3bar tools: avail: i3lock,light-locker vt: 7
    dm: LightDM v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20NJCTO1WW v: ThinkPad T495
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20NJCTO1WW serial: <superuser required>
    part-nu: LENOVO_MT_20NJ_BU_Think_FM_ThinkPad T495 uuid: <superuser required>
    Firmware: UEFI vendor: LENOVO v: R12ET49W(1.19 ) date: 01/06/2020
Battery:
  ID-1: BAT0 charge: 51.5 Wh (100%) condition: 51.5/50.5 Wh (101.9%)
    volts: 12.7 min: 11.55 model: LGC 02DL007 type: Li-poly serial: <filter>
    charging: status: full control: start: 95% end: 100% cycles: 268
CPU:
  Info: model: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen/Zen+ note: check gen: 1 level: v3 note: check
    built: 2019 process: GF 12nm family: 0x17 (23) model-id: 0x18 (24)
    stepping: 1 microcode: 0x8108102
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB
    desc: 4x512 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1400 min/max: 1400/2100 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1400 2: 1400 3: 1400
    4: 1400 5: 1400 6: 1400 7: 1400 8: 1400 bogomips: 33547
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
    svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: indirect_target_selection status: Not affected
  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: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: Safe RET
  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; STIBP:
    disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsa status: Not affected
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Picasso/Raven 2 [Radeon Vega
    Series / Radeon Mobile Series] vendor: Lenovo driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: DP-4 off: eDP-1 empty: DP-1, DP-2,
    DP-3, DP-5, HDMI-A-1 bus-ID: 06:00.0 chip-ID: 1002:15d8 class-ID: 0300
    temp: 60.0 C
  Device-2: Chicony ThinkPad T490 Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 4-2.1:4 chip-ID: 04f2:b681
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.18 compositor: Picom v: 12.5 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-4 mapped: DisplayPort-3 pos: primary model: Dell S2721DS
    serial: <filter> built: 2021 res: mode: 2560x1440 hz: 60 scale: 100% (1)
    dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 676mm (26.6")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 mapped: eDP note: disabled model: ChiMei InnoLux 0x14f2
    built: 2018 res: 2560x1440 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.3-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Vega 8 Graphics (radeonsi
    raven ACO DRM 3.61 6.12.48-1-MANJARO) device-ID: 1002:15d8 memory: 1.95 GiB
    unified: no
  Info: Tools: api: eglinfo,glxinfo de: xfce4-display-settings
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP
    Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:15de class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
    driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: TEAC TASCAM US-16x08 driver: snd-usb-audio type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4.4.1:9 chip-ID: 0644:8047
    class-ID: 0103 serial: <filter>
  Device-5: Lenovo ThinkPad Dock USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-4.4.4:8 chip-ID: 17ef:306f class-ID: 0300
  API: ALSA v: k6.12.48-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off with: a2jmidid status: off
    tools: cadence,jack_control
  Server-2: PipeWire v: 1.4.8 status: off tools: pw-cat,pw-cli
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: active with:
    1: pulseaudio-alsa type: plugin 2: pulseaudio-jack type: module
    tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 8086:2526 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3400 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0f0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 4-1:2
    chip-ID: 8087:0025 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: N/A
Drives:
  Local Storage: total: 953.87 GiB used: 630.25 GiB (66.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN720
    SDAQNTW-1T00-1001 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 10160101 temp: 44.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 630.25 GiB (66.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 592 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 630.25 GiB (66.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
    used: 630.25 GiB (66.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 62.0 C mobo: N/A gpu: amdgpu temp: 62.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Memory: total: 24 GiB note: est. available: 21.41 GiB used: 2.27 GiB (10.6%)
  Processes: 282 Power: uptime: 40m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 8.55 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 257 default: graphical tool: systemctl
  Packages: 1873 pm: pacman pkgs: 1869 libs: 457 tools: pamac pm: flatpak
    pkgs: 0 pm: snap pkgs: 4 Compilers: clang: 20.1.8 gcc: 15.2.1 Shell: Bash
    v: 5.3.3 running-in: urxvtd inxi: 3.3.40

and pactl list default sources

Quelle #0
	Status: SUSPENDED
	Name: alsa_output.pci-0000_06_00.1.hdmi-stereo.monitor
	Beschreibung: Monitor of Raven/Raven2/Fenghuang HDMI/DP Audio Controller Digital Stereo (HDMI)
	Treiber: module-alsa-card.c
	Abtastwert-Angabe: s32le 2ch 44100Hz
	Kanalzuordnung: front-left,front-right
	Besitzer-Modul: 6
	Stumm: nein
	Lautstärke: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        Verteilung 0,00
	Basis-Lautstärke: 65536 / 100% / 0,00 dB
	Ziel-Monitor: alsa_output.pci-0000_06_00.1.hdmi-stereo
	Latenz: 0 usec, eingestellt 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Eigenschaften:
		device.description = "Monitor of Raven/Raven2/Fenghuang HDMI/DP Audio Controller Digital Stereo (HDMI)"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd05c8000 irq 78"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "15de"
		device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formate:
		pcm

Quelle #1
	Status: SUSPENDED
	Name: alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71.monitor
	Beschreibung: Monitor of TASCAM US-16x08 Analog Surround 7.1
	Treiber: module-alsa-card.c
	Abtastwert-Angabe: s24le 8ch 44100Hz
	Kanalzuordnung: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
	Besitzer-Modul: 7
	Stumm: nein
	Lautstärke: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65536 / 100% / 0,00 dB,   front-center: 65536 / 100% / 0,00 dB,   lfe: 65536 / 100% / 0,00 dB,   side-left: 65536 / 100% / 0,00 dB,   side-right: 65536 / 100% / 0,00 dB
	        Verteilung 0,00
	Basis-Lautstärke: 65536 / 100% / 0,00 dB
	Ziel-Monitor: alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71
	Latenz: 0 usec, eingestellt 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Eigenschaften:
		device.description = "Monitor of TASCAM US-16x08 Analog Surround 7.1"
		device.class = "monitor"
		alsa.card = "3"
		alsa.card_name = "US-16x08"
		alsa.long_card_name = "TASCAM US-16x08 at usb-0000:06:00.3-4.4.1, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:06:00.3-usb-0:4.4.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-4/1-4.4/1-4.4.1/1-4.4.1:1.0/sound/card3"
		udev.id = "usb-TASCAM_US-16x08_no_serial_number-00"
		device.bus = "usb"
		device.vendor.id = "0644"
		device.vendor.name = "TEAC Corp."
		device.product.id = "8047"
		device.product.name = "TASCAM US-16x08"
		device.serial = "TASCAM_US-16x08_no_serial_number"
		device.string = "3"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Formate:
		pcm

Quelle #3
	Status: SUSPENDED
	Name: alsa_input.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo
	Beschreibung: ThinkPad Dock USB Audio Analog Stereo
	Treiber: module-alsa-card.c
	Abtastwert-Angabe: s24le 2ch 44100Hz
	Kanalzuordnung: front-left,front-right
	Besitzer-Modul: 8
	Stumm: nein
	Lautstärke: front-left: 65535 / 100% / -0,00 dB,   front-right: 65535 / 100% / -0,00 dB
	        Verteilung 0,00
	Basis-Lautstärke: 20724 /  32% / -30,00 dB
	Ziel-Monitor: k. A.
	Latenz: 0 usec, eingestellt 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Eigenschaften:
		alsa.resolution_bits = "24"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "ThinkPad Dock USB Audio"
		alsa.long_card_name = "Generic ThinkPad Dock USB Audio at usb-0000:06:00.3-4.4.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:06:00.3-usb-0:4.4.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.0/sound/card2"
		udev.id = "usb-Generic_ThinkPad_Dock_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "17ef"
		device.vendor.name = "Lenovo"
		device.product.id = "306f"
		device.product.name = "ThinkPad Dock USB Audio"
		device.serial = "Generic_ThinkPad_Dock_USB_Audio"
		device.string = "front:2"
		device.buffering.buffer_size = "529200"
		device.buffering.fragment_size = "264600"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "ThinkPad Dock USB Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		analog-input-mic: Mikrofon (Typ: Mikro, Priorität: 8700, Verfügbarkeit unbekannt)
	Aktiver Port: analog-input-mic
	Formate:
		pcm

Quelle #4
	Status: SUSPENDED
	Name: alsa_output.pci-0000_06_00.6.analog-stereo.monitor
	Beschreibung: Monitor of Family 17h/19h/1ah HD Audio Controller Analog Stereo
	Treiber: module-alsa-card.c
	Abtastwert-Angabe: s32le 2ch 44100Hz
	Kanalzuordnung: front-left,front-right
	Besitzer-Modul: 9
	Stumm: nein
	Lautstärke: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        Verteilung 0,00
	Basis-Lautstärke: 65536 / 100% / 0,00 dB
	Ziel-Monitor: alsa_output.pci-0000_06_00.6.analog-stereo
	Latenz: 0 usec, eingestellt 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Eigenschaften:
		device.description = "Monitor of Family 17h/19h/1ah HD Audio Controller Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 79"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h/19h/1ah HD Audio Controller"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formate:
		pcm

Quelle #5
	Status: SUSPENDED
	Name: alsa_input.pci-0000_06_00.6.analog-stereo
	Beschreibung: Family 17h/19h/1ah HD Audio Controller Analog Stereo
	Treiber: module-alsa-card.c
	Abtastwert-Angabe: s32le 2ch 44100Hz
	Kanalzuordnung: front-left,front-right
	Besitzer-Modul: 9
	Stumm: nein
	Lautstärke: front-left: 20726 /  32% / -30,00 dB,   front-right: 20726 /  32% / -30,00 dB
	        Verteilung 0,00
	Basis-Lautstärke: 6554 /  10% / -60,00 dB
	Ziel-Monitor: k. A.
	Latenz: 0 usec, eingestellt 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Eigenschaften:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC257 Analog"
		alsa.id = "ALC257 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 79"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h/19h/1ah HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "1411328"
		device.buffering.fragment_size = "705664"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h/19h/1ah HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-input-internal-mic: Internes Mikrofon (Typ: Mikro, Priorität: 8900, Verfügbarkeit unbekannt)
		analog-input-mic: Mikrofon (Typ: Mikro, Priorität: 8700, nicht verfügbar)
	Aktiver Port: analog-input-mic
	Formate:
		pcm

Let me know if you need any further information.

Edit

Another weird thing is, that if I choose Microphone (unplugged) in pavucontrol, it still displays the capture of the internal mic. I was able to change this behaviour by using hdajackretask, but then the mic is always shown as plugged and there is no sound captured at all.

Welcome to Manjaro forum @kunerd

Please post more information about PulseAudio card profiles

pactl list cards

and PulseAudio configuration

pacmd dump

If hdajackretask is installed, use hdajacksensetest to check microphone jack-detection
for laptop

sudo hdajacksensetest --card=1

and USB dock

sudo hdajacksensetest --card=3

[EDIT: hdajacksensetest works for internal devices using snd_hda_intel driver, but does not work for USB devices using snd_usb_audio driver]

Thanks for your help.
Here the output from pactl list cards`

Karte #0
	Name: alsa_card.pci-0000_06_00.1
	Treiber: module-alsa-card.c
	Owner-Modul: 6
	Eigenschaften:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd05c8000 irq 78"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "15de"
		device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.string = "0"
		device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profile:
		output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 38668, verfügbar: ja)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 5700, verfügbar: nein)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 600, verfügbar: nein)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 600, verfügbar: nein)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 5700, verfügbar: nein)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 600, verfügbar: nein)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 600, verfügbar: nein)
		off: Aus (Ziele: 0, Quellen: 0, Priorität: 0, verfügbar: ja)
	Aktives Profil: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (Typ: HDMI, Priorität: 5900, Latenzversatz: 0 usec, verfügbar)
			Eigenschaften:
				device.icon_name = "video-display"
				device.product.name = "DELL S2721DS"
			Teil der/des Profil(s): output:hdmi-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (Typ: HDMI, Priorität: 5800, Latenzversatz: 0 usec, nicht verfügbar)
			Eigenschaften:
				device.icon_name = "video-display"
			Teil der/des Profil(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (Typ: HDMI, Priorität: 5700, Latenzversatz: 0 usec, nicht verfügbar)
			Eigenschaften:
				device.icon_name = "video-display"
			Teil der/des Profil(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Karte #1
	Name: alsa_card.usb-TASCAM_US-16x08_no_serial_number-00
	Treiber: module-alsa-card.c
	Owner-Modul: 7
	Eigenschaften:
		alsa.card = "3"
		alsa.card_name = "US-16x08"
		alsa.long_card_name = "TASCAM US-16x08 at usb-0000:06:00.3-4.4.1, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:06:00.3-usb-0:4.4.1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-4/1-4.4/1-4.4.1/1-4.4.1:1.0/sound/card3"
		udev.id = "usb-TASCAM_US-16x08_no_serial_number-00"
		device.bus = "usb"
		device.vendor.id = "0644"
		device.vendor.name = "TEAC Corp."
		device.product.id = "8047"
		device.product.name = "TASCAM US-16x08"
		device.serial = "TASCAM_US-16x08_no_serial_number"
		device.string = "3"
		device.description = "TASCAM US-16x08"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profile:
		input:multichannel-input: Mehrkanal-Eingabe (Ziele: 0, Quellen: 1, Priorität: 1, verfügbar: ja)
		output:analog-surround-71: Analog Surround 7.1-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 1200, verfügbar: ja)
		output:analog-surround-71+input:multichannel-input: Analog Surround 7.1-Ausgabe + Mehrkanal-Eingabe (Ziele: 1, Quellen: 1, Priorität: 1201, verfügbar: ja)
		off: Aus (Ziele: 0, Quellen: 0, Priorität: 0, verfügbar: ja)
	Aktives Profil: output:analog-surround-71+input:multichannel-input
	Ports:
		analog-output: Analoge Ausgabe (Typ: Analog, Priorität: 9900, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Teil der/des Profil(s): output:analog-surround-71, output:analog-surround-71+input:multichannel-input

Karte #2
	Name: alsa_card.usb-Generic_ThinkPad_Dock_USB_Audio-00
	Treiber: module-alsa-card.c
	Owner-Modul: 8
	Eigenschaften:
		alsa.card = "2"
		alsa.card_name = "ThinkPad Dock USB Audio"
		alsa.long_card_name = "Generic ThinkPad Dock USB Audio at usb-0000:06:00.3-4.4.4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:06:00.3-usb-0:4.4.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-4/1-4.4/1-4.4.4/1-4.4.4:1.0/sound/card2"
		udev.id = "usb-Generic_ThinkPad_Dock_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "17ef"
		device.vendor.name = "Lenovo"
		device.product.id = "306f"
		device.product.name = "ThinkPad Dock USB Audio"
		device.serial = "Generic_ThinkPad_Dock_USB_Audio"
		device.string = "2"
		device.description = "ThinkPad Dock USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profile:
		input:analog-stereo: Analog Stereo-Eingabe (Ziele: 0, Quellen: 1, Priorität: 65, verfügbar: ja)
		input:iec958-stereo: Digital Stereo (IEC958)-Eingabe (Ziele: 0, Quellen: 1, Priorität: 55, verfügbar: ja)
		output:analog-stereo: Analog Stereo-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 6500, verfügbar: ja)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (Ziele: 1, Quellen: 1, Priorität: 6565, verfügbar: ja)
		output:analog-stereo+input:iec958-stereo: Analog Stereo-Ausgabe + Digital Stereo (IEC958)-Eingabe (Ziele: 1, Quellen: 1, Priorität: 6555, verfügbar: ja)
		output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 5500, verfügbar: ja)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)-Ausgabe + Analog Stereo-Eingabe (Ziele: 1, Quellen: 1, Priorität: 5565, verfügbar: ja)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (Ziele: 1, Quellen: 1, Priorität: 5555, verfügbar: ja)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3)-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 300, verfügbar: ja)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3)-Ausgabe + Analog Stereo-Eingabe (Ziele: 1, Quellen: 1, Priorität: 365, verfügbar: ja)
		output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3)-Ausgabe + Digital Stereo (IEC958)-Eingabe (Ziele: 1, Quellen: 1, Priorität: 355, verfügbar: ja)
		off: Aus (Ziele: 0, Quellen: 0, Priorität: 0, verfügbar: ja)
	Aktives Profil: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-mic: Mikrofon (Typ: Mikro, Priorität: 8700, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Eigenschaften:
				device.icon_name = "audio-input-microphone"
			Teil der/des Profil(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		iec958-stereo-input: Digitaleingang (S/PDIF) (Typ: SPDIF, Priorität: 0, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Teil der/des Profil(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
		analog-output: Analoge Ausgabe (Typ: Analog, Priorität: 9900, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Teil der/des Profil(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
		iec958-stereo-output: Digitalausgang (S/PDIF) (Typ: SPDIF, Priorität: 0, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Teil der/des Profil(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Karte #3
	Name: alsa_card.pci-0000_06_00.6
	Treiber: module-alsa-card.c
	Owner-Modul: 9
	Eigenschaften:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd05c0000 irq 79"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:06:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h/19h/1ah HD Audio Controller"
		device.string = "1"
		device.description = "Family 17h/19h/1ah HD Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profile:
		input:analog-stereo: Analog Stereo-Eingabe (Ziele: 0, Quellen: 1, Priorität: 32833, verfügbar: ja)
		output:analog-stereo: Analog Stereo-Ausgabe (Ziele: 1, Quellen: 0, Priorität: 39268, verfügbar: ja)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (Ziele: 1, Quellen: 1, Priorität: 39333, verfügbar: ja)
		off: Aus (Ziele: 0, Quellen: 0, Priorität: 0, verfügbar: ja)
	Aktives Profil: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-internal-mic: Internes Mikrofon (Typ: Mikro, Priorität: 8900, Latenzversatz: 0 usec, Verfügbarkeit unbekannt)
			Eigenschaften:
				device.icon_name = "audio-input-microphone"
			Teil der/des Profil(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-input-mic: Mikrofon (Typ: Mikro, Priorität: 8700, Latenzversatz: 0 usec, nicht verfügbar)
			Eigenschaften:
				device.icon_name = "audio-input-microphone"
			Teil der/des Profil(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-speaker: Lautsprecher (Typ: Lautsprecher, Priorität: 10000, Latenzversatz: 0 usec, nicht verfügbar)
			Eigenschaften:
				device.icon_name = "audio-speakers"
			Teil der/des Profil(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Kopfhörer (Typ: Kopfhörer, Priorität: 9900, Latenzversatz: 0 usec, verfügbar)
			Eigenschaften:
				device.icon_name = "audio-headphones"
			Teil der/des Profil(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

and here: pacmd dump

### Configuration dump generated at Fri Dec  5 23:33:02 2025

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_06_00.1" card_name="alsa_card.pci-0000_06_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="3" name="usb-TASCAM_US-16x08_no_serial_number-00" card_name="alsa_card.usb-TASCAM_US-16x08_no_serial_number-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="2" name="usb-Generic_ThinkPad_Dock_USB_Audio-00" card_name="alsa_card.usb-Generic_ThinkPad_Dock_USB_Audio-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_06_00.6" card_name="alsa_card.pci-0000_06_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_06_00.1.hdmi-stereo 0x10000
set-sink-mute alsa_output.pci-0000_06_00.1.hdmi-stereo no
suspend-sink alsa_output.pci-0000_06_00.1.hdmi-stereo yes
set-sink-volume alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71 0x10000
set-sink-mute alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71 no
suspend-sink alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71 yes
set-sink-volume alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo 0x10494
set-sink-mute alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo no
suspend-sink alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo yes
set-sink-volume alsa_output.pci-0000_06_00.6.analog-stereo 0x9bb0
set-sink-mute alsa_output.pci-0000_06_00.6.analog-stereo no
suspend-sink alsa_output.pci-0000_06_00.6.analog-stereo yes

set-source-volume alsa_output.pci-0000_06_00.1.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_06_00.1.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_06_00.1.hdmi-stereo.monitor yes
set-source-volume alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71.monitor 0x10000
set-source-mute alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71.monitor no
suspend-source alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71.monitor yes
set-source-volume alsa_input.usb-TASCAM_US-16x08_no_serial_number-00.multichannel-input 0x10000
set-source-mute alsa_input.usb-TASCAM_US-16x08_no_serial_number-00.multichannel-input no
suspend-source alsa_input.usb-TASCAM_US-16x08_no_serial_number-00.multichannel-input yes
set-source-volume alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo.monitor 0x10000
set-source-mute alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo.monitor no
suspend-source alsa_output.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo.monitor yes
set-source-volume alsa_input.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo 0xffff
set-source-mute alsa_input.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo no
suspend-source alsa_input.usb-Generic_ThinkPad_Dock_USB_Audio-00.analog-stereo yes
set-source-volume alsa_output.pci-0000_06_00.6.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_06_00.6.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_06_00.6.analog-stereo.monitor yes
set-source-volume alsa_input.pci-0000_06_00.6.analog-stereo 0x76d5
set-source-mute alsa_input.pci-0000_06_00.6.analog-stereo no
suspend-source alsa_input.pci-0000_06_00.6.analog-stereo yes

set-card-profile alsa_card.pci-0000_06_00.1 output:hdmi-stereo
set-card-profile alsa_card.usb-TASCAM_US-16x08_no_serial_number-00 output:analog-surround-71+input:multichannel-input
set-card-profile alsa_card.usb-Generic_ThinkPad_Dock_USB_Audio-00 output:analog-stereo+input:analog-stereo
set-card-profile alsa_card.pci-0000_06_00.6 output:analog-stereo+input:analog-stereo

set-default-sink alsa_output.usb-TASCAM_US-16x08_no_serial_number-00.analog-surround-71
set-default-source alsa_input.pci-0000_06_00.6.analog-stereo

### EOF

sudo hdajacksensetest --card=1:

Pin 0x19 (Black Mic, Right side): present = No
Pin 0x21 (Black Headphone, Right side): present = Yes

sudo hdajacksensetest --card=3 gives:

No pins found for card 3 codec 0, did you pick the right one?

BTW, I also tried the latest LinuxMint live system and there, in pavucontrol, the headset mic is also listed as unplugged.

hdajacksensetest shows headset jack socket can detect headphones when they are plugged in but not the microphone

Pin 0x19 (Black Mic, Right side): present = No
Pin 0x21 (Black Headphone, Right side): present = Yes

To disable jack detection for microphone input, Run hdajackretask with root privileges:

sudo hdajackretask

Select Realtek onboard audio device from the drop-down list

Enable Advanced override option

Enable Override option for Black Mic, Right side (Pin 0x19)

Change Jack Detection to Not Present

Click Install boot override

Reboot system to reload ALSA with boot override

2 Likes

Thank you for taking the time. After following your instructions the mic isn’t shown as unplugged anymore and when selected in pavucontrol it doesn’t show the signal of the internal mic as it did before. Only problem now is, it doesn’t capture any signal at all does capture only white noise.

Yesterday, I was fiddling around with the parser hints in hdajackretask and for a single time after a reboot the mic was shown as plugged in and worked as expected. But, this was not reproducible by any means, after plugging out and back in, it didn’t work and even rebooting didn’t bring it back.
BTW: I have reset the parser hints to their defaults before applying the changes you suggested.

I have seen that there are some firmware updates for my hardware, maybe they will fix the problem. I will report back.

update
Unfortunately, updating the firmware didn’t help so far.

After further digging I found this:

and after setting the model for the second (non HDMI) card to dell-headset-multi as suggested, at least the detection of the headset (output + mic) works correctly. But, unfortunately it still doesn’t capture any signal.

If microphone was shown as plugged in after using a parser hint, it was probably either
add_hp_mic or hp_mic_detect

More Notes on HD-Audio Driver - Hint strings — The Linux Kernel documentation

if hdajackretask is used to change internal configuration of audio codec, ALSA mixer settings are probably reset to default

check ALSA mixer playback and capture settings

sudo alsamixer --card=1 --view=all

or

amixer --card=1