Tech Support > Microsoft Windows > Drivers > usb2.0 suspend/resume issues
usb2.0 suspend/resume issues
Posted by suba on February 3rd, 2004


I am working with a usb2.0 composite device under winxp which has three interfaces printer,scanner and mass storage device. I have my own host2.0 stack and my composite driver takes care of the device. micrososft client drivers are loaded for the different functions(usbstor.sys,usbprint.sys and usbscan.sys).

I have two problems during suspend/resume.

1. before initiating suspend, i access the mass storage device and leave the explorer associated with it open. after wake up i am able to still access the mass storage device, but i am not not able to access my printer. pls note that this problem does not happen when i close all the documents or the explorer from the mass storage device.

2. when i try to disconnect the device, my parent composite driver deletes all pdo and gets unloaded, when i connect the composite device again, windows says that " the previous instance of the mass storage driver is still in memory and so culdnt load the mass storage driver", in this case mass storage driver is never loaded unless i reboot the system.

i strongly feel that the leaving the handles open from the mass stroage device has got some impact, becos i never encounter such problems when all the handles associated with the mass storage device is closed.

any suggestion is appreciated,

thanks