I'm looking into a way of programatically cut off power to some of the USB ports of a Raspberry PI 3. If found this thread: https://github.com/codazoda/hub-ctrl.c
Surely I can use a Jshell to call the hub-ctrl application, but is there any way to do it in B4J directly ?
Thanks but I'm not sure I understand what you mean. I want to write an application to run on the Raspberry Pi (using B4J) that can disable/enable power to the USB ports. I'm not sure where the SSH fits in this ...