Query

Hi all,
We are trying to develop a virtual modem on Windows NT. The idea is to
install a virtual comm port for which we have written a driver,
NewSerial.sys. Finally we want to send the data via a real comm port using
serial.sys.

Modem.sys
|
(NewSerial.sys)
|
Serial.sys
|
Real Comm Port

We are facing the following problems in the registry section.

  1. How do we create Virtual Comm Port which is visible to modem
    interface (RAS)
  2. How to specify that for this Virtual comm port, use our
    NewSerial.sys

Is there anyway we can specify in modem INF file to instruct the above 2.

TIA
Navin
Vijay

Friends,
I want to instruct the existing “Modem.sys” driver to send data to
“MYDRIVER.SYS” not to “SERIAL.SYS”.

Is it possible???

TIA
Navin

Yes. But what you really need to do is have your device mapped to a “comx”
port. Then this port is specified in the modem configuration. The
HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains a
link between devices and comx names. Your driver should read this key to
find the last configured comx port then create a comx+1 port entry for your
device.

Good Luck
Larry

----- Original Message -----
From: Navin Saini
To: NT Developers Interest List
Sent: Monday, May 08, 2000 11:34 AM
Subject: [ntdev] Query

> Friends,
> I want to instruct the existing “Modem.sys” driver to send data to
> “MYDRIVER.SYS” not to “SERIAL.SYS”.
>
> Is it possible???
>
> TIA
> Navin
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>

Larry I feel that the load sequence of the drivers in the stack would also play a role in this.
What do you say???

-----Original Message-----
From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
Sent: Tuesday, May 09, 2000 7:54 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

Yes. But what you really need to do is have your device mapped to a “comx”
port. Then this port is specified in the modem configuration. The
HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains a
link between devices and comx names. Your driver should read this key to
find the last configured comx port then create a comx+1 port entry for your
device.

Good Luck
Larry

----- Original Message -----
From: Navin Saini
To: NT Developers Interest List
Sent: Monday, May 08, 2000 11:34 AM
Subject: [ntdev] Query

> Friends,
> I want to instruct the existing “Modem.sys” driver to send data to
> “MYDRIVER.SYS” not to “SERIAL.SYS”.
>
> Is it possible???
>
> TIA
> Navin
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>


You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Yes,
The driver should probably wait for serial.sys to start. Then you
wouldn’t conflict with its com ports. This is done with a “DependsOn”
registry entry.

Larry
----- Original Message -----
From: Ajitabh Prakash
To: NT Developers Interest List
Sent: Tuesday, May 09, 2000 10:37 AM
Subject: [ntdev] Re: Query

> Larry I feel that the load sequence of the drivers in the stack would also
play a role in this.
> What do you say???
>
> -----Original Message-----
> From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> Sent: Tuesday, May 09, 2000 7:54 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Query
>
> Yes. But what you really need to do is have your device mapped to a “comx”
> port. Then this port is specified in the modem configuration. The
> HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains a
> link between devices and comx names. Your driver should read this key to
> find the last configured comx port then create a comx+1 port entry for
your
> device.
>
> Good Luck
> Larry
>
>
> ----- Original Message -----
> From: Navin Saini
> To: NT Developers Interest List
> Sent: Monday, May 08, 2000 11:34 AM
> Subject: [ntdev] Query
>
>
> > Friends,
> > I want to instruct the existing “Modem.sys” driver to send data to
> > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> >
> > Is it possible???
> >
> > TIA
> > Navin
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>

hi larry ,
Can you tell the exact path of this dependson Registry key you have mentioned.
Ajitabh

-----Original Message-----
From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
Sent: Wednesday, May 10, 2000 1:12 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

Yes,
The driver should probably wait for serial.sys to start. Then you
wouldn’t conflict with its com ports. This is done with a “DependsOn”
registry entry.

Larry
----- Original Message -----
From: Ajitabh Prakash
To: NT Developers Interest List
Sent: Tuesday, May 09, 2000 10:37 AM
Subject: [ntdev] Re: Query

> Larry I feel that the load sequence of the drivers in the stack would also
play a role in this.
> What do you say???
>
> -----Original Message-----
> From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> Sent: Tuesday, May 09, 2000 7:54 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Query
>
> Yes. But what you really need to do is have your device mapped to a “comx”
> port. Then this port is specified in the modem configuration. The
> HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains a
> link between devices and comx names. Your driver should read this key to
> find the last configured comx port then create a comx+1 port entry for
your
> device.
>
> Good Luck
> Larry
>
>
> ----- Original Message -----
> From: Navin Saini
> To: NT Developers Interest List
> Sent: Monday, May 08, 2000 11:34 AM
> Subject: [ntdev] Query
>
>
> > Friends,
> > I want to instruct the existing “Modem.sys” driver to send data to
> > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> >
> > Is it possible???
> >
> > TIA
> > Navin
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>


