I tried to come up with a simple way to create gadget on the fly. But I failed so far. Instead I try to provide a copy of each descriptor (similiar to what the network gadget are doing) and maybe make simple later on. This is an example based on g_zero what I intend to do with all gadgets. (does not compile) Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html