Reset
Terminates the device and attempts to reenumerate it.
Declaration
virtual kern_return_t Reset();Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.
Discussion
This method resets and releases the current IOUSBHostDevice object and all of its children. If the reset and release of the device object are successful, this method creates a new IOUSBHostDevice object and registers it.
Don’t call this function from the port workloop thread.