You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Create new group for ur driver in GroupOrderList and put the(insert) ur
group in proper( according to ur requirment) place in serviceGroupOrder\list
key…

Good luck.

  • giri

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ajitabh Prakash
Sent: Wednesday, May 10, 2000 10:52 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

hi larry ,
Can you tell the exact path of this dependson Registry key you have
mentioned.
Ajitabh

-----Original Message-----
From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
Sent: Wednesday, May 10, 2000 1:12 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

Yes,
The driver should probably wait for serial.sys to start. Then you
wouldn’t conflict with its com ports. This is done with a “DependsOn”
registry entry.

Larry
----- Original Message -----
From: Ajitabh Prakash
To: NT Developers Interest List
Sent: Tuesday, May 09, 2000 10:37 AM
Subject: [ntdev] Re: Query

> Larry I feel that the load sequence of the drivers in the stack would also
play a role in this.
> What do you say???
>
> -----Original Message-----
> From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> Sent: Tuesday, May 09, 2000 7:54 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Query
>
> Yes. But what you really need to do is have your device mapped to a “comx”
> port. Then this port is specified in the modem configuration. The
> HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains a
> link between devices and comx names. Your driver should read this key to
> find the last configured comx port then create a comx+1 port entry for
your
> device.
>
> Good Luck
> Larry
>
>
> ----- Original Message -----
> From: Navin Saini
> To: NT Developers Interest List
> Sent: Monday, May 08, 2000 11:34 AM
> Subject: [ntdev] Query
>
>
> > Friends,
> > I want to instruct the existing “Modem.sys” driver to send data to
> > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> >
> > Is it possible???
> >
> > TIA
> > Navin
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>


You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@teraltd.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

I have done that. But it is not helping.

It just ensures the Loading Sequence.

Navin


From: Girish Desai[SMTP:xxxxx@teraltd.com]
Sent: Wednesday, May 10, 2000 12:58 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

Create new group for ur driver in GroupOrderList and put the(insert) ur
group in proper( according to ur requirment) place in
serviceGroupOrder\list
key…

Good luck.

  • giri

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ajitabh Prakash
Sent: Wednesday, May 10, 2000 10:52 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

hi larry ,
Can you tell the exact path of this dependson Registry key you have
mentioned.
Ajitabh

-----Original Message-----
From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
Sent: Wednesday, May 10, 2000 1:12 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Query

Yes,
The driver should probably wait for serial.sys to start. Then you
wouldn’t conflict with its com ports. This is done with a “DependsOn”
registry entry.

Larry
----- Original Message -----
From: Ajitabh Prakash
> To: NT Developers Interest List
> Sent: Tuesday, May 09, 2000 10:37 AM
> Subject: [ntdev] Re: Query
>
>
> > Larry I feel that the load sequence of the drivers in the stack would
> also
> play a role in this.
> > What do you say???
> >
> > -----Original Message-----
> > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > Sent: Tuesday, May 09, 2000 7:54 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Query
> >
> > Yes. But what you really need to do is have your device mapped to a
> “comx”
> > port. Then this port is specified in the modem configuration. The
> > HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains
> a
> > link between devices and comx names. Your driver should read this key
> to
> > find the last configured comx port then create a comx+1 port entry for
> your
> > device.
> >
> > Good Luck
> > Larry
> >
> >
> > ----- Original Message -----
> > From: Navin Saini
> > To: NT Developers Interest List
> > Sent: Monday, May 08, 2000 11:34 AM
> > Subject: [ntdev] Query
> >
> >
> > > Friends,
> > > I want to instruct the existing “Modem.sys” driver to send data to
> > > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> > >
> > > Is it possible???
> > >
> > > TIA
> > > Navin
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@teraltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@dcmds.co.in
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>

hi frens

can u help me with following…
Is there anyway of getting the completion status of the IRP that is passed
to the lower level driver from the filter driver without setting a
completion routine??

If the completion routine is set, the system crashes with the error
“MULTIPLE COMPLETION REQUEST”

regards
Sudhir

This crash results from 2 calls being made to IoCompleteRequest for the same
Irp. Is your completion routine also calling IoCompleteRequest?

-----Original Message-----
From: Sudhir_Sambrani [mailto:xxxxx@Satyam.com]
Sent: Wednesday, May 10, 2000 7:34 AM
To: NT Developers Interest List
Subject: [ntdev] QUERY

hi frens

