Earphones not recognised sometimes (KDE)

My earphones are not recognised sometimes. After I unplug and plug them in again, they work. Once recognised, they work perfectly without any issues. This happens randomly, sometimes they are recognised on the first try, sometimes not. I know that this is not a hardware problem since the earphones are always recognised on the first try on the same machine on Windows 10.

System: Manjaro 21.0.5 Ornara, Kernel: 5.12.2-1-MANJARO

Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard 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.12.2-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.28 running: no

Do you mean at boot time or they disappear after a while?

Also, the full output of an inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command).

:thinking:

At boot time as well as when I plug in after login.
I’ve updated the system after I posted the original post.

Output of inxi --admin --verbosity=7 --filter --no-host --width:

System:
  Kernel: 5.12.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 
  root=UUID=34f56dbc-d37a-403b-b26a-0e6de7753689 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: HP product: HP Laptop 15-bs1xx v: Type1ProductConfigId 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 832A v: 23.70 serial: <filter> UEFI-[Legacy]: Insyde v: F.52 
  date: 03/04/2019 
Battery:
  ID-1: BAT1 charge: 34.7 Wh (95.1%) condition: 36.5/32.1 Wh (113.5%) 
  volts: 16.3 min: 14.6 model: Hewlett-Packard PABAS0241231 type: Li-ion 
  serial: <filter> status: Unknown 
Memory:
  RAM: total: 7.69 GiB used: 2.13 GiB (27.7%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10) 
  microcode: E0 cache: L2: 6 MiB bogomips: 28808 
  Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 800 7: 800 8: 800 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  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: 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 generic retpoline, 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: Hewlett-Packard driver: i915 
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300 
  Device-2: Sunplus Innovation HP TrueVision HD Camera type: USB 
  driver: uvcvideo bus-ID: 1-5:5 chip-ID: 1bcf:2c9b class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: intel 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: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") 
  diag: 389mm (15.3") 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.1.2 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard 
  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.12.8-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.28 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus-ID: 01:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard 
  driver: rtw_8723de v: N/A modules: rtw88_8723de port: 3000 bus-ID: 02:00.0 
  chip-ID: 10ec:d723 class-ID: 0280 
  IF: wlo1 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb 
  v: 0.8 bus-ID: 1-4:3 chip-ID: 0bda:b009 class-ID: e001 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 931.51 GiB used: 294.29 GiB (31.6%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1C scheme: MBR 
  Optical-1: /dev/sr0 vendor: hp model: DVDRW GUE1N rev: UE00 dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 276.84 GiB size: 271.5 GiB (98.07%) 
  used: 113.11 GiB (41.7%) fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A 
  uuid: 34f56dbc-d37a-403b-b26a-0e6de7753689 
  ID-2: /run/media/apoorv/Apoorv Drive raw-size: 279.17 GiB 
  size: 279.17 GiB (100.00%) used: 181.18 GiB (64.9%) fs: ntfs dev: /dev/sda4 
  maj-min: 8:4 label: Apoorv Drive uuid: 8C5442D35442C026 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 579 MiB fs: ntfs label: System Reserved 
  uuid: 684633204632EF06 
  ID-2: /dev/sda2 maj-min: 8:2 size: 374.43 GiB fs: ntfs label: N/A 
  uuid: D4304A71304A5B1E 
  ID-3: /dev/sda3 maj-min: 8:3 size: 1 KiB fs: <superuser required> label: N/A 
  uuid: N/A 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse 
  driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c534 class-ID: 0301 
  Device-2: 1-4:3 info: Realtek Realtek Bluetooth 4.2 Adapter type: Bluetooth 
  driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA 
  chip-ID: 0bda:b009 class-ID: e001 serial: <filter> 
  Device-3: 1-5:5 info: Sunplus Innovation HP TrueVision HD Camera type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 1bcf:2c9b class-ID: 0e02 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 41.0 C mobo: 29.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 285 Uptime: 46m wakeups: 11 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 11.1.0 Packages: pacman: 1450 lib: 421 flatpak: 0 
  Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.04

Have you tried 5.10 LTS and 5.4 LTS already instead of 5.12 Stable?

I can’t see any headset in the inxi output. What kind of earphone / headset / … are you using and where they plugged in at the time you performed the inxi

:thinking: