I don't necessarily need to see real time plots or anything but as I understand it if you attach a USB device it gets like 100 mA then after some negotiation it will bump the power up to 300 mA or 500 mA so on and so forth till the device stops requesting.
Does anyone know of anyway to see all the USB ports on a machine and what they are "allowed" to output?
edit update:
in windows preferably using a .net language
Plug the USB multimeter into your port. The multimeter requires no external power, so as you plug it into the port it automatically turns on. You can see the results on your screen, it is just that simple. Voltage is measured in Volts (V), so you the results ending with V i.e 5V or something like it.
Devices are identified by descriptors. Once the USB host has established a USB device is connected, and at what speed it should communicate, then the host will reset the USB device and attempt to read the descriptors to identify the USB device using a default address.
To do that launch Device Manager by Win + X > Device Manager. Expand Universal Serial Bus controller, right-click on “USB Root Hub” or “Generic USB Hub”, and click Properties. Go to the Details tab and from the Property section select Power data. Now, you can see the Power Output of your USB Port from there.
It must be available somewhere because if (in XP) you go to device manager and select one of the USB Root Hubs theer is a power tab in the properties dialog that details the power that has been requested by the devices plugged into each of the ports.
I am not a windows programmer so I do not know how to find this out programatically.
Shot in the dark, but if this data is anywhere, it'll be in WMI, or you might be able to get the info from an ETW trace of usbhub/usbport.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With