How do .inf & special files for simple kernel driver

I am trying to understand alghoritm of setup for simple kernel driver
(Interrupt, Port I/O, Memory Access) in W2K. I made drivers for Windows NT
five years ago - usualy I prepared key in Registry in
HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I need
setup some identic dirvers and make it in W2K. I thought about use Enum
key. But I don’t understand alghoritm of setup (inf?, co-installer?, class
installer?). Can somebody explain what needs make?

Thanks in advance,
Andrei Souvalsky

No short answers for such a question. It is covered in around 150 pages in
MSDN Library or Walter Oney’s book.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Andrei Souvalski”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 01, 2004 12:54 PM
Subject: [ntdev] How do .inf & special files for simple kernel driver

> I am trying to understand alghoritm of setup for simple kernel driver
> (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for Windows NT
> five years ago - usualy I prepared key in Registry in
> HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I need
> setup some identic dirvers and make it in W2K. I thought about use Enum
> key. But I don’t understand alghoritm of setup (inf?, co-installer?, class
> installer?). Can somebody explain what needs make?
>
> Thanks in advance,
> Andrei Souvalsky
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

A couple of things here:

  1. You do not mess with the Enum key, that is owned by the OS.
  2. Is your driver Plug and Play? If it isn’t then you NT install may
    work, but to be a good citizen you should upgrade the driver to PnP if it
    isn’t.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Andrei Souvalski” wrote in message
news:xxxxx@ntdev…
> I am trying to understand alghoritm of setup for simple kernel driver
> (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for Windows NT
> five years ago - usualy I prepared key in Registry in
> HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I need
> setup some identic dirvers and make it in W2K. I thought about use Enum
> key. But I don’t understand alghoritm of setup (inf?, co-installer?, class
> installer?). Can somebody explain what needs make?
>
> Thanks in advance,
> Andrei Souvalsky
>
>

Maxim
I read MSDN and don’t understand what I have to make firstly, secondly and
etc. No idea. I have enough experience, was MCSE/MCSD but only I was not
MVP. I am not understanding logic of kernel driver setup. I need idea of
this setup. 150 pages in MSDN Library is redundancy of information.

Thanks in advance,
Andrei Souvalsky

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 01, 2004 2:01 PM
Subject: Re: [ntdev] How do .inf & special files for simple kernel driver

> No short answers for such a question. It is covered in around 150
pages in
> MSDN Library or Walter Oney’s book.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Andrei Souvalski”
> To: “Windows System Software Devs Interest List”
> Sent: Monday, November 01, 2004 12:54 PM
> Subject: [ntdev] How do .inf & special files for simple kernel driver
>
>
> > I am trying to understand alghoritm of setup for simple kernel driver
> > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for Windows
NT
> > five years ago - usualy I prepared key in Registry in
> > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
need
> > setup some identic dirvers and make it in W2K. I thought about use
Enum
> > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
class
> > installer?). Can somebody explain what needs make?
> >
> > Thanks in advance,
> > Andrei Souvalsky
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@com2com.ru
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Don,

  1. How I can setup some identic cards for one driver without using Enum key?
  2. No, it’s simple driver which work with some identic cards and use
    according to one interrupt, group ports I/O, memory access for each card.
    Windows NT setup works only one card, I want use some cards for this
    driver. So I think use Enum key from driver for device creating for each
    card.

Thanks in advance,
Andrei Souvalsky

----- Original Message -----
From: “Don Burn”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, November 01, 2004 4:13 PM
Subject: Re:[ntdev] How do .inf & special files for simple kernel driver

> A couple of things here:
>
> 1. You do not mess with the Enum key, that is owned by the OS.
> 2. Is your driver Plug and Play? If it isn’t then you NT install
may
> work, but to be a good citizen you should upgrade the driver to PnP if it
> isn’t.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> “Andrei Souvalski” wrote in message
> news:xxxxx@ntdev…
> > I am trying to understand alghoritm of setup for simple kernel driver
> > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for Windows
NT
> > five years ago - usualy I prepared key in Registry in
> > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
need
> > setup some identic dirvers and make it in W2K. I thought about use
Enum
> > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
class
> > installer?). Can somebody explain what needs make?
> >
> > Thanks in advance,
> > Andrei Souvalsky
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@com2com.ru
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

