tenderloin-usb: ported from flintman