hello.
Never develop a composite usb driver, Now I will develop a composite usb-serial driver based on intel pxa270. It connect to windows pc that has usb driver that create two virtual comm port. I want to know the usual way to develop gadget driver's side of code,My plan is like this: Composite serial gadget driver has on configuration with two interface, each interface has two endpoint, in&out,corresponding one virtual serialport. right? If pc want to send data to com1 that set_interface 0 first and set_interface 1 before send data to com2?, but if current interface is 0, than i want to send data to interface 1's endpoint, Will pc detect this? Also confused with compound usb device, Is this a device that has multiple internal components tied together by an. embedded USB hub? on the driver , it has multiple configuration and each usb controller one correspoind to one usb configuration? I don't know why pxa270 usb device chip is not a compound usb device , but the manual says it support multiple configuration? I have not seen any usb gadget driver work on composite device or compound device.So Is there any known hardware that is compound/composite device and source code for me to study?
   Thank you

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to