On Sun, 28 Jan 2007, jing xiang wrote:

> Got the idea. But could we re-use the current gadget drivers in such
> architecture? Is it possible to make the composite layer transparent
> to the function drivers? In theory, the composite layer could get all
> the descriptor/configuration/interface information from the function
> drivers. Thus we could make a little modification to the gadget
> drivers, and compose different kind of composite devices easily. And
> for gadget/function drivers, it could either be one pure function or
> combine with others to form composite device. We have tried to
> implement such composite on PXA27x UDC, but met problems as mentioned
> in last mail.

In principle this is possible.  It's easy to see why:  If you can combine 
two function drivers with each other to make a composite gadget, then you 
combine one of them with nothing, resulting in a non-composite gadget with 
only one function.

However none of the existing drivers were written with this sort of thing
in mind.  They would have to be modified before they could fit into the
composite-gadget scenario.  So the answer to your first question is "No",
and the answer to the second question is "Yes, but only if the function
drivers are written properly".

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to