On Fri, 29 Mar 2013, Sarah Sharp wrote:

> > Also, bear in mind that the proposed patch does not give userspace a 
> > way to power off ports via usbfs.  What the new code does is a 
> > power-off reset -- it turns off power to the port, waits a short time, 
> > and then turns power back on.
> 
> I think we need two separate IOCTLs: turn off the port power and turn it
> on.  Then we get the manual port power off for our QA testing, distros
> can make interesting policies about manually powering off ports, and
> userspace can choose how long they want the port to be off.  After all,
> different devices may need a longer powered-off period than others.

Or one port-power IOCTL that takes the setting as an argument.  Yes, 
this would be more flexible than a power-off reset.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to