Unable to install toaster filter driver.

Hi,

I am new to windows driver development. I was trying to install toaster drivers from WDK samples. (WinDDK\7600.16385.1\src)

I was successful in installing KMDF function driver (wdffeatured). But when I tried to install generic filter driver (\src\general\toaster\kmdf\filter\generic) using devcon, it gave an error: “devcon failed”.

Upon going through filter.inx (src\general\toaster\kmdf\filter) I found that the device Id is same for function driver(wdffeatured) and filter driver. Could it be a reason for failure?

If not, What can be the reasons for failure of installation of filter driver?

Thanks,
Kunal

The first thing when you have an install failure is to check the
SetupAPI log for what happened.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@hotmail.com” wrote in
message news:xxxxx@ntdev:

> Hi,
>
> I am new to windows driver development. I was trying to install toaster drivers from WDK samples. (WinDDK\7600.16385.1\src)
>
> I was successful in installing KMDF function driver (wdffeatured). But when I tried to install generic filter driver (\src\general\toaster\kmdf\filter\generic) using devcon, it gave an error: “devcon failed”.
>
> Upon going through filter.inx (src\general\toaster\kmdf\filter) I found that the device Id is same for function driver(wdffeatured) and filter driver. Could it be a reason for failure?
>
> If not, What can be the reasons for failure of installation of filter driver?
>
> Thanks,
> Kunal

xxxxx@hotmail.com wrote:

I am new to windows driver development. I was trying to install toaster drivers from WDK samples. (WinDDK\7600.16385.1\src)

I was successful in installing KMDF function driver (wdffeatured). But when I tried to install generic filter driver (\src\general\toaster\kmdf\filter\generic) using devcon, it gave an error: “devcon failed”.

HOW were you using “devcon”? Devcon has a lot of subcommands, and some
of them do not do what you think they do.

Upon going through filter.inx (src\general\toaster\kmdf\filter) I found that the device Id is same for function driver(wdffeatured) and filter driver. Could it be a reason for failure?

That INF installs both the function driver and the filter driver. If
you just want to add the filter driver, you can do that simply by
copying the file and modifying the registry. Otherwise, you should
uninstall your first driver and install the second. Note that
“wdffeatured.sys” needs to be part of the driver package for the filter
driver.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.