Tech Support > Microsoft Windows > Drivers > Received power state mapping of S0 to D2 in Device Capabilities
Received power state mapping of S0 to D2 in Device Capabilities
Posted by PeterP on July 9th, 2004



Hello

I'm building USB device drivers for a composite USB device with a modem interface (part of the Modem device class) and serial interfaces (part of the Ports device class).

I've a problem: when the system sends IRP_MJ_PNP/IRP_MN_QUERY_CAPABILITIES down to device stack, the USBD bus driver returns a S0 -> D2 power state mapping in the DEVICE_CAPABILITIES:

DeviceCapabilities->DeviceState[PowerSystemWorking] equals to PowerDeviceD2.

I'd expect a S0 -> D0 mapping. What's the meaning of this power state mapping ? Do I have to do something special here ?

I'm running Win2K SP 3 on a HP OmniBook XE3. My USB composite device connects directly to an external NEC USB 2.0 CardBus controller.

Thx, Peter


Similar Posts