Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


WHQL for class filter driver problem

Yansheng_YuYansheng_Yu Member Posts: 7

Hi,

I wrote a class filter driver, and before we public the driver , we think it would be better to get driver signed by MSFT,

then, I setting up a WHQL environment, install the class filter driver in the agent,

however, I could not sort out the the class filter driver to be tested. it is not listed in the server.

In before, we might selected the unclassified catagory for the filter driver, and it look the "unclassified" catagory is missed in WHLK server now

[I don't know how to upload my screen shot here]
Screenshot description
on Server WLK tools column : [Project] [Selection] [Tested] [Result] [Package]

The [seclection] page will show the driver list to be tested : it classified : systems , device and printers , device manager, software device

My class filter driver not listed in any of the driver to be tested list, and there is no "unclassified" catagory.

my question is how to run a WHQL for class filter driver?

Comments

  • Yansheng_YuYansheng_Yu Member Posts: 7

    Is it good to select the device that my class filtter installed as the its lowefilter

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,373

    It is not possible to WHQL a class filter by itself, for the reasons you note. WHQL tests devices, and you don't have any devices. Your driver does not run in a "standalone" mode, so you can't even run basic driver tests. Yes, you ought to be able to select a device you are filtering and run the tests for that device class, but it's not clear that really exercises your driver.

    Do you actually have a driver package, with an INF and a CAT? The INF for a class filter often uses the [DefaultInstall] section, which is not really a PnP installation at all -- it's just a simple installer app. You can do the same thing with a simple app that copies the file and makes a couple of registry entries, without requiring a driver package.

    So, stepping back, why do you want to do this? Why not just get attestation signing and be done with it?

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Yansheng_YuYansheng_Yu Member Posts: 7

    Do you actually have a driver package, with an INF and a CAT?

    Yes, I install the driver package via right click the INF file and run [DefaultInstall] section.

    So, stepping back, why do you want to do this? Why not just get attestation signing and be done with it?

    we use testsigning mode for driver development, but we could not ask the customer to run the system in test mode.
    therefore we need to get the driver package signing from microsoft, and this need the WHQL test result package.
    Do I need to write the installer app to install the driver to make it looks like a PNP driver ?
    or just select a device that filter driver filtering to get the WHQL test package for delivering to MSFT.

    @Tim_Roberts said:
    It is not possible to WHQL a class filter by itself, for the reasons you note. WHQL tests devices, and you don't have any devices. Your driver does not run in a "standalone" mode, so you can't even run basic driver tests. Yes, you ought to be able to select a device you are filtering and run the tests for that device class, but it's not clear that really exercises your driver.

    The INF for a class filter often uses the [DefaultInstall] section, which is not really a PnP installation at all -- it's just a simple installer app. You can do the same thing with a simple app that copies the file and makes a couple of registry entries, without requiring a driver package.

  • Yansheng_YuYansheng_Yu Member Posts: 7

    @Tim_Roberts said:
    It is not possible to WHQL a class filter by itself, for the reasons you note. WHQL tests devices, and you don't have any devices. Your driver does not run in a "standalone" mode, so you can't even run basic driver tests. Yes, you ought to be able to select a device you are filtering and run the tests for that device class, but it's not clear that really exercises your driver.

    Do you actually have a driver package, with an INF and a CAT? The INF for a class filter often uses the [DefaultInstall] section, which is not really a PnP installation at all -- it's just a simple installer app. You can do the same thing with a simple app that copies the file and makes a couple of registry entries, without requiring a driver package.

    So, stepping back, why do you want to do this? Why not just get attestation signing and be done with it?

    As we did not needto update driver with MSFT, either Windows logo. I wil try to sign the driver directly

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,373

    I didn't say to sign the driver directly. I said to use attestation signing. That uses the same hardware dashboard portal that you use for WHQL, but does not require you to submit a WHQL test log.

    https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/code-signing-attestation
    https://www.osr.com/blog/2017/07/06/attestation-signing-mystery/

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 12 September 2022 Live, Online
Internals & Software Drivers 23 October 2022 Live, Online
Kernel Debugging 14 November 2022 Live, Online
Developing Minifilters 5 December 2022 Live, Online