PORTS Forum

Ports and Interfaces => USB => Topic started by: rebar on April 29, 2016, 08:18:25 pm

Title: is it possible to put a USB device into suspend mode
Post by: rebar on April 29, 2016, 08:18:25 pm
Is it possible to put a USB device into suspend mode on windows (or Mac)? Curious if any special driver exists to do this.



thx,
robert
Title: Re: is it possible to put a USB device into suspend mode
Post by: Jan Axelson on April 29, 2016, 10:06:12 pm
This is how it's done in Windows:

https://msdn.microsoft.com/en-us/library/windows/hardware/ff540144%28v=vs.85%29.aspx

Title: Re: is it possible to put a USB device into suspend mode
Post by: rebar on May 03, 2016, 01:32:56 pm
thank you for that Jan! - If anyone has an executable that implements this, I'd appreciate it too! (just in case :-)
Title: Re: is it possible to put a USB device into suspend mode
Post by: Barry Twycross on June 28, 2016, 07:47:45 pm
On a Mac it's a standard function in the IOUSBLib, USBDeviceSuspend. It can be sent from user space code if the code has the device open.