Hello driver developers,

I am *VERY* new to driver development. As a matter of fact, I do driver
installs mostly and now am beginning to learn about developing drivers.

Here is my question:

We have a filter driver (class filter driver) that should be applied to all
Hard Disk Controllers (HDC). The end result should be that all messages to
hard disk and optical media should be intercepted by the filter driver.
This used to work fine, until the hardware on the system that I am
installing this driver on has changed (OS has changed to Vista as well).
Now the system uses SATA with AHCI. I have no problem installing the filter
on the hard disk, but the filter does not get applied to the optical media
for some odd reason. Is it possible to have a filter driver written for
devices connected via SATA?

On the side note, I am just wondering what creates the following registry
key(s) and writes values under them - is it the driver itself or the PNP
manager?

HKLM\SYSTEM\CurrentControlSet\Services\<DriverName>\Enum.

Thank you so much,
Natalia

Re: NewB question regarding filter drivers by Maxim

Maxim
Sat Aug 25 13:54:54 CDT 2007

Why not make a coinstaller DLL which will install your filter for each
newly created devnode?
The same DLL can also do the job of "enumerate existing devnodes and
install filters there", and so be a part of InstallShield custom action.

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

"Natalia DeBow" <natalia.debow@unisys.com> wrote in message
news:fakeh9$4h9$1@si05.rsvl.unisys.com...
> Hello driver developers,
>
> I am *VERY* new to driver development. As a matter of fact, I do driver
> installs mostly and now am beginning to learn about developing drivers.
>
> Here is my question:
>
> We have a filter driver (class filter driver) that should be applied to all
> Hard Disk Controllers (HDC). The end result should be that all messages to
> hard disk and optical media should be intercepted by the filter driver.
> This used to work fine, until the hardware on the system that I am
> installing this driver on has changed (OS has changed to Vista as well).
> Now the system uses SATA with AHCI. I have no problem installing the filter
> on the hard disk, but the filter does not get applied to the optical media
> for some odd reason. Is it possible to have a filter driver written for
> devices connected via SATA?
>
> On the side note, I am just wondering what creates the following registry
> key(s) and writes values under them - is it the driver itself or the PNP
> manager?
>
> HKLM\SYSTEM\CurrentControlSet\Services\<DriverName>\Enum.
>
> Thank you so much,
> Natalia
>
>


Re: NewB question regarding filter drivers by Walter

Walter
Sat Aug 25 17:21:41 CDT 2007

> "Natalia DeBow" <natalia.debow@unisys.com> wrote in message
> news:fakeh9$4h9$1@si05.rsvl.unisys.com...
> > Hello driver developers,
> >
> > I am *VERY* new to driver development. As a matter of fact, I do driver
> > installs mostly and now am beginning to learn about developing drivers.
> >
> > Here is my question:
> >
> > We have a filter driver (class filter driver) that should be applied to all
> > Hard Disk Controllers (HDC). The end result should be that all messages to
> > hard disk and optical media should be intercepted by the filter driver.
> > This used to work fine, until the hardware on the system that I am
> > installing this driver on has changed (OS has changed to Vista as well).
> > Now the system uses SATA with AHCI. I have no problem installing the filter
> > on the hard disk, but the filter does not get applied to the optical media
> > for some odd reason. Is it possible to have a filter driver written for
> > devices connected via SATA?

It's very easy to install a class filter, and I'm sure you're already
using that method with great success. If it's failing for a particular
device, it's possible that the strange device belongs to a different
setup class. The easiest way to find out what's going on is to look at
the class key for a device to see if it has the expected UpperFilters or
LowerFilters values. (Chap 16 of my WDM book explains how to find the
class key; post another message if you don't have the book or can't
figure out the explanation.)

--
Walter Oney, Consulting and Training
http://www.oneysoft.com