Page 1 of 1

Behavior of 500mA devices

Posted: Fri Aug 29, 2014 4:51 am
by myd
I have a question that I haven't been able to figure out yet. I'm making a device that will require the full 500mA and I'm wondering what happens in v-usb and on the usb bus when the device tells the system that it will use 500mA and it's on a port (say an unpowered hub) and that port can only output 100mA? Will the host power-down the port, will there be a negotiation failure, will it just be purely current-limited?

thanks

Re: Behavior of 500mA devices

Posted: Fri Aug 29, 2014 6:02 am
by blargg
The device starts out in low-power mode and communicates its desire for more power to the host through its descriptor. If the host determines that the device can operate in high power mode, it will let it know that it is authorized to. See 7.2.1.4 High-power Bus-powered Functions in the USB 1.1 specification.