Serial.sys Operations

Dear list members,

I have build the serial driver shipped with NT ddk and
I installed it on my system. It showing the ports. But
it is not performing any read/write operations on the
port. Is the driver not fully functional? Please send
any reference links to the fully working serial driver
examples.

If I want to create a COM port of my own and handle
the operations on it, where should I modify on the
source files(Which file and which function).

Bye…
Chandu

=====
Vallabhaneni Chandra SekharMIC Electronics Limitedhttp://www.micelectronics.com


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Chandu,
The serial driver(from NT DDK) is a good sample
to start with. I would suggest you take the serial
driver of Win2k DDK which is the enhanced version, the
enhancement includes PNP and Power handling and
others.

As far as your problem is concerned, check the IRQL
and IO address mapping when you load the driver. It
won’t work, if there is a resource conflict. Check
this first in the Device Manager settings.

Is this driver going to handle any hardware or is it
just a virtual port ?

Cheers,
Jay

— Chandu wrote:
> Dear list members,
>
> I have build the serial driver shipped with NT ddk
> and
> I installed it on my system. It showing the ports.
> But
> it is not performing any read/write operations on
> the
> port. Is the driver not fully functional? Please
> send
> any reference links to the fully working serial
> driver
> examples.
>
> If I want to create a COM port of my own and handle
> the operations on it, where should I modify on the
> source files(Which file and which function).
>
> Bye…
> Chandu
>
> =====
> Vallabhaneni Chandra SekharMIC Electronics
> Limitedhttp://www.micelectronics.com
>
>
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanyou Dev,

I have to just create the port and handle read/writes
on the port. There is no hardware mapping.

Can you suggest some way to do this.

Chandu

— jayadev m n wrote:
> Chandu,
> The serial driver(from NT DDK) is a good sample
> to start with. I would suggest you take the serial
> driver of Win2k DDK which is the enhanced version,
> the
> enhancement includes PNP and Power handling and
> others.
>
> As far as your problem is concerned, check the IRQL
> and IO address mapping when you load the driver. It
> won’t work, if there is a resource conflict. Check
> this first in the Device Manager settings.
>
> Is this driver going to handle any hardware or is it
> just a virtual port ?
>
> Cheers,
> Jay
>
> — Chandu wrote:
> > Dear list members,
> >
> > I have build the serial driver shipped with NT ddk
> > and
> > I installed it on my system. It showing the ports.
> > But
> > it is not performing any read/write operations on
> > the
> > port. Is the driver not fully functional? Please
> > send
> > any reference links to the fully working serial
> > driver
> > examples.
> >
> > If I want to create a COM port of my own and
> handle
> > the operations on it, where should I modify on the
> > source files(Which file and which function).
> >
> > Bye…
> > Chandu
> >
> > =====
> > Vallabhaneni Chandra SekharMIC Electronics
> > Limitedhttp://www.micelectronics.com
> >
> >
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>

> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

=====
Vallabhaneni Chandra SekharMIC Electronics Limitedhttp://www.micelectronics.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Chandu,

If you are running NT 4.0 and built the serial.sys driver from the NT DDK, you will be able to copy the serial.sys file over the one in the \winnt\system32\drivers, restart NT and use the driver. It does work!

Larry

-----Original Message-----
From: Chandu [mailto:xxxxx@yahoo.com]
Sent: Thursday, October 11, 2001 6:07 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Serial.sys Operations

Thanyou Dev,

I have to just create the port and handle read/writes
on the port. There is no hardware mapping.

Can you suggest some way to do this.

Chandu

— jayadev m n wrote:
> Chandu,
> The serial driver(from NT DDK) is a good sample
> to start with. I would suggest you take the serial
> driver of Win2k DDK which is the enhanced version,
> the
> enhancement includes PNP and Power handling and
> others.
>
> As far as your problem is concerned, check the IRQL
> and IO address mapping when you load the driver. It
> won’t work, if there is a resource conflict. Check
> this first in the Device Manager settings.
>
> Is this driver going to handle any hardware or is it
> just a virtual port ?
>
> Cheers,
> Jay
>
> — Chandu wrote:
> > Dear list members,
> >
> > I have build the serial driver shipped with NT ddk
> > and
> > I installed it on my system. It showing the ports.
> > But
> > it is not performing any read/write operations on
> > the
> > port. Is the driver not fully functional? Please
> > send
> > any reference links to the fully working serial
> > driver
> > examples.
> >
> > If I want to create a COM port of my own and
> handle
> > the operations on it, where should I modify on the
> > source files(Which file and which function).
> >
> > Bye…
> > Chandu
> >
> > =====
> > Vallabhaneni Chandra SekharMIC Electronics
> > Limitedhttp://www.micelectronics.com
> >
> >
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>

> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

=====
Vallabhaneni Chandra SekharMIC Electronics Limitedhttp://www.micelectronics.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: xxxxx@diebold.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Chandu,
Use the Win2k serial driver and remove the
hardware related stuff. I understand that it is a bit
complicated driver and not easy to remove the
unnecessary. The good approach I often follow is write
a skeleton driver which will support the required IRP
Major functions, put some default handling for the
IRP, Create a device object and export symbolic link.
That’s it i have a driver ready, later add the flesh
to match my requirements.

So, on these ideas create a skeleton driver with
Ntdevice - \Device as some \ChanduSerial5 and DOS
device name \DosDevices as \COM5. Install the driver
and you have a COM5. Add the required later.

I apologize for “ChanduSerial5”.

Cheers,
Jay

— Chandu wrote:
> Thanyou Dev,
>
> I have to just create the port and handle
> read/writes
> on the port. There is no hardware mapping.
>
> Can you suggest some way to do this.
>
> Chandu
>
> — jayadev m n wrote:
> > Chandu,
> > The serial driver(from NT DDK) is a good
> sample
> > to start with. I would suggest you take the serial
> > driver of Win2k DDK which is the enhanced version,
> > the
> > enhancement includes PNP and Power handling and
> > others.
> >
> > As far as your problem is concerned, check the
> IRQL
> > and IO address mapping when you load the driver.
> It
> > won’t work, if there is a resource conflict. Check
> > this first in the Device Manager settings.
> >
> > Is this driver going to handle any hardware or is
> it
> > just a virtual port ?
> >
> > Cheers,
> > Jay
> >
> > — Chandu wrote:
> > > Dear list members,
> > >
> > > I have build the serial driver shipped with NT
> ddk
> > > and
> > > I installed it on my system. It showing the
> ports.
> > > But
> > > it is not performing any read/write operations
> on
> > > the
> > > port. Is the driver not fully functional? Please
> > > send
> > > any reference links to the fully working serial
> > > driver
> > > examples.
> > >
> > > If I want to create a COM port of my own and
> > handle
> > > the operations on it, where should I modify on
> the
> > > source files(Which file and which function).
> > >
> > > Bye…
> > > Chandu
> > >
> > > =====
> > > Vallabhaneni Chandra SekharMIC Electronics
> > > Limitedhttp://www.micelectronics.com
> > >
> > >
>
> > > Do You Yahoo!?
> > > Make a great connection at Yahoo! Personals.
> > > http://personals.yahoo.com
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > > xxxxx@yahoo.com
> > > To unsubscribe send a blank email to
> > leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> >
> >

> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> =====
> Vallabhaneni Chandra SekharMIC Electronics
> Limitedhttp://www.micelectronics.com
>
>
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Chandu,

Ofcourse add the corresponding entries into the
device\Serial map in registry.

Cheers,
Jay


Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com