W wl Well-Known Member Licensed User Longtime User Feb 15, 2018 #1 Hi, 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 !
Hi, 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 !
XorAndOr Active Member Licensed User Longtime User Feb 15, 2018 #2 hi look at https://www.b4x.com/android/forum/threads/libary-jkssh2-ssh2-communication-in-b4a.20048/ The lib is for b4A but it works in B4J (you need set your raspberry SSH, go into setup) Upvote 0
hi look at https://www.b4x.com/android/forum/threads/libary-jkssh2-ssh2-communication-in-b4a.20048/ The lib is for b4A but it works in B4J (you need set your raspberry SSH, go into setup)
W wl Well-Known Member Licensed User Longtime User Feb 15, 2018 #3 XorAndOr said: hi look at https://www.b4x.com/android/forum/threads/libary-jkssh2-ssh2-communication-in-b4a.20048/ The lib is for b4A but it works in B4J (you need set your raspberry SSH, go into setup) Click to expand... 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 ... Thanks Upvote 0
XorAndOr said: hi look at https://www.b4x.com/android/forum/threads/libary-jkssh2-ssh2-communication-in-b4a.20048/ The lib is for b4A but it works in B4J (you need set your raspberry SSH, go into setup) Click to expand... 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 ... Thanks