usb composite device - 2 com ports

xiaohorse
New Member

posted November 06, 2009 12:01 AM     Click Here to See the Profile for xiaohorse   Click Here to Email xiaohorse     Edit/Delete Message


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     Click Here to See the Profile for Scotty     Edit/Delete Message


Hi xiaohorse,

which device are you using?

Regards,

Scotty

IP: Logged

xiaohorse
New Member

posted November 06, 2009 12:50 AM     Click Here to See the Profile for xiaohorse   Click Here to Email xiaohorse     Edit/Delete Message


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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值