Windows 10: Usbser.sys does not issue selective suspend as documented

Discus and support Usbser.sys does not issue selective suspend as documented in Windows 10 Drivers and Hardware to solve the problem; Hello everybody, coming from the What is new in usbser page. The topics mentioned there insider seem to have been changed meanwhile, so I post it here.... Discussion in 'Windows 10 Drivers and Hardware' started by DieterFauth, Jul 24, 2020.

  1. Usbser.sys does not issue selective suspend as documented


    Hello everybody,
    coming from the What is new in usbser page. The topics mentioned there insider seem to have been changed meanwhile, so I post it here.


    The documentation states we have two choices for selective suspend SS, but 0x00000001 behaves like 0x00000000:

    To configure power management features of Usbser.sys, you can set IdleUsbSelectiveSuspendPolicy to:


    • "0x00000001"

      Enters selective suspend when idle, that is, when there are no active data transfers to or from the device.


    • "0x00000000"

      Enters selective suspend only when there are no open handles to the device.

    I checked with an USB analyzer, there is no traffic, but the driver does not issue SS. If the app calls CloseHandle, then the device gets suspended after ~6 seconds.

    The device is a Honeywell Barcode reader and works perfect with our custom driver. It also gets SS in HID mode the devices can be switched to use different interfaces.

    Thanks, Dieter Fauth

    :)
     
    DieterFauth, Jul 24, 2020
    #1

  2. Usbser.sys does not issue selective suspend as documented

    Hello everybody,
    coming from the What is new in usbser page. The topics mentioned there (insider) seem to have been
    changed meanwhile, so I post it here.

    The documentation states we have two choices for selective suspend (SS), but 0x00000001 behaves like 0x00000000:

    To configure power management features of Usbser.sys, you can set IdleUsbSelectiveSuspendPolicy to:

    • "0x00000001"

      Enters selective suspend when idle, that is, when there are no active data transfers to or from the device.
    • "0x00000000"

      Enters selective suspend only when there are no open handles to the device.
    I checked with an USB analyzer, there is no traffic, but the driver does not issue SS. If the app calls CloseHandle, then the device gets suspended after ~6 seconds.

    The device is a Honeywell Barcode reader and works perfect with our custom driver. It also gets SS in HID mode (the devices can be switched to use different interfaces).

    Thanks, Dieter Fauth
     
    DieterFauth, Jul 27, 2020
    #2
  3. Windows 10 Bluescreen WDF_VIOLATION if USB device used USBSER.SYS and add to a Modem

    We can always reproduce a bluescreen on Windows 10, if a USB device which used the USBSER.SYS driver is attached to a Windows Standard modem.



    Environment:

    • Windows 10 Pro, Final Build 10240, 64 Bit
    Steps how to reproduce:

    • Connect a USB device which used the USBSER.SYS driver
    • Windows Device Manager displays the device in section "Ports (COM & LPT)"

      For example "Serial USB Device (COM3)"

      This is OK
    • Start the "Phone and Modem" application
    • Select the "Modems" tab and select "Add..." to "Install New Modem"
    • Select "Don't detect my modem, I will select it from a list"
    • Select "(Standard Modem Types)" and e.g. Model "Communication cable between two computers"
    • Select the serial port which is used by the connected USB device (e.g. COM3 for this example)
    • Windows starts installing the Modem... but...
    • Bluescreen with information about an Error: WDF_VIOLATION

    Notes:

    • This error does not occur with USBSER.SYS driver on Windows XP, 7, 8
    • I know that the USBSER.SYS driver is rewritten for Windows 10

      Perhaps this specific use case with the Modem assignment was not tested with this new driver?
    • This bluescreen is reproducible with different connected USB devices which used the USBSER.SYS, e.g.:
      • embedded device with USB Stack from eCosCentric
      • embedded device with USB Stack from STMicroelectronics
    Thanks for any help and support

    Ralf Hüfing
     
    RalfHüfing, Jul 27, 2020
    #3
  4. Usbser.sys does not issue selective suspend as documented

    Edge Search Does Not Permit Change of Region


    I got these suggestions from the Microsoft Community forum.No. 1 worked for me:

    Thank you for posting the query on Microsoft Community. I am glad to assist you on this.
    We have reproduce the issue here and we are able to access non-regional search for google using Microsoft Edge.
    I would suggest you to try the below steps and check if it helps.
    Step 1:
    Clear browsing data option of Microsoft Edge and check if you face the issue. To do so perform the steps below.

    1. Click on the More actions icon next to the feedback icon present on top right corner of the Project Spartan homepage.
    2. Select Settings and click on Choose what to clear.
    3. Check the boxes Browsing history, Cookies and saved website data and Cached data and files and click on Clear.
    Step 2:
    I suggest you to create a new user account and check if the issue occurs.

    1. Go to Settings.
    2. Choose Accounts and then select Family and other users.
    3. Select add someone else on this PC.
    4. Enter a user name and hit next.
    5. Click on Finish.
    6. Sign out from the current Account and Log into the new account.
    Step 3:
    It could also happen because of network issue. I suggest you to try with different network connection and check if it helps.
     
    hurricane51, Jul 27, 2020
    #4
