I needed to get a Huawei E3131 USB modem working on Angstrom Linux on a BeagleBone Black. Nobody had a stock solution, so I cobbled together something from bits I found on the web:

Inspiration came from Derek Molloy and Richard White