can u help me with following…
Is there anyway of getting the completion status of the IRP that is passed
to the lower level driver from the filter driver without setting a
completion routine??

If the completion routine is set, the system crashes with the error
“MULTIPLE COMPLETION REQUEST”

regards
Sudhir

no my completion routine is not calling
an IOCompleteREquest


From: Mark Cariddi[SMTP:xxxxx@osr.com]
Reply To: NT Developers Interest List
Sent: Wednesday, May 10, 2000 5:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: QUERY

This crash results from 2 calls being made to IoCompleteRequest for the
same Irp. Is your completion routine also calling IoCompleteRequest?

-----Original Message-----
From: Sudhir_Sambrani [mailto:xxxxx@Satyam.com]
Sent: Wednesday, May 10, 2000 7:34 AM
To: NT Developers Interest List
Subject: [ntdev] QUERY

hi frens

can u help me with following…
Is there anyway of getting the completion status of the IRP that is
passed to the lower level driver from the filter driver without setting a
completion routine??

If the completion routine is set, the system crashes with the error
“MULTIPLE COMPLETION REQUEST”

regards
Sudhir

You can not get a completion status for an IRP that you pass to another
driver without setting a completion routine. If there is a crash occuring
because of the presence of the filter driver, then the filter driver is
suspect. Is it possible that the stack is not being set up correctly
before the IRP is being passed to the lower driver? What type of filter
driver is this?

–Mark

-----Original Message-----
From: Sudhir_Sambrani [mailto:xxxxx@Satyam.com]
Sent: Wednesday, May 10, 2000 7:51 AM
To: NT Developers Interest List
Subject: [ntdev] RE: QUERY

no my completion routine is not calling
an IOCompleteREquest


From: Mark Cariddi[SMTP:xxxxx@osr.com]
Reply To: NT Developers Interest List
Sent: Wednesday, May 10, 2000 5:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: QUERY

This crash results from 2 calls being made to IoCompleteRequest for
the same Irp. Is your completion routine also calling IoCompleteRequest?

-----Original Message-----
From: Sudhir_Sambrani [ mailto:xxxxx@Satyam.com
mailto:xxxxx ]
Sent: Wednesday, May 10, 2000 7:34 AM
To: NT Developers Interest List
Subject: [ntdev] QUERY

hi frens

can u help me with following…
Is there anyway of getting the completion status of the IRP that is passed
to the lower level driver from the filter driver without setting a
completion routine??

If the completion routine is set, the system crashes with the error
“MULTIPLE COMPLETION REQUEST”

regards
Sudhir</mailto:xxxxx>

To have your driver wait for another driver to start a registry entry named
“DependOnService”, type REG_MULTI_SZ, is made in your drivers service key.
In this enty you then put “Serial”, the name of the serial.sys service.

Hope this helps. Tal a look in the registry at some of the service keys and
you will see other drivers using this.

Larry
----- Original Message -----
From: Ajitabh Prakash
To: NT Developers Interest List
Sent: Wednesday, May 10, 2000 1:22 AM
Subject: [ntdev] Re: Query

> hi larry ,
> Can you tell the exact path of this dependson Registry key you have
mentioned.
> Ajitabh
>
>
> -----Original Message-----
> From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> Sent: Wednesday, May 10, 2000 1:12 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Query
>
> Yes,
> The driver should probably wait for serial.sys to start. Then you
> wouldn’t conflict with its com ports. This is done with a “DependsOn”
> registry entry.
>
> Larry
> ----- Original Message -----
> From: Ajitabh Prakash
> To: NT Developers Interest List
> Sent: Tuesday, May 09, 2000 10:37 AM
> Subject: [ntdev] Re: Query
>
>
> > Larry I feel that the load sequence of the drivers in the stack would
also
> play a role in this.
> > What do you say???
> >
> > -----Original Message-----
> > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > Sent: Tuesday, May 09, 2000 7:54 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Query
> >
> > Yes. But what you really need to do is have your device mapped to a
“comx”
> > port. Then this port is specified in the modem configuration. The
> > HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key contains
a
> > link between devices and comx names. Your driver should read this key
to
> > find the last configured comx port then create a comx+1 port entry for
> your
> > device.
> >
> > Good Luck
> > Larry
> >
> >
> > ----- Original Message -----
> > From: Navin Saini
> > To: NT Developers Interest List
> > Sent: Monday, May 08, 2000 11:34 AM
> > Subject: [ntdev] Query
> >
> >
> > > Friends,
> > > I want to instruct the existing “Modem.sys” driver to send data to
> > > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> > >
> > > Is it possible???
> > >
> > > TIA
> > > Navin
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>