Thema:

Usbser.sys does not issue selective suspend as documented

Loading...
  1. Usbser.sys does not issue selective suspend as documented - Similar Threads - Usbser sys does

  2. USB Selective Suspend Setting not found.

    in Windows 10 Gaming
    USB Selective Suspend Setting not found.: I am trying to find the USB Selective Suspend Setting in my computer, I am on windows 11 and found the power options, the next step would be to select USB Settings {expand} and then disable the selective suspend setting, but I cant find it anywhere. I am trying to change this...
  3. USB Selective Suspend Setting not found.

    in Windows 10 Software and Apps
    USB Selective Suspend Setting not found.: I am trying to find the USB Selective Suspend Setting in my computer, I am on windows 11 and found the power options, the next step would be to select USB Settings {expand} and then disable the selective suspend setting, but I cant find it anywhere. I am trying to change this...
  4. Selectively suspend applications

    in Windows 10 Ask Insider
    Selectively suspend applications: I've got a Bluestacks emulator running with several multiplayer game windows open, and I want to be able to selectively suspend the entire Bluestacks program, much like sleep mode. Right now, If the entire PC sleeps and wakes, the game running in the emulator will receive a...
  5. Increase the delay for USB Selective Suspend.

    in Windows 10 Ask Insider
    Increase the delay for USB Selective Suspend.: I have this keyboard on the laptop that does not respect selective suspend keeping the cpu at high power usage all the time. I've found a way to force the keyboard to go to sleep when not in use, but when it chooses to go from awake to sleep, it has a half a second or so of...
  6. USB Selective Suspend

    in Windows 10 Ask Insider
    USB Selective Suspend: I've got an issue with selective suspend of a thermal printer in Windows 10 and I can't seem to find anywhere that specifically states the length of time Windows will wait. Any chance there's a simple answer for this? I'm able to disable it entirely, but it seems weird that...
  7. USB Selective Suspend is not working

    in Windows 10 Customization
    USB Selective Suspend is not working: Greetings all, Long story short: No matter how many USB options I check in device manager (properties > power management > allow the computer to turn off this device to save power), and no matter how many Advanced power plan settings I adjust the USB selective...
  8. USB Selective Suspend is not working

    in Windows 10 Drivers and Hardware
    USB Selective Suspend is not working: Greetings all, Long story short: No matter how many USB options I check in device manager (properties > power management > allow the computer to turn off this device to save power), and no matter how many Advanced power plan settings I adjust the USB selective...
  9. Unable to disable USB Selective Suspend

    in Windows 10 Drivers and Hardware
    Unable to disable USB Selective Suspend: Hi there- kind of an unusual problem. I'm having issues with a 3rd party Microsoft wireless controller receiver shutting off in game. One option I haven't explored yet is USB selective suspend messing with its power. Unfortunately, when I go to change the advanced power...
  10. Adjust USB selective suspend setting

    in Windows 10 Drivers and Hardware
    Adjust USB selective suspend setting: I think this is a long shot but here goes.... I know how to turn off/on the "USB selective suspend setting". I actually don't mind that it is enabled however what I find annoying is when my external 'wakes', a window pops up showing all of my files on the external as if I...