uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub is defined as one that implements per-port power switching. This utility can be build in Yocto using the below recipe.
https://gist.github.com/parthitce/046e97c03b3a0337bc3f6a6b5b9a7ffd
Above is the bitbake recipe for version 2.0.0.
https://gist.github.com/parthitce/2aaf71b5e16940ed80dc2ca30839a671
Above is the bitbake recipe for version git.





