usb composite device - 2 com ports

xiaohorse
New Member

posted November 06, 2009 12:01 AM            

I implemented my usb device as two com ports on PC (xp sp3) using IAD successfully. Now the two com ports works well respectively, however, when using the two com ports (COM 3 and COM 4) at the same time, their data will go to each other.
For example, I open two hyperterminal connected to each com port, and make them both work (read and write their own data from their own endpoints of usb), the data transfered (from my usb device) to com 4 is displayed on the hyperterminal connected to com3.
Does any one has the same problem?
thanks

IP: Logged

Scotty
Member

posted November 06, 2009 12:34 AM         

Hi xiaohorse,

which device are you using?

Regards,

Scotty

IP: Logged

xiaohorse
New Member

posted November 06, 2009 12:50 AM            

I fix the problem.
MS drivers have restrictions that usbser.sys will only load on interfaces 0/1, but in fact I load usbser.sys twice for my two com ports, one is on interface 0 (for COM 3), the other is on interface 2 (for COM 4).
I think this is the reason.

Thanks all the same

 

http://www.cygnal.org/ubb/Forum9/HTML/001929.html

你可能感兴趣的:(XP,each,Go,interface)