I’m not sure if this covers what you need to know or not, but here’s a
web-page with simplistic explanation of .INF’s.

http://www.wd-3.com/archive/InfFiles.htm

P.S. I don’t know much about .INF’s, so no use asking me questions. I just
thought the page may come in handy at some point…


Mats

xxxxx@lists.osr.com wrote on 11/01/2004 02:18:29 PM:

Maxim
I read MSDN and don’t understand what I have to make firstly, secondly
and
etc. No idea. I have enough experience, was MCSE/MCSD but only I was not
MVP. I am not understanding logic of kernel driver setup. I need idea of
this setup. 150 pages in MSDN Library is redundancy of information.

Thanks in advance,
Andrei Souvalsky

----- Original Message -----
From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Monday, November 01, 2004 2:01 PM
> Subject: Re: [ntdev] How do .inf & special files for simple kernel driver
>
>
> > No short answers for such a question. It is covered in around 150
> pages in
> > MSDN Library or Walter Oney’s book.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Andrei Souvalski”
> > To: “Windows System Software Devs Interest List”
> > Sent: Monday, November 01, 2004 12:54 PM
> > Subject: [ntdev] How do .inf & special files for simple kernel driver
> >
> >
> > > I am trying to understand alghoritm of setup for simple kernel driver
> > > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for
Windows
> NT
> > > five years ago - usualy I prepared key in Registry in
> > > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
> need
> > > setup some identic dirvers and make it in W2K. I thought about use
> Enum
> > > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
> class
> > > installer?). Can somebody explain what needs make?
> > >
> > > Thanks in advance,
> > > Andrei Souvalsky
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@com2com.ru
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.
> osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> ForwardSourceID:NT0000674A

Then write a PnP driver, and use a LogConfig section in your INF. This will
allow you to make choices for the cards resources, an example of this is the
serial port. Again, you do not fiddle the Enum key, the plug and play
manager is the omly owner of this, messing with this can produce an ustable
system!


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Andrei Souvalski” wrote in message
news:xxxxx@ntdev…
> Don,
>
> 1. How I can setup some identic cards for one driver without using Enum
key?
> 2. No, it’s simple driver which work with some identic cards and use
> according to one interrupt, group ports I/O, memory access for each card.
> Windows NT setup works only one card, I want use some cards for this
> driver. So I think use Enum key from driver for device creating for each
> card.
>
> Thanks in advance,
> Andrei Souvalsky
>
>
>
> ----- Original Message -----
> From: “Don Burn”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Monday, November 01, 2004 4:13 PM
> Subject: Re:[ntdev] How do .inf & special files for simple kernel driver
>
>
> > A couple of things here:
> >
> > 1. You do not mess with the Enum key, that is owned by the OS.
> > 2. Is your driver Plug and Play? If it isn’t then you NT install
> may
> > work, but to be a good citizen you should upgrade the driver to PnP if
it
> > isn’t.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> > “Andrei Souvalski” wrote in message
> > news:xxxxx@ntdev…
> > > I am trying to understand alghoritm of setup for simple kernel driver
> > > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for
Windows
> NT
> > > five years ago - usualy I prepared key in Registry in
> > > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
> need
> > > setup some identic dirvers and make it in W2K. I thought about use
> Enum
> > > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
> class
> > > installer?). Can somebody explain what needs make?
> > >
> > > Thanks in advance,
> > > Andrei Souvalsky
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@com2com.ru
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>

Don,

I will try to use your advice. It’s seems is good idea - PnP driver.
Thank you

----- Original Message -----
From: “Don Burn”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, November 01, 2004 5:45 PM
Subject: Re:[ntdev] Re:How do .inf & special files for simple kernel driver

