You are not logged in.

#1 2022-01-09 18:51:48

spicydll
Member
Registered: 2022-01-09
Posts: 5

HyperX USB headset disconnects after being used for some time.

I've been encountering an issue where my HyperX usb headset disconnects and stops working or being detected. This will happen seemingly randomly. The most recent occurrence was after I paused a YouTube video, I hit play and there was no sound.

The specific headset is a HyperX Cloud Alpha S connected via the inline USB chat mixer it came with.

When the device disconnects, it remains powered. I can tell because the lights on the USB mixer remain on. The lighted buttons even toggle when I press them (for example, the mute button). However, the device no longer shows up in Pavucontrol.

I'm currently using PulseAudio with Pavucontrol. My kernel version is 5.15.13-arch1-1. I'm using DWM via xinit if that matters.

The headset is connected via the rear usb bank on my motherboard (desktop PC).

When my headset audio fails, the speakers on my secondary monitor connected via HDMI through my NVIDIA 1060 are still detected. They are not automatically switched to unless I restart PulseAudio with `pulseaudio -k`

I've also been having intermittent issues with my keyboard and mouse where they disconnect as well. However, those issues only occur after a reboot. My audio issues are independent of their occurrences, and occur any time while my mouse and keyboard continue to work.

How do I make my headset stop disconnecting?

Also, please be verbose. Although I have Linux experience I am new to using it as a desktop. If you give me a chunk for a config file please specify what file you're referring to, even if you think it's obvious.

Last edited by spicydll (2022-01-09 18:58:49)

Offline

#2 2022-01-09 19:07:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,208

Re: HyperX USB headset disconnects after being used for some time.

When the disconnect happens are there any messages/USB bus errors in dmesg ?

On a guess I'd say an issue with USB autosuspend try explicitly disabling that. See and adapt the last rule: https://wiki.archlinux.org/title/Power_ … utosuspend

Offline

#3 2022-01-09 19:53:29

spicydll
Member
Registered: 2022-01-09
Posts: 5

Re: HyperX USB headset disconnects after being used for some time.

I did find these errors.

[66031.526546] usb 1-9: 1:0: usb_set_interface failed (-71)
[66031.527222] usb 1-9: 1:0: usb_set_interface failed (-71)
[66031.527833] usb 1-9: 1:2: usb_set_interface failed (-71)
[66031.528456] usb 1-9: 1:0: usb_set_interface failed (-71)
[66031.529163] usb 1-9: 1:0: usb_set_interface failed (-71)
[66031.529777] usb 1-9: 1:2: usb_set_interface failed (-71)
[66031.530378] usb 1-9: 1:0: usb_set_interface failed (-71)

I originally thought 1-9 corresponded to my mouse. However, when I unplugged and re plugged the headset it came up as 1-9. Re plugging the headset also made it work again, but I'm sure it will fail again soon.

[70717.240375] usb 1-9: USB disconnect, device number 5
[70724.205953] usb 1-9: new full-speed USB device number 8 using xhci_hcd
[70724.363300] usb 1-9: New USB device found, idVendor=0951, idProduct=16ed, bcdDevice=41.04
[70724.363313] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[70724.363319] usb 1-9: Product: HyperX Cloud Alpha S
[70724.363324] usb 1-9: Manufacturer: Kingston
[70724.363327] usb 1-9: SerialNumber: 000000000001
[70724.431001] usb 1-9: Warning! Unlikely big volume range (=18944), cval->res is probably wrong.
[70724.431012] usb 1-9: [6] FU [Mic Capture Volume] ch = 1, val = -18944/0/1
[70724.436489] input: Kingston HyperX Cloud Alpha S Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.5/0003:0951:16ED.0007/input/input36
[70724.492907] input: Kingston HyperX Cloud Alpha S as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.5/0003:0951:16ED.0007/input/input37
[70724.493475] hid-generic 0003:0951:16ED.0007: input,hiddev97,hidraw4: USB HID v1.11 Device [Kingston HyperX Cloud Alpha S] on usb-0000:00:14.0-9/input5

Also, I should note that the headset should have two output audio channels (one for "chat" and the other for "game"). However, the system seems to only detect one of those channels. It also has a mic input.

Last edited by spicydll (2022-01-09 19:56:22)

Offline

#4 2022-01-09 20:32:17

spicydll
Member
Registered: 2022-01-09
Posts: 5

Re: HyperX USB headset disconnects after being used for some time.

V1del wrote:

When the disconnect happens are there any messages/USB bus errors in dmesg ?

On a guess I'd say an issue with USB autosuspend try explicitly disabling that. See and adapt the last rule: https://wiki.archlinux.org/title/Power_ … utosuspend

I (might of?) disabled USB autosuspend for all devices with the following udev rule

