Yes, that’s what I ment. Thanks for actually *saying* it 
Basically you’d setup a KMDF filter on your device stack which accepted
one I/O control from your driver which told it the COM port name and the
device interface to link to. The KMDF driver can determine the rest and
setup the symbolic links and registry entries directly.
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, February 01, 2007 2:21 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] MultiportSerial vs. Ports class Architectural
Question
I guess you could install the driver as a filter in KM to do this so
that you don’t have the KM driver running all of the time…
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Wieland
Sent: Thursday, February 01, 2007 2:16 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] MultiportSerial vs. Ports class Architectural
Question
3 - they don’t right now. We’re working on it - release indeterminate
so don’t hold breath. However whatever agent creates the SERIALCOMM
entries could also create the symbolic links. We think one could build
a small KMDF driver to do these two things for you. It doesn’t get all
the code out of the kernel, but it does make a lot of it go away.
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, February 01, 2007 1:53 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] MultiportSerial vs. Ports class Architectural
Question
There are 3 issues here.
-
you need to get 4 COM port names. If each port was its own device
stack, this would be no problem. You install each in the ports class
and the ports class installer gives you a COM port name. If each port
is not its own device stack, you will need to call the ComDB on your own
to claim the names
-
once you get the names, there is a registry key you need to write to
(HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM) which you do not have
sufficient rights to do so in the UMDF process. Most apps use this reg
key as the way to find ports
-
if each port is not its own device stack, you will need a way to
know which COM port is being opened. I don’t think the UMDF apis which
let you create a symbolic link let you specify a reference string to let
you differentiate the port name in your create file handler
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Greg Thomson
Sent: Thursday, February 01, 2007 1:36 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] MultiportSerial vs. Ports class Architectural
Question
>How is the black box physically connected to the machine? You said
>TCP/IP, does that mean these are virtual ports and the hardware is
remote?
Yes, the black box is remote with its serial ports available via
standard
sockets (winsock2).
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer