AVS driver (USB device) problem during power up

Hi,
We have designed and implemented a AVS driver on top of the USB driver
stack. Problems with the power management occured. The function
KSDEVICE_DISPATCH::SetPower is currently used to get the power switching
events from the AVS model.
During power up process we do have the following problem:
If we access the USB driver in the context of the SetPower function we
get an error message 0x8000000F STATUS_DEVICE_POWER_OFF.
Question:
Which function can be used to access the USB driver API in a secure way
during wakeup from a sleep state?
How to solve this issue?
Thanks,
Micha

Micha Lueck
Edgar-Ross-Str.3
20251 Hamburg
Tel. 040-46095271
Mobil. 0172-4125556

‘only skydiver know … … why birds sing!’

Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser