How to get USB Slave to do something useful on Loon 3
USB Slave requires the base kernel module to drive the interface before it will do anything.
Then it needs 'personality' modules for the purpose it is to be used for.
- g_ether (gadget ethernet) makes it behave like an ethernet interface
- g_serial (gadget serial) make it behave like a serial interface
Refer to USBNetworking for more information on using it for networking.
Note that currently neither of these modules works very well the windows hosts. The serial interface works but has long delays (30 seconds). The ether interface needs RNDIS enabling for windows because Windows does not understand the simple base (cdc_subset) networking. However enabling RNDIS mode seems to make the driver not work on both Windows and Linux. Enabling RNDIS is a kernel config option. Given this breakage it is currently turned off.