lkml.org 
[lkml]   [2011]   [Sep]   [9]   [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
    Date
    From
    > On Thu, Sep 08, 2011 at 08:24:47PM +0200, Klaus Schwarzkopf wrote:
    >> This driver provides two functions in one configuration:
    >> a mass storage, and a CDC ACM (serial port) link.
    >> Heavily based on multi.c and cdc2.c

    On Thu, 08 Sep 2011 21:11:46 +0200, Greg KH <gregkh@suse.de> wrote:
    > I thought the "composite" framework make it so that drivers like this
    > were no longer needed. Or am I mistaken somehow?

    No. Composite framework only makes it relatively simple to create such
    gadgets, but one still needs some glue that binds all the functions into
    a single gadget.

    This seems like both a blessing and a curse (which I haven't realise when
    I was creating g_multi) since with n functions implemented one can easily
    came up with 2^n gadgets.

    Android went half-step forward and in it you can create a gadget by
    specifying list of named functions it is supposed to have. I'm saying
    “half-step” because they have no support for configurations for instance.

    --
    Best regards, _ _
    .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
    ..o | Computer Science, Michal "mina86" Nazarewicz (o o)
    ooo +-----<email/xmpp: mnazarewicz@google.com>-----ooO--(_)--Ooo--
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-09-09 12:23    [W:0.023 / U:29.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site