阅读:2157回复:10
有关虚拟串口,给点意见
我找到了一个虚拟串口的实现步骤,但是现在还没有成功,希望能有人给点意见
I just completed a project like this for a client. Here are the steps: 1) Create a bus driver FDO that will attach to the root device node. 2) The bus driver FDO calls IoInvalidateDeviceRelations() to force the PNP manager to issue an IRP_MN_QUERY_DEVICE_RELATIONS. 3) The bus driver FDO responds to this IRP by returning a list of PDOs in the DEVICE_RELATIONS structure. These PDOs will be the PDOs for your virtual serial ports - one for each port that will be created. 4) The PNP Manager will then send a IRP_MN_QUERY_ID to the top of your stack. 5) The Virtual serial port PDO responds to this IRP with the hardware ID of a serial port. 6) Using the .inf file for the virtual serial port FDO, the PnP manager can now execute the AddDevice routine with the pointer to the virtual port PDO. |
|
|
沙发#
发布于:2003-07-03 09:11
“虚拟串口”前面有帖子讨论,你搜一下。
|
|
|
板凳#
发布于:2003-07-03 09:19
用户被禁言,该主题自动屏蔽! |
|
地板#
发布于:2003-07-07 09:57
我找到了你说的IrCOMM,但好像它不是基于bus的,是一个单独的driver,我要仔细看看
不过还是要谢谢你了,可以结帖了吗?我还想请大家讨论讨论,分不用担心了 |
|
|
地下室#
发布于:2003-07-09 09:54
其中有一个Bridge driver,看的不是很明白,另外还说是在Linux下的,Windows2000下受很多的限制,都是微软惹的祸
:( 不知道谁可以帮帮我 |
|
|
5楼#
发布于:2003-07-11 16:40
关注
|
|
6楼#
发布于:2003-07-12 16:54
up!
|
|
7楼#
发布于:2003-07-13 14:28
一个例子
|
|
|
8楼#
发布于:2003-08-25 11:47
我找到了你说的IrCOMM,但好像它不是基于bus的,是一个单独的driver,我要仔细看看 你找到的哪个IrCOMM网址是多少?或者能否Mail一个给我,多谢 |
|
|
9楼#
发布于:2003-08-26 10:56
Pls. consult linux/drivers/usb/acm.c source codes.
This is usb modem driver just like virtual tty (comm). |
|
10楼#
发布于:2003-08-26 19:08
我怎么没法给分,老是提示我登录
|
|
|