Hello, all!

While testing recently developed USB measurement device I found a problem
with power management that I still can't resolve.
Device is single-interface single BULK endpoint device.
Device driver is DDK's BULKUSB sample with a couple of IOCTLs added.

When the device is plugged into Vitek 2-port USB hub, Windows 2000 crashes
(3 machines) with STOP 0x0000001e - KMODE_EXCEPTION_NOT_HANDLED
or reboots unexpectedly (old PIII machine), after installation of device
driver.

With SoftICE installed, a page fault is reported in the driver, with a very
strange
stack trace, even before the DriverEntry is called.

When the device was plugged in the Windows 98 system (by accident), a dialog
appeared,
saying that USB cannot provide enough power to power the device.

Our device reports a maximum consumption of 180 mA, in it's configuration
descriptor.
Then we've changed this report to 100 mA and the all began to work.

Can this be a feature of Windows 2000 power management in that BULKUSB
sample does not process gracefully?


Thanks in advance,
Alexei N. Adadurov.
alexei.adadurov_nspam_@mtu-net.ru
Remove _nspam_ when anwering by e-mail.