Need help with laptop built-in sound and microphone

I’ve been using Endeavour on a P1 Gen 3 (type 20TH, 20TJ ) Laptop (ThinkPad) - Type 20TJ for about a month now.

Ports info

Ports: 1x Mini Ethernet Connector (Convert RJ-45 by dongle); 2 USB 3.2 Gen 1 (Type A); DC-In; Smart Card Reader (Select Models); Headphone & Microphone combo Jack 3.5mm; FingerPrint Reader; Docking via Mobile Workstation Cable Dock; 2 Thunderbolt 3 (USB-C/DP/PD); HDMI 2.0; 4-in-1 Media Card Reader
Graphics: 1x NVIDIA® T1000 4GB

All this time, my built-in speakers and microphone have not worked. I have external speakers connection to my usb-c dock with 3.5mm jack. For my mic I’m currently using the mic of my wired earbuds that are connected to the laptop’s 3.5mm jack port.

The built-in speakers and mic worked fine on windows. Now, the speakers and mic do not show up in the KDE plasma sound panel.

inxi -Fxxc0z
System:
  Kernel: 6.6.52-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20TJS02U00 v: ThinkPad P1 Gen 3
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20TJS02U00 v: 0B98417 WIN serial: <superuser required>
    part-nu: LENOVO_MT_20TJ_BU_Think_FM_ThinkPad P1 Gen 3 UEFI: LENOVO
    v: N2VET48W (1.33 ) date: 06/07/2024