Larry,
in this “DependOnService” do the higher level driver need to report resource
usage. If it do that, than it will get resource conflict error.
(eg. reporting port address).
Isn’t DependOnService just for telling driver to be loaded after lower level
it (higher level driver) use?
How can this be avoided (resource conflict)? Avoiding to report some
resources driver mask, “forgetting” to report the ones that could cause
conflict error?

Neno
----- Original Message -----
From: “Larry Harmon”
To: “NT Developers Interest List”
Sent: 2000. svibanj 10 14:28
Subject: [ntdev] Re: Query

> To have your driver wait for another driver to start a registry entry
named
> “DependOnService”, type REG_MULTI_SZ, is made in your drivers service key.
> In this enty you then put “Serial”, the name of the serial.sys service.
>
> Hope this helps. Tal a look in the registry at some of the service keys
and
> you will see other drivers using this.
>
> Larry
> ----- Original Message -----
> From: Ajitabh Prakash
> To: NT Developers Interest List
> Sent: Wednesday, May 10, 2000 1:22 AM
> Subject: [ntdev] Re: Query
>
>
> > hi larry ,
> > Can you tell the exact path of this dependson Registry key you have
> mentioned.
> > Ajitabh
> >
> >
> > -----Original Message-----
> > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > Sent: Wednesday, May 10, 2000 1:12 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Query
> >
> > Yes,
> > The driver should probably wait for serial.sys to start. Then you
> > wouldn’t conflict with its com ports. This is done with a “DependsOn”
> > registry entry.
> >
> > Larry
> > ----- Original Message -----
> > From: Ajitabh Prakash
> > To: NT Developers Interest List
> > Sent: Tuesday, May 09, 2000 10:37 AM
> > Subject: [ntdev] Re: Query
> >
> >
> > > Larry I feel that the load sequence of the drivers in the stack would
> also
> > play a role in this.
> > > What do you say???
> > >
> > > -----Original Message-----
> > > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > > Sent: Tuesday, May 09, 2000 7:54 PM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] Re: Query
> > >
> > > Yes. But what you really need to do is have your device mapped to a
> “comx”
> > > port. Then this port is specified in the modem configuration. The
> > > HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key
contains
> a
> > > link between devices and comx names. Your driver should read this key
> to
> > > find the last configured comx port then create a comx+1 port entry for
> > your
> > > device.
> > >
> > > Good Luck
> > > Larry
> > >
> > >
> > > ----- Original Message -----
> > > From: Navin Saini
> > > To: NT Developers Interest List
> > > Sent: Monday, May 08, 2000 11:34 AM
> > > Subject: [ntdev] Query
> > >
> > >
> > > > Friends,
> > > > I want to instruct the existing “Modem.sys” driver to send data to
> > > > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> > > >
> > > > Is it possible???
> > > >
> > > > TIA
> > > > Navin
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
>
> —
> You are currently subscribed to ntdev as: boris.prekupec@vz.tel.hr
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>

I don’t understand where the resource conflict comes from. I thought we
were talking about adding com ports to the system, not replacing the ports
serial.sys provides.

Larry
----- Original Message -----
From: Prekupec Boris <boris.prekupec>
To: NT Developers Interest List
Sent: Thursday, May 11, 2000 3:50 AM
Subject: [ntdev] Re: Query

