how to install upper filter driver for Usb video class

Discussion in 'Windows Vista Drivers' started by Steve, Aug 9, 2007.

  1. Steve

    Steve Guest

    Hi all,

    I am a new hand for development of device drivers.

    I met with a problem, when I write a simple inf for installing upper filter

    When I install the inf from control panel' adding hardward program,

    I encountered an error: the location can not contain the hardware-related

    Is anyone know the reason of error ? Thanks.
    If anyone have experience about upper filter driver for USB video class,
    Could you kindly share you experience with me?

    Below is the inf.

    ;Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
    ;Module Name:
    ; usbCameraFilter.INF
    ; INF file for installing usbCameraFilter filter drivers
    Signature="$WINDOWS NT$"

    DefaultDestDir = 12

    1 = %DiskId1%,,,""

    ; usbCameraFilter Device Filter Install Section


    ; DisplayName Section DeviceId
    ; ----------- ------- --------



    ;=============== Get the standard stuff from Toaster.inf==============


    ; Add registry entries here

    ;================ Add our own stuff
    AddReg = usbCameraFilter.NT.HW.AddReg

    ;================ Add in the standard stuff provided by Toaster
    ;Include = toaster.inf
    ;Needs = Toaster_Device.NT.HW


    ; usbCameraFilter Device Filter Service Section

    ;Do not specify SPSVCINST_ASSOCSERVICE on filter drivers.
    AddService = usbvideo,0x00000002,USBVideo.ServiceInstall
    AddService = usbCameraFilter,, filter_Service_Inst
    ;=========== This will add toaster as the service and make sure =====
    ;=========== that toaster.sys has been installed ====================

    DisplayName = %filter.SvcDesc%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\usbCameraFiltr.sys

    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\usbvideo.sys

    usbCameraFiltr.sys = 1,,

    MSFT = "usb Camera"
    StdMfg = "(Standard system devices)"
    ClassName = "usb Camera"

    usbCameraFilter.DeviceDesc = "Microsoft Toaster With Upper Device Filter"
    filter.SvcDesc = "Usb Camera Filter Driver"
    DiskId1 = "usb Camera Filter Installation Disk #1"
    Steve, Aug 9, 2007
    1. Advertisements

  2. you cannot use the add new hw wizard for a pnp detected device. use the
    update hw wizard in device manager to instal your filter. I don't know how
    much you will be able to filter above usb video since the upper edge of KS
    is not documented.


    Please do not send e-mail directly to this alias. this alias is for
    newsgroup purposes only.
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Doron Holan [MSFT], Aug 10, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.