Battery:
  ID-1: BAT0 charge: 46.7 Wh (61.0%) condition: 76.6/80.0 Wh (95.7%)
    volts: 15.7 min: 15.4 model: Celxpert 5B10X19050 serial: <filter>
    status: not charging
  Device-1: hid-CC2048200CGJ5R9A1-battery model: Apple Inc. Magic Trackpad 2
    serial: N/A charge: N/A status: discharging
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 800 high: 804 min/max: 800/5000 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 801 8: 800 9: 800 10: 800 11: 800 12: 804
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU117GLM [Quadro T1000 Mobile] vendor: Lenovo
    driver: nvidia v: 560.35.03 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-1, DP-3, HDMI-A-1, eDP-1 empty: DP-2
    bus-ID: 01:00.0 chip-ID: 10de:1fb9
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 13d3:56bb
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7920x4320 s-dpi: 78
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,3-2
    model: LG (GoldStar) ULTRAFINE res: 3840x2160 dpi: 140 diag: 806mm (31.7")
  Monitor-2: not-matched mapped: DP-1.2 pos: 2-3 res: 2160x3840 dpi: 140
    diag: 800mm (31.48")
  Monitor-3: not-matched mapped: DP-2 pos: 4-1 res: 1920x1080 dpi: 142
    diag: 395mm (15.55")
  Monitor-4: not-matched mapped: HDMI-0 pos: 1-2 res: 3840x2160 dpi: 140
    diag: 800mm (31.48")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: Quadro T1000 with Max-Q
    Design/PCIe/SSE2
  API: Vulkan v: 1.3.295 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1fb9
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-3: Realtek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 5-1.3.4:5
    chip-ID: 0bda:49a7
  API: ALSA v: k6.6.52-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 bus-ID: 6-1.3.3:4 chip-ID: 0bda:8153
  IF: enp47s0u1u3u3 state: down mac: <filter>
  IF-ID-1: br-ceb775794c7c state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:7 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 3 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 2.29 TiB used: 237.67 GiB (10.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 47.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVLB512HBJQ-000L7
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 27.9 C
Partition:
  ID-1: / size: 896.54 GiB used: 232.22 GiB (25.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 1022 MiB used: 588 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 896.54 GiB used: 232.22 GiB (25.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-4: /var/log size: 896.54 GiB used: 232.22 GiB (25.9%) fs: btrfs
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 68.93 GiB used: 5.45 GiB (7.9%)
    priority: -2 dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A gpu: nvidia temp: 49 C
  Fan Speeds (rpm): fan-1: 3462 fan-2: 3106
Info:
  Memory: total: 64 GiB note: est. available: 62.66 GiB
    used: 17.01 GiB (27.1%)
  Processes: 466 Power: uptime: 5h 54m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1208 Compilers: clang: 18.1.8 gcc: 14.2.1
    Shell: fish v: 3.7.1 running-in: kitty inxi: 3.3.35

Could someone point me in the right direction regarding what I should do here? Thanks in advance!

What happens if you take the dock out of the equation?

Thanks for your reply!

I tested without the dock, but it didn’t make a difference. What did help though, was unplugging the headphones that are connected via the laptop’s 3.5mm jack.

Hub disconnected:

inxi -Fxxc0z
System:
  Kernel: 6.6.52-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20TJS02U00 v: ThinkPad P1 Gen 3
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20TJS02U00 v: 0B98417 WIN serial: <superuser required>
    part-nu: LENOVO_MT_20TJ_BU_Think_FM_ThinkPad P1 Gen 3 UEFI: LENOVO
    v: N2VET48W (1.33 ) date: 06/07/2024
Battery:
  ID-1: BAT0 charge: 46.7 Wh (61.0%) condition: 76.6/80.0 Wh (95.7%)
    volts: 15.7 min: 15.4 model: Celxpert 5B10X19050 serial: <filter>
    status: not charging
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 800/5000 cores: 1: 800 2: 800
    3: 800 4: 801 5: 800 6: 800 7: 800 8: 801 9: 800 10: 800 11: 800 12: 800
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU117GLM [Quadro T1000 Mobile] vendor: Lenovo
    driver: nvidia v: 560.35.03 arch: Turing pcie: speed: 5 GT/s lanes: 16
    ports: active: none off: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 01:00.0
    chip-ID: 10de:1fb9
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 13d3:56bb
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 137
  Monitor-1: not-matched mapped: DP-2 pos: primary,left res: 1920x1080
    dpi: 142 diag: 395mm (15.55")
  Monitor-2: not-matched mapped: HDMI-0 pos: right res: 3840x2160 dpi: 140
    diag: 800mm (31.48")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: Quadro T1000 with Max-Q
    Design/PCIe/SSE2
  API: Vulkan v: 1.3.295 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1fb9
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  API: ALSA v: k6.6.52-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: br-ceb775794c7c state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:6 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 2.29 TiB used: 232.73 GiB (9.9%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVLB512HBJQ-000L7
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
Partition:
  ID-1: / size: 896.54 GiB used: 232.71 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 1022 MiB used: 588 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 896.54 GiB used: 232.71 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-4: /var/log size: 896.54 GiB used: 232.71 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 68.93 GiB used: 23 MiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 43 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.66 GiB used: 6.8 GiB (10.9%)
  Processes: 389 Power: uptime: 14m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1208 Compilers: clang: 18.1.8 gcc: 14.2.1
    Shell: fish v: 3.7.1 running-in: kitty inxi: 3.3.35

Headphones disconnected:

inxi -Fxxc0z
System:
  Kernel: 6.6.52-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20TJS02U00 v: ThinkPad P1 Gen 3
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20TJS02U00 v: 0B98417 WIN serial: <superuser required>
    part-nu: LENOVO_MT_20TJ_BU_Think_FM_ThinkPad P1 Gen 3 UEFI: LENOVO
    v: N2VET48W (1.33 ) date: 06/07/2024
Battery:
  ID-1: BAT0 charge: 46.7 Wh (61.0%) condition: 76.6/80.0 Wh (95.7%)
    volts: 15.7 min: 15.4 model: Celxpert 5B10X19050 serial: <filter>
    status: not charging
  Device-1: hid-CC2048200CGJ5R9A1-battery model: Apple Inc. Magic Trackpad 2
    serial: N/A charge: N/A status: discharging
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 804 high: 824 min/max: 800/5000 cores: 1: 808 2: 800
    3: 800 4: 824 5: 800 6: 800 7: 800 8: 800 9: 819 10: 800 11: 800 12: 800
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU117GLM [Quadro T1000 Mobile] vendor: Lenovo
    driver: nvidia v: 560.35.03 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-1, DP-3, HDMI-A-1, eDP-1 empty: DP-2
    bus-ID: 01:00.0 chip-ID: 10de:1fb9
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 13d3:56bb
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7920x4320 s-dpi: 78
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,3-2
    model: LG (GoldStar) ULTRAFINE res: 3840x2160 dpi: 140 diag: 806mm (31.7")
  Monitor-2: not-matched mapped: DP-1.2 pos: 2-3 res: 2160x3840 dpi: 140
    diag: 800mm (31.48")
  Monitor-3: not-matched mapped: DP-2 pos: 4-1 res: 1920x1080 dpi: 142
    diag: 395mm (15.55")
  Monitor-4: not-matched mapped: HDMI-0 pos: 1-2 res: 3840x2160 dpi: 140
    diag: 800mm (31.48")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: Quadro T1000 with Max-Q
    Design/PCIe/SSE2
  API: Vulkan v: 1.3.295 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:1fb9
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-3: Realtek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-1.3.4:5
    chip-ID: 0bda:49a7
  API: ALSA v: k6.6.52-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 bus-ID: 4-1.3.3:4 chip-ID: 0bda:8153
  IF: enp9s0u1u3u3 state: down mac: <filter>
  IF-ID-1: br-ceb775794c7c state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:6 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 2.29 TiB used: 232.73 GiB (9.9%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 47.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVLB512HBJQ-000L7
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 47.9 C
Partition:
  ID-1: / size: 896.54 GiB used: 232.73 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 1022 MiB used: 588 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 896.54 GiB used: 232.73 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-4: /var/log size: 896.54 GiB used: 232.73 GiB (26.0%) fs: btrfs
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 68.93 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 49.0 C pch: 72.0 C mobo: N/A gpu: nvidia
    temp: 50 C
  Fan Speeds (rpm): fan-1: 3460 fan-2: 3109
Info:
  Memory: total: 64 GiB note: est. available: 62.66 GiB used: 6.04 GiB (9.6%)
  Processes: 403 Power: uptime: 2m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1208 Compilers: clang: 18.1.8 gcc: 14.2.1
    Shell: fish v: 3.7.1 running-in: kitty inxi: 3.3.35

Given that the speakers do work when the headphones are unplugged, is there a way I can also use them while they’re plugged in? I was able to do this on windows.

Thought it was general accepted behavior that plugging headphones in muted the speakers? Does on all my machines, Linux and windows.

Plugging in my headphones on windows just switches to that output, but I can freely switch back to built-in speakers if I want to; the speaker output option does not disappear.

So is this expected behaviour on Linux then?