> Larry,
> in this “DependOnService” do the higher level driver need to report
resource
> usage. If it do that, than it will get resource conflict error.
> (eg. reporting port address).
> Isn’t DependOnService just for telling driver to be loaded after lower
level
> it (higher level driver) use?
> How can this be avoided (resource conflict)? Avoiding to report some
> resources driver mask, “forgetting” to report the ones that could cause
> conflict error?
>
> Neno
> ----- Original Message -----
> From: “Larry Harmon”
> To: “NT Developers Interest List”
> Sent: 2000. svibanj 10 14:28
> Subject: [ntdev] Re: Query
>
>
> > To have your driver wait for another driver to start a registry entry
> named
> > “DependOnService”, type REG_MULTI_SZ, is made in your drivers service
key.
> > In this enty you then put “Serial”, the name of the serial.sys service.
> >
> > Hope this helps. Tal a look in the registry at some of the service keys
> and
> > you will see other drivers using this.
> >
> > Larry
> > ----- Original Message -----
> > From: Ajitabh Prakash
> > To: NT Developers Interest List
> > Sent: Wednesday, May 10, 2000 1:22 AM
> > Subject: [ntdev] Re: Query
> >
> >
> > > hi larry ,
> > > Can you tell the exact path of this dependson Registry key you have
> > mentioned.
> > > Ajitabh
> > >
> > >
> > > -----Original Message-----
> > > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > > Sent: Wednesday, May 10, 2000 1:12 AM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] Re: Query
> > >
> > > Yes,
> > > The driver should probably wait for serial.sys to start. Then you
> > > wouldn’t conflict with its com ports. This is done with a “DependsOn”
> > > registry entry.
> > >
> > > Larry
> > > ----- Original Message -----
> > > From: Ajitabh Prakash
> > > To: NT Developers Interest List
> > > Sent: Tuesday, May 09, 2000 10:37 AM
> > > Subject: [ntdev] Re: Query
> > >
> > >
> > > > Larry I feel that the load sequence of the drivers in the stack
would
> > also
> > > play a role in this.
> > > > What do you say???
> > > >
> > > > -----Original Message-----
> > > > From: Larry Harmon [SMTP:xxxxx@hrdcorp.com]
> > > > Sent: Tuesday, May 09, 2000 7:54 PM
> > > > To: NT Developers Interest List
> > > > Subject: [ntdev] Re: Query
> > > >
> > > > Yes. But what you really need to do is have your device mapped to a
> > “comx”
> > > > port. Then this port is specified in the modem configuration. The
> > > > HKey_Local_Machine\Hardware\DeviceMap\SerialCom registry key
> contains
> > a
> > > > link between devices and comx names. Your driver should read this
key
> > to
> > > > find the last configured comx port then create a comx+1 port entry
for
> > > your
> > > > device.
> > > >
> > > > Good Luck
> > > > Larry
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Navin Saini
> > > > To: NT Developers Interest List
> > > > Sent: Monday, May 08, 2000 11:34 AM
> > > > Subject: [ntdev] Query
> > > >
> > > >
> > > > > Friends,
> > > > > I want to instruct the existing “Modem.sys” driver to send data to
> > > > > “MYDRIVER.SYS” not to “SERIAL.SYS”.
> > > > >
> > > > > Is it possible???
> > > > >
> > > > > TIA
> > > > > Navin
> > > > >
> > > > > —
> > > > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > > > To unsubscribe send a blank email to
$subst(‘Email.Unsub’)
> > > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as:
xxxxx@future.futsoft.com
> > > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> >
> >
> > —
> > You are currently subscribed to ntdev as: boris.prekupec@vz.tel.hr
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
></boris.prekupec>

I’m not sure if I have right understand the concept of intermediate drivers
in DDK. Let’s say I have intermediate driver above serial.sys, and I have
some new functions that mydriver.sys do and serial.sys doesn’t. But as I
have device connected on for eg. COM2 port, which one is mapped by
serial.sys, and I need them both to work with my device on COM2 what should
I do in that case?
Can I add new port, connect device to that new port, and somehow achieve
that serial.sys works on that port also. How to do that?

Regards,
Neno

----- Original Message -----
From: “Larry Harmon”
To: “NT Developers Interest List”
Sent: 2000. svibanj 11 13:44
Subject: [ntdev] Re: Query

> I don’t understand where the resource conflict comes from. I thought we
> were talking about adding com ports to the system, not replacing the ports
> serial.sys provides.
>
> Larry

I believe you have three options:

  1. Write a driver which replaces serial.sys
  2. Write a driver which has its own symbolic link and uses serial.sys
  3. Write a driver which “attaches” to serial.sys, intercepting its
    IRPs, handling some and passing others directly to serial.sys.

I have written both types 1 and 2, but not 3. If thats what you want you’ll
need to read the DDK.

Good Luck
Larry

----- Original Message -----
From: Prekupec Boris <boris.prekupec>
To: NT Developers Interest List
Sent: Friday, May 12, 2000 4:42 AM
Subject: [ntdev] Re: Query

> I’m not sure if I have right understand the concept of intermediate
drivers
> in DDK. Let’s say I have intermediate driver above serial.sys, and I have
> some new functions that mydriver.sys do and serial.sys doesn’t. But as I
> have device connected on for eg. COM2 port, which one is mapped by
> serial.sys, and I need them both to work with my device on COM2 what
should
> I do in that case?
> Can I add new port, connect device to that new port, and somehow achieve
> that serial.sys works on that port also. How to do that?
>
> Regards,
> Neno
>
> ----- Original Message -----
> From: “Larry Harmon”
> To: “NT Developers Interest List”
> Sent: 2000. svibanj 11 13:44
> Subject: [ntdev] Re: Query
>
>
> > I don’t understand where the resource conflict comes from. I thought we
> > were talking about adding com ports to the system, not replacing the
ports
> > serial.sys provides.
> >
> > Larry
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hrdcorp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
></boris.prekupec>