> Then write a PnP driver, and use a LogConfig section in your INF. This
will
> allow you to make choices for the cards resources, an example of this is
the
> serial port. Again, you do not fiddle the Enum key, the plug and play
> manager is the omly owner of this, messing with this can produce an
ustable
> system!
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> “Andrei Souvalski” wrote in message
> news:xxxxx@ntdev…
> > Don,
> >
> > 1. How I can setup some identic cards for one driver without using Enum
> key?
> > 2. No, it’s simple driver which work with some identic cards and use
> > according to one interrupt, group ports I/O, memory access for each
card.
> > Windows NT setup works only one card, I want use some cards for this
> > driver. So I think use Enum key from driver for device creating for each
> > card.
> >
> > Thanks in advance,
> > Andrei Souvalsky
> >
> >
> >
> > ----- Original Message -----
> > From: “Don Burn”
> > Newsgroups: ntdev
> > To: “Windows System Software Devs Interest List”
> > Sent: Monday, November 01, 2004 4:13 PM
> > Subject: Re:[ntdev] How do .inf & special files for simple kernel driver
> >
> >
> > > A couple of things here:
> > >
> > > 1. You do not mess with the Enum key, that is owned by the OS.
> > > 2. Is your driver Plug and Play? If it isn’t then you NT
install
> > may
> > > work, but to be a good citizen you should upgrade the driver to PnP if
> it
> > > isn’t.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > > Remove StopSpam from the email to reply
> > >
> > > “Andrei Souvalski” wrote in message
> > > news:xxxxx@ntdev…
> > > > I am trying to understand alghoritm of setup for simple kernel
driver
> > > > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for
> Windows
> > NT
> > > > five years ago - usualy I prepared key in Registry in
> > > > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
> > need
> > > > setup some identic dirvers and make it in W2K. I thought about use
> > Enum
> > > > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
> > class
> > > > installer?). Can somebody explain what needs make?
> > > >
> > > > Thanks in advance,
> > > > Andrei Souvalsky
> > > >
> > > >
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@com2com.ru
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@com2com.ru
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Mats,

Web-page are interested, especially name “INF Files for Bears of Lttle
Brain” :).

Thank you, it was intresting.

Best regards,
Andrei Souvalski

----- Original Message -----
From: “Mats PETERSSON”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 01, 2004 5:41 PM
Subject: Re: [ntdev] How do .inf & special files for simple kernel driver

>
>
>
>
>
> I’m not sure if this covers what you need to know or not, but here’s a
> web-page with simplistic explanation of .INF’s.
>
> http://www.wd-3.com/archive/InfFiles.htm
>
> P.S. I don’t know much about .INF’s, so no use asking me questions. I just
> thought the page may come in handy at some point…
>
> –
> Mats
>
> xxxxx@lists.osr.com wrote on 11/01/2004 02:18:29 PM:
>
> > Maxim
> > I read MSDN and don’t understand what I have to make firstly, secondly
> and
> > etc. No idea. I have enough experience, was MCSE/MCSD but only I was not
> > MVP. I am not understanding logic of kernel driver setup. I need idea
of
> > this setup. 150 pages in MSDN Library is redundancy of information.
> >
> > Thanks in advance,
> > Andrei Souvalsky
> >
> > ----- Original Message -----
> > From: “Maxim S. Shatskih”
> > To: “Windows System Software Devs Interest List”
> > Sent: Monday, November 01, 2004 2:01 PM
> > Subject: Re: [ntdev] How do .inf & special files for simple kernel
driver
> >
> >
> > > No short answers for such a question. It is covered in around 150
> > pages in
> > > MSDN Library or Walter Oney’s book.
> > >
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > xxxxx@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > > ----- Original Message -----
> > > From: “Andrei Souvalski”
> > > To: “Windows System Software Devs Interest List”
> > > Sent: Monday, November 01, 2004 12:54 PM
> > > Subject: [ntdev] How do .inf & special files for simple kernel driver
> > >
> > >
> > > > I am trying to understand alghoritm of setup for simple kernel
driver
> > > > (Interrupt, Port I/O, Memory Access) in W2K. I made drivers for
> Windows
> > NT
> > > > five years ago - usualy I prepared key in Registry in
> > > > HKLM/…/…/Services/KDriver and it was enough. Unfortunetly, now I
> > need
> > > > setup some identic dirvers and make it in W2K. I thought about use
> > Enum
> > > > key. But I don’t understand alghoritm of setup (inf?, co-installer?,
> > class
> > > > installer?). Can somebody explain what needs make?
> > > >
> > > > Thanks in advance,
> > > > Andrei Souvalsky
> > > >
> > > >
> > > > —
> > > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > > >
> > > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@com2com.ru
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at http://www.
> > osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> > ForwardSourceID:NT0000674A
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@com2com.ru
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>