USB Headset disconnecting randomly

System:
Kernel: 5.19.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d84d1289-1918-4cb8-b260-dc86d66875da rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7A38 v: 2.0
serial: <superuser required>
Mobo: Micro-Star model: B350M PRO-VDH (MS-7A38) v: 2.0
serial: <superuser required> UEFI: American Megatrends v: A.E0
date: 09/21/2018
CPU:
Info: model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen
built: 2017-19 process: GF 14nm family: 0x17 (23) model-id: 1 stepping: 1
microcode: 0x8001137
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB
L3: 8 MiB desc: 2x4 MiB
Speed (MHz): avg: 3078 high: 3379 min/max: N/A cores: 1: 2722 2: 2805
3: 3309 4: 2956 5: 3110 6: 3240 7: 3103 8: 3379 bogomips: 54398
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
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: retbleed mitigation: untrained return thunk; SMT vulnerable
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
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: eVga.com.
driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-07) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 1f:00.0 chip-ID: 10de:1c02 class-ID: 0300
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
s-diag: 610mm (24")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2 v: 4.6.0 NVIDIA
515.65.01 direct render: Yes
Audio:
Device-1: NVIDIA GP106 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel bus-ID: 3-3.1.3:19 v: kernel pcie: chip-ID: 1532:0521
gen: 3 class-ID: 0300 speed: 8 GT/s serial: <filter> lanes: 16
bus-ID: 1f:00.1 chip-ID: 10de:10f1 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 21:00.3 chip-ID: 1022:1457 class-ID: 0403
Device-3: Razer USA Kraken Kitty Edition type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.19.1-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 1b:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp27s0 state: down mac: <filter>
Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 1d:00.0 chip-ID: 8086:24f3 class-ID: 0280
IF: wlp29s0 state: up mac: <filter>
Drives:
Local Storage: total: 1.02 TiB used: 863.53 GiB (82.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Silicon Power model: SPCC Solid State
Disk size: 111.79 GiB block-size: physical: 512 B logical: 512 B
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 21.1 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD10EZEX-08WN4A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
rev: 1A01 scheme: GPT
Partition:
ID-1: / raw-size: 111.49 GiB size: 111.49 GiB (100.00%) used: 58.99 GiB
(52.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 576 KiB
(0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 111.49 GiB size: 111.49 GiB (100.00%) used: 58.99
GiB (52.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 111.49 GiB size: 111.49 GiB (100.00%) used: 58.99
GiB (52.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 111.49 GiB size: 111.49 GiB (100.00%) used: 58.99
GiB (52.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.57 GiB used: 259.8 MiB (1.6%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 41.0 C mobo: 43.5 C
Fan Speeds (RPM): fan-1: 0 fan-2: 1931 fan-3: 1231 fan-4: 864 fan-5: 0
Power: 12v: N/A 5v: N/A 3.3v: 3.39 vbat: 3.25
Info:
Processes: 320 Uptime: 2h 2m wakeups: 0 Memory: 15.57 GiB used: 6.24 GiB
(40.1%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.1.1 clang: 14.0.6 Packages: pacman: 2129 lib: 641
Shell: fish v: 3.5.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.20
Garuda (2.6.6-1):
System install date:     2022-08-05
Last full system update: 2022-08-16
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service

Hello, I have a USB Headset (Razer Kraken), and it often will suddenly disconnect and sometimes reconnect all by itself. The issue only happens when there is something being outputted to the device. I really have no clue what I'm doing so if I could get some help that would be great because sometimes the headset is just completely unuseable. Here is the output from running dmesg when the headset disconnects (nothing of relevance came before). Thank you for your help and I hope this is under the right topic.

[ 7028.746077] usb 3-3.1.3: USB disconnect, device number 17
[ 7030.457742] usb 3-3.1.3: new full-speed USB device number 18 using xhci_hcd
[ 7030.753529] usb 3-3.1.3: New USB device found, idVendor=1532, idProduct=0521, bcdDevice= 0.70
[ 7030.753535] usb 3-3.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7030.753537] usb 3-3.1.3: Product: Razer Kraken Kitty Edition
[ 7030.753539] usb 3-3.1.3: Manufacturer: Razer
[ 7030.753540] usb 3-3.1.3: SerialNumber: 00000000
[ 7031.095005] input: Razer Razer Kraken Kitty Edition Consumer Control as /devices/pci0000:00/0000:00:07.1/0000:20
:00.3/usb3/3-3/3-3.1/3-3.1.3/3-3.1.3:1.3/0003:1532:0521.0014/input/input48
[ 7031.146865] input: Razer Razer Kraken Kitty Edition as /devices/pci0000:00/0000:00:07.1/0000:20:00.3/usb3/3-3/3-
3.1/3-3.1.3/3-3.1.3:1.3/0003:1532:0521.0014/input/input49
[ 7031.147055] hid-generic 0003:1532:0521.0014: input,hiddev98,hidraw8: USB HID v1.11 Device [Razer Razer Kraken Ki
tty Edition] on usb-0000:20:00.3-3.1.3/input3
[ 7031.464615] usb 3-3.1.3: 1:1: cannot get freq at ep 0x81
[ 7031.560751] usb 3-3.1.3: 2:1: cannot get freq at ep 0x1
[ 7031.592617] usb 3-3.1.3: 1:1: cannot get freq at ep 0x81
[ 7055.848367] kauditd_printk_skb: 44 callbacks suppressed
[ 7055.848369] audit: type=1101 audit(1660702449.531:278): pid=27071 uid=1000 auid=1000 ses=2 msg='op=PAM:accountin
g grantors=pam_unix,pam_permit,pam_time acct="marceline" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0
res=success'
[ 7055.848486] audit: type=1110 audit(1660702449.531:279): pid=27071 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred g
rantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/de
v/pts/0 res=success'
[ 7055.850106] audit: type=1105 audit(1660702449.532:280): pid=27071 uid=1000 auid=1000 ses=2 msg='op=PAM:session_o
pen grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? term
inal=/dev/pts/0 res=success'
[ 7102.730371] usb 3-3.1.3: USB disconnect, device number 18
[ 7104.439463] usb 3-3.1.3: new full-speed USB device number 19 using xhci_hcd
[ 7104.735495] usb 3-3.1.3: New USB device found, idVendor=1532, idProduct=0521, bcdDevice= 0.70
[ 7104.735501] usb 3-3.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7104.735503] usb 3-3.1.3: Product: Razer Kraken Kitty Edition
[ 7104.735505] usb 3-3.1.3: Manufacturer: Razer
[ 7104.735506] usb 3-3.1.3: SerialNumber: 00000000
[ 7105.078729] input: Razer Razer Kraken Kitty Edition Consumer Control as /devices/pci0000:00/0000:00:07.1/0000:20
:00.3/usb3/3-3/3-3.1/3-3.1.3/3-3.1.3:1.3/0003:1532:0521.0015/input/input50
[ 7105.130337] input: Razer Razer Kraken Kitty Edition as /devices/pci0000:00/0000:00:07.1/0000:20:00.3/usb3/3-3/3-
3.1/3-3.1.3/3-3.1.3:1.3/0003:1532:0521.0015/input/input51
[ 7105.130469] hid-generic 0003:1532:0521.0015: input,hiddev98,hidraw8: USB HID v1.11 Device [Razer Razer Kraken Ki
tty Edition] on usb-0000:20:00.3-3.1.3/input3
[ 7105.544741] usb 3-3.1.3: 2:1: cannot get freq at ep 0x1
[ 7105.736783] usb 3-3.1.3: 2:1: cannot get freq at ep 0x1
[ 7105.928783] usb 3-3.1.3: 2:1: cannot get freq at ep 0x1

Is the device plugged directly into a motherboard USB (not a usb hub)?
Also, could you provide the output of lsusb ?

It looks like this is one of many Razor devices that require a special driver to work properly on Linux. Here is the GitHub page for the Linux drivers: GitHub - openrazer/openrazer: Open source driver and user-space daemon to control Razer lighting and other features on GNU/Linux

Here is some info about getting it installed: OpenRazer | Open Source Drivers for GNU/Linux

It looks like it's in the Chaotic AUR, so:

garuda-update
sudo pacman -S openrazer-meta

It appears you need to add your user to the plugdev group:

sudo gpasswd -a $USER plugdev

Reboot, and see how it goes. :crossed_fingers:

1 Like

I initially thought so too, but on their page they say “OpenRazer only supports lighting features and doesn’t provide additional audio features” in the headphone section of https://openrazer.github.io/

Unless I am getting the meaning wrong (like advanced audio stuff is missing)

The issue occurs while being plugged into the motherboard USB and USB hub. Also, I already have openrazer installed and as you stated, it is only for functionality with lighting software. Here is the output of lsusb

Bus 004 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 32e3:00f7    GK61 Gaming Keyboard
Bus 003 Device 008: ID 1532:0f20 Razer USA, Ltd Razer Base Station V2 Chroma
Bus 003 Device 006: ID 1532:48f0 Razer USA, Ltd Razer Base Station V2 Chroma
Bus 003 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 002: ID 04d9:fc38 Holtek Semiconductor, Inc. Gaming Mouse [Redragon M602-RGB]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 1532:0521 Razer USA, Ltd Kraken Kitty Edition
Bus 001 Device 009: ID 1532:0f19 Razer USA, Ltd Razer Kraken Kitty Chroma Control
Bus 001 Device 008: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Maybe you want to look around these issues:

1 Like

That is support for openrazer which as already stated, provides support for lighting and rgb functionality only. It does not affect audio. Thank you though.

1 Like

I'm not sure what you mean when you refer to audio features, can you explain a bit?

1 Like

The openrazer github link you listed is for a driver that only affects rgb and lighting. The openrazer driver does not impact or affect audio in any way as far as im aware so that could not be the source of my issue.

1 Like

Possibly try chaotic-aur/openrgb-git

Maybe it would be useful to open an issue here. I'm not sure that it directly affects audio, but honestly, all the Razer products I've ever used with Linux has been awkward / buggy, you may be in for a bit of a ride figuring out what's going on, especially since that's relatively rare and unique hardware which probably has some quirks.

2 Likes

I also already have OpenRGB and as far as a I know, it also does not affect audio in any way. Seems like a weird issue. Looks like I'll have to try and dig more and do some tinkering. Thank you

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.