Audio stutters and random disconnects on Kefine Klean Iems

Hello I have been trying to get my iems to work under nixos and I have tried the following.

  • enabling all firmwares through hardware.enableAllFirmware = true;
  • updating to the newest kernel version using boot.kernelPackages = pkgs.linuxPackages_latest;

they keep making weird noises and after a while(a few seconds/minutes) the audio just stops. and I have to unplug and plug it in again.

using journalctl --follow when plugging in my iems gives the following logs.

Nov 05 16:20:45 nixos kernel: usb 1-6: new high-speed USB device number 11 using xhci_hcd
Nov 05 16:20:46 nixos kernel: usb 1-6: New USB device found, idVendor=31b2, idProduct=1132, bcdDevice= 1.00
Nov 05 16:20:46 nixos kernel: usb 1-6: New USB device strings: Mfr=1, Product=3, SerialNumber=2
Nov 05 16:20:46 nixos kernel: usb 1-6: Product: KEFINE
Nov 05 16:20:46 nixos kernel: usb 1-6: Manufacturer: – KTMicro –
Nov 05 16:20:46 nixos kernel: usb 1-6: SerialNumber: 2025-05-12-0000-0000-0000
Nov 05 16:20:46 nixos kernel: input: – KTMicro – KEFINE as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3/0003:31B2:1132.000B/input/input32
Nov 05 16:20:46 nixos kernel: hid-generic 0003:31B2:1132.000B: input,hidraw4: USB HID v1.10 Device [-- KTMicro – KEFINE] on usb-0000:00:14.0-6/input3
Nov 05 16:20:46 nixos mtp-probe[3544]: checking bus 1, device 11: “/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6”
Nov 05 16:20:46 nixos mtp-probe[3544]: bus: 1, device: 11 was not an MTP device
Nov 05 16:20:46 nixos mtp-probe[3553]: checking bus 1, device 11: “/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6”
Nov 05 16:20:46 nixos mtp-probe[3553]: bus: 1, device: 11 was not an MTP device
Nov 05 16:20:50 nixos /nix/store/0fqc7dkfmbn9siy62ajqznmr8mxr2dij-xdg-desktop-portal-1.22.1/libexec/xdg-desktop-portal[1316]: A backend call failed: Inhibiting other than idle not supported
Nov 05 16:20:53 nixos systemd[926]: Started app-niri-sh-3558.scope.
Nov 05 16:20:54 nixos systemd[926]: Started app-niri-sh-3566.scope.
Nov 05 16:21:08 nixos systemd[926]: Started app-niri-sh-3573.scope.
Nov 05 16:21:08 nixos systemd[926]: Started app-niri-sh-3580.scope.

the xdg portal errors appear when playing/pausing my music in the gapless music player and the niri related logs appear whenever I increase/decrease my volume. I doubt their relevance to my problem but I included them anyway.

1 Like