Quote:
Originally Posted by Rod Whiteley
... I notice that when my computer goes to stand-by while connected, my Kindle appears to do the same, and when my computer wakes up Kindle goes back to USB drive mode...
|
Your host PC is probably powering down the USB port, as part of its "Green" energy-saving features. You should be able to disable that in your BIOS and/or in your Windows control panel. Your kindle cannot charge from a USB port that is NOT supplying power.
How to reset the USB device(s) from (host PC) software to force redetect:
http://stackoverflow.com/questions/9...he-windows-api
Quote:
You can do this by ejecting the device through the CfgMgr API. For example, to go over all USB hubs and eject all devices:
Find all devices having device interface GUID_DEVINTERFACE_USB_HUB with SetupDiGetClassDevs(... DIGCF_DEVICEINTERFACE).
Enumerate over the returned device information set (SetupDiEnumDeviceInfo).
For each device, get the DevInst member:
Invoke CM_Get_Child(DevInst) and then CM_Get_Sibling repeatedly to go over all child nodes of the hub (i.e. the USB devices).
For each child node, call CM_Request_Device_Eject.
|