Tech Support > Microsoft Windows > Drivers > USB disconnect and hang when resuming from standby
USB disconnect and hang when resuming from standby
Posted by Vetzak on September 13th, 2005


Hello

We're building a USB composite device. We've 2 versions of the
hardware: (1) a normal USB device (2) a CardBus card with a NEC720101
(cfg'd as OHCI-only) and the USB device directly connected to it.

I'm testing system power state changes with these devices. My system is
WinXP SP 2 running on a Dell D610 Lattitude. This system only supports
S0, S3, S4, S5.

I put the system into standy and wake it up. With the normal USB device
the system wakes up normally and the device works okay. The drivers
resume USB I/O without problems.

When I wake up the system from standy using the CardBus version of our
device, something strange happens: the device is transitioned from D2
to D0 (okay), the drivers can resume BULK IN and INT IN transfers
normally. But after roughly 0.5 seconds the USBD cancels all pending
URBs with a status code STATUS_DEVICE_NOT_CONNECTED. After that, every
newly dispatched URB is cancelled likewise by the USBD. Strangly, the
devices are NOT removed, although the USBD reports a disconnection. In
fact, removing the device physically doesn't lead to a device removal.
Safe removal hangs stalls. The system hangs on shut down.

This situation is not reproducable on the other laptop I have (Compaq
EVO N1020v). I guess the combination of acpi, hardware, os and cardbus
device confuses the usbd somehow, but I'm not sure.

Has somebody some experience in this field ?

Thx


Similar Posts