BeagleBone Black has an USB port which allows the user to access it through ssh. In general, we could say that when you plug it to a PC, the PC is the USB host and the BBB is the USB client. On the other hand, it is also possible to turn the BBB on without the USB cable, through its AC cable.I would like to know if it is possible to check, from the BBB point of view, if there is an USB cable plugged to the BBB or not.
How do I know from a BeagleBone Black if it is connected via USB (as a client/slave)?
linux;usb;hardware;embedded