question

PavelDyachuk avatar image
0 Votes"
PavelDyachuk asked PavelDyachuk rolled back

Windows Server 2019 USB Selective Suspend don't turn off for USB Hub

Hi everyone!

I have 3 usb hubs with 10 ports each. 28 USB tokens plugged there. They are used by accountants to sign up documents. My problem is - after few minutes USB tokens switch to suspend mode and random of them will not wake again, so I forced to re-plug them.

I have tried:
1) To turn off «USB suspend» in Power management and in hub settings (Device Management) – no result. All power-safe features turned off in BIOS (Supermicro X9SRI-3F REV: 1.20).

2) To Turn On or Off USB Selective Suspend Setting in Command Prompt

https://www.tenforums.com/tutorials/73187-turn-off-usb-selective-suspend-windows-10-a.html

3) Disable Selective Suspend feature
https://support.microsoft.com/en-ph/help/968132/usb-devices-may-stop-functioning-correctly-when-multiple-devices-conne
I dont have "pure" USB registry subkey - so I created DWORD "DisableSelectiveSuspend" in every usb* registry subkey.
111269-reg.jpg

My workaround is reset main hub in computer management if token don't answer.

windows-serverwindows-server-2019
reg.jpg (25.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SamsonPeng-MSFT avatar image
0 Votes"
SamsonPeng-MSFT answered SamsonPeng-MSFT commented

Hello there,

This prevent usb suspend issue might beyond Forum topic Server.
I did some research about this prevent usb suspend issue after receiving your question.
I find out that There are two ways to suspend :
One is the host control suspend (if there is no USB activity in 3ms, the device will generate a SUSPEND interrupt);
The other is the automatical device suspend (write any value to the SUSPEND register). In that case, disable the usb registers which control suspend and wake up will help.

You may find reference in beneath two links:
USB Selective Suspend
https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-selective-suspend
111767-usb-suspend1.png


Preventing USB device suspension
https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/selective-suspend-in-a-kmdf-function-driver
111768-usb-suspend2.png

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.

Best Regards,
Samson Peng










usb-suspend1.png (41.3 KiB)
usb-suspend2.png (87.4 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi!
Sorry, I'm not quite understand what should I do.
My host controller Intel(R) C600/X79 series chipset USB2 2 — 1D2D and Intel(R) C600/X79 Series Chipset USB2 1 — 1D26
Motherboard Supermicro X9SRi-3F rev 1.20.

0 Votes 0 ·

Hello there,

You can check these two docs for reference
USB Selective Suspend
https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-selective-suspend
Preventing USB device suspension
https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/selective-suspend-in-a-kmdf-function-driver

However, research or exploitation of the usb suspend function is far beyond scope of this forum.
To do deeper research, you can get direct assistance from a Microsoft Support Engineer through Microsoft Customer Support Services. You can contact Microsoft Product Support directly to discuss additional support options you may have available, by contacting us at 1-(800)936-5800 or by choosing one of the options listed at http://support.microsoft.com/common/international.aspx?rdpath=fh;en-us;cntactms.

0 Votes 0 ·
PavelDyachuk avatar image
0 Votes"
PavelDyachuk answered PavelDyachuk rolled back

After a year we bought another model of USB hubs. Previous model was ST Lab U-500. New one - CBR CH 310(additionally I replaced native usb cable and power adapter with cable and adaptor from ST Lab U-500) , Ginzzu GR-315UB, Defender Quadro Swift USB2.0. None of the USB Tokens were suspended so far) USB hubs are in production for three weeks).
I assume that the problem was in the way how ST Lab U-500 worked with Supermicro X9SRI-3F and Windows Server 2019. It works fine on another machine and OS.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.