I am currently doing a project with the Raspberry Pi as a controller connected to a PC via USB and using the Pi to send commands to other devices connected via GPIO pins.
Simplified version: communication from PC to Pi to rest of system.
I'm wondering if it is possible to write a script on the Pi to control its USB ports on boot, so that data can be sent from the PC and received on the Pi without having to run anything manually by ssh/vnc.
I'm also planning to write up a PC app so that commands can be issued from the PC to the Pi in the future, once I am able to get the USB comms. working.
I hope someone could assist/point me in the right direction for going about this. I've looked at usbnet and pyusb for information on this.