[lkml]   [2011]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] usb: add new usb gadget for ACM and mass storage
On Fri, 16 Sep 2011 19:18:25 +0200, Sebastian Andrzej Siewior  
<> wrote:

> * Greg KH | 2011-09-09 11:43:54 [-0700]:
>> So we can expect more patches like this adding all of the possible
>> permutations of the different gadget devices?
>> If so, ick, I thought that the work that was done was to prevent this
>> from happening, oh well :(
> Would it be possible to come up with a gadget-hub driver which can have
> multiple gadget attached? This should get rid of this kind of gadget
> drivers, right?

Yes, I keep thinking about such a thing for years now...

Instead of a “gadget HUB” which would have to do a lot of translation of
headers and requests, I was thinking more of making USB composite functions
even more structured (ie. adding callback for per-gadget setup,
per-configuration set-up, etc.) and then creating a composite layer which
would be feed with a trivial structure describing which functions are to
be included in which configurations.

Like I've said before, that's almost what Android does, expect it does
not support many configurations.

Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michal "mina86" Nazarewicz (o o)
ooo +-----<email/xmpp:>-----ooO--(_)--Ooo--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2011-09-16 19:33    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean