Re: generate one module from multiple object files (was: Re: [PATCH 2/2] usb: gadget: convert all users to the new udc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[-linux-kbuild]

On Tue, Jun 14, 2011 at 08:28:05AM +0200, Michal Nazarewicz wrote:
Also, at one point in time I had an idea of a framework in which each
individual composite function would be a separate module.  I haven't
thought it through though so it's probably not such a great idea after
all. ;)

On Tue, 14 Jun 2011 09:32:20 +0200, Felipe Balbi <balbi@xxxxxx> wrote:
such a framework won't work for Certification. The original composite
framework that I implemented with the guidance of Dave was doing exactly
that. Each function driver was a module of its own and you built
composite gadgets by loading the different drivers.

That was until Dave explained to me why it wouldn't fly. You can't have
completely dynamic USB peripherals. If you go to certification with
something like that, you will be denied certification as your device can
change how it appears to the bus at any time.

Not if changing configuration meant disconnect/connect cycle.  I think
that's what happens in Android if you enable/disable ADB.  Of course,
Android's composite is pretty much linked together.

--
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz    (o o)
ooo +-----<email/xmpp: mnazarewicz@xxxxxxxxxx>-----ooO--(_)--Ooo--
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux