mapping Device Power States to System Power States RRS feed

  • Question

  • There are 5 system states S0 (fully on), S1, S2, S3, S4 (sleep), S5 (power off)

    There are 5 device states D0 (fully on), D1 (low on), D2 (Standby), D3 (sleep), D4 (off)

    I understand that the windows device manager (wdm) manages both system and device states.

    But my question is how do you map the device states to the system states?

    For instance:

    D0 maps to S0

    D3 maps to S1,S2,S3,S4

    D4 maps to S5

    D1 maps to ?????

    D2 maps to ?????

    Thursday, September 19, 2013 9:50 PM


  • There is no generic mapping. each bus can map differently. Also, in the end, d1, d2 (no such thing as d4), s1, s2 are nearly never used even though they are spec'ed out. You get the mapping in a DEVICE_CAPABILITIES structure in the driver

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, September 19, 2013 10:14 PM