foolab/usb-moded
This is the source repository for usb_moded. This is a daemon which can hanlde setting different usb profiles with gadget drivers. It can start extra services needed through dbus, upstart or systemd. Moreover it can configure networking and USB tethering. Detailed information and documentation is in the docs folder.