vim /etc/udev/rules.d/50-usb_power_save.rules
ACTION=="add", SUBSYSTEM=="usb", ATTR{power/autosuspend}="-1"

However, I am still getting the same errors in dmesg after a while and my headset stopped working again (worked initially after reboot, now it's dead again).

Offline

#5 2022-01-09 21:29:42

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: HyperX USB headset disconnects after being used for some time.

spicydll wrote:

I (might of?) disabled USB autosuspend for all devices with the following udev rule

Check the content of /sys/bus/usb/drivers/usb/usb*/power/autosuspend to see if that has been applied.

And I'm really sorry but 's/might of/might have/'. Sorry.


Jin, Jîyan, Azadî

Offline

#6 2022-01-09 21:43:56

spicydll
Member
Registered: 2022-01-09
Posts: 5

Re: HyperX USB headset disconnects after being used for some time.

Head_on_a_Stick wrote:
spicydll wrote:

I (might of?) disabled USB autosuspend for all devices with the following udev rule

Check the content of /sys/bus/usb/drivers/usb/usb*/power/autosuspend to see if that has been applied.

And I'm really sorry but 's/might of/might have/'. Sorry.

They are both -1 (usb1 and usb2).

Also, the device does appear in pavucontrol now. However, the audio input or output is still not working. In addition, watching a YouTube video in the Brave browser results in the video playing fine, but with no audio and the buffer animation appearing over the video.

These errors keep occurring persistently in dmesg still.

[ 5886.147582] usb 1-9: 3:0: usb_set_interface failed (-71)
[ 5886.147801] usb 1-9: 3:0: usb_set_interface failed (-71)
[ 5886.148369] usb 1-9: 3:1: usb_set_interface failed (-71)
[ 5886.148512] usb 1-9: 3:0: usb_set_interface failed (-71)
[ 5886.148739] usb 1-9: 3:0: usb_set_interface failed (-71)
[ 5886.149315] usb 1-9: 3:1: usb_set_interface failed (-71)
[ 5886.149457] usb 1-9: 3:0: usb_set_interface failed (-71)
[ 5886.150365] usb 1-9: 1:0: usb_set_interface failed (-71)
[ 5886.150938] usb 1-9: 1:1: usb_set_interface failed (-71)
[ 5886.151498] usb 1-9: 1:0: usb_set_interface failed (-71)
[ 5886.152092] usb 1-9: 1:0: usb_set_interface failed (-71)
[ 5886.152658] usb 1-9: 1:1: usb_set_interface failed (-71)
[ 5886.153216] usb 1-9: 1:0: usb_set_interface failed (-71)

Last edited by spicydll (2022-01-09 22:23:37)

Offline

#7 2022-01-10 00:47:22

spicydll
Member
Registered: 2022-01-09
Posts: 5

Re: HyperX USB headset disconnects after being used for some time.

I managed to catch a disconnect in dmesg:

[Jan 9 18:30] audit: type=1334 audit(1641774644.910:127): prog-id=27 op=LOAD
[  +0.000076] audit: type=1334 audit(1641774644.910:128): prog-id=28 op=LOAD
[  +0.000027] audit: type=1334 audit(1641774644.910:129): prog-id=29 op=LOAD
[  +0.030718] audit: type=1130 audit(1641774644.940:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[Jan 9 18:31] audit: type=1131 audit(1641774674.986:131): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +0.082788] audit: type=1334 audit(1641774675.073:132): prog-id=0 op=UNLOAD
[  +0.000004] audit: type=1334 audit(1641774675.073:133): prog-id=0 op=UNLOAD
[  +0.000001] audit: type=1334 audit(1641774675.073:134): prog-id=0 op=UNLOAD
[Jan 9 18:37] usb 1-9: 1:0: usb_set_interface failed (-110)
[ +15.516193] usb 1-9: 1:0: usb_set_interface failed (-71)
[  +0.000752] usb 1-9: 1:1: usb_set_interface failed (-71)
[  +0.000690] usb 1-9: 1:0: usb_set_interface failed (-71)
[  +0.000892] usb 1-9: 1:0: usb_set_interface failed (-71)
[  +0.000739] usb 1-9: 1:1: usb_set_interface failed (-71)
[  +0.000681] usb 1-9: 1:0: usb_set_interface failed (-71)
[  +0.000868] usb 1-9: 1:0: usb_set_interface failed (-71)
[  +0.000678] usb 1-9: 1:1: usb_set_interface failed (-71)

The disconnect happened about 30 seconds to 1 minute before the 18:37 message. I don't know if the load/unload messages are relevant. I included them anyway. The last few errors repeated thousands of times within a few seconds. Took me five minutes to scroll back up in the log.

Offline

Board footer

Powered by FluxBB