These Bash-scripts shows maximum USB-Current in mA of all attached devices provided by lsusb
usb_max_current.sh : Shows current Mainboard
usb_max_current-bus.sh : Shows currents of all buses.
usb_all_current.sh Shows Currents of all devices, buses and Mainboard
Blogpost: https://untergang.de/index.php?view=article&id=72:bashscript-maximaler-strom-aller-usb-device