Get Descriptor Command is not trapped in the Lower USB Bus Filter driver

Discussion in 'Windows Vista Drivers' started by AKSHAHI, Jul 21, 2007.


    AKSHAHI Guest

    Hi All ,

    I am creating a Lower filter for USB , So that i can switch the
    configuration during enumeration .

    I use the toaster applicaiton of the DDK & install my driver from
    registry (By modifying the USB class entry :Add an entry for lower

    When device is attached , the First Configuration request(for Device
    Descriptor & Configration Descriptr) is not passed through my Driver &
    After that Add Device function of my Driver is called , where there
    is again call for the Descriptor(for Device Descriptor & Configration

    My Lower Bus Filter is able to trap second & onward request but not
    the first request .

    What modificaiton I need to do to trap the first configuration
    request .

    AKSHAHI, Jul 21, 2007
    1. Advertisements

  2. It is a part of enumeration process, done by HC driver.

    Anatoly Greenblatt, Jul 23, 2007
    1. Advertisements


    Tim Roberts Guest

    That doesn't mean anything. Exactly where have you inserted your filter?
    Between which two drivers? It's important. If your filter is associated
    with your device's VID/PID, then of course it won't get loaded until the
    initial configuration is done.
    Tim Roberts, Jul 24, 2007

    AKSHAHI Guest

    Hi ,
    I am inserting the filter Driver below the USB class


    I created a new entry & inserted the Filter Driver here

    I think my driver is below the Hub & not specific to my Device(Vid/
    PID) based.

    Thanks for reply
    AKSHAHI, Jul 24, 2007

    Tim Roberts Guest

    The host controllers, the root hubs, the external hubs, the USB printing
    support, and many other devices install into that class. You probably have
    a dozen instances of your filter loaded.

    However, remember that the initial configuration request probably comes
    from the host controller, and thus never exists as a URB for you to trap.
    Tim Roberts, Jul 26, 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.