USB NDIS miniport Selective Suspend without Halt

Discussion in 'Windows Vista Drivers' started by Kenneth, Nov 25, 2008.

  1. Kenneth

    Kenneth Guest

    Hi,

    I'm developing a NDIS miniport with USB lower edge. And USB selective
    suspend is a need. The device must resume after 1 second suspension.
    Then after about 1 second work, it will suspend again. It cycles in
    this way.

    But every time IRP_MN_SET_POWER (PowerDeviceD1) is sent to the PDO
    (which is get from NdisMGetDeviceProperty), the net card is disabled
    and MiniportHalt is called. And 1 second later, when PowerDeviceD0 is
    set, it will be enabled again.

    All I want is a way that don't change the status of the net card, just
    keep it a "connected" status. Should I send the IRP to other Device
    Objects?

    Please give me some advice. Thanks in advance!
     
    Kenneth, Nov 25, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.