On Thursday 12 July 2007, S.Selin Jeba Shanthi wrote: > We are using the AT91SAM9261 board for our application. > Now our device is act as mass storage but i want that > device to be act as serial device parallely.
Presumably you mean you want what the USB spec calls a "composite" device. > How can we make that possible? The quick'n'dirty way is to "just do it" by combining the two drivers into one big one, following all of the relevant specs. Longer term, the solution involves updating the gadget framework to support composite gadgets directly. There have been some patches posted -- most recently from Ragner Magalhaes, on 19-May -- to support that. You could look at those patches; they're still in my review-and-fix queue (and nearing the top) but they might be helpful to you in their current state. > How do we make the USB descriptors > with two interfaces and four endpoints? That's trivial; just stick all the descriptors into the current configuration tables. You can see an example in the ethernet gadget driver; it uses two interfaces, albeit only with three endpoints. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel