LWN.net Logo

The USB composite framework

The USB composite framework

Posted Jul 16, 2010 4:38 UTC (Fri) by pabs (subscriber, #43278)
Parent article: The USB composite framework

It would be great to be able to modprobe a mass-storage gadget, a serial gadget and a network gadget and a userland gadget and instantly get a composite device that supports all four.


(Log in to post comments)

The USB composite framework

Posted Jul 25, 2010 11:53 UTC (Sun) by mina86 (subscriber, #68442) [Link]

Yep! It would.

As a matter of fact, I've been thinking about something like that for quite some time now (ever since I've started working on USB gadgets I think). I also have some ideas regarding such functionality.

I was thinking more along the lines that you modprobe a “stub” gadget which merely describes what configurations it want to support and then modprobe all the functions. In essence that's what you've described.

I hope to find time for actually implementing it so maybe it'll be even easier then before to write gadgets. :)

The USB composite framework

Posted Mar 9, 2011 21:35 UTC (Wed) by spectrum (guest, #73494) [Link]

I would like to create a USB composite driver that has functionalities of both file storage gadget and RNDIS gadget.

Is this possible?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds