Is URB_FUNCTION_SELECT_CONFIGURATION equal to SET_CONFIGURATION

Discussion in 'Windows Vista Drivers' started by Kevin, Feb 12, 2007.

  1. Kevin

    Kevin Guest

    I am studying the USB bus document in DDK. For some URB functions, I can map
    them to USB standard device requests, e.g.
    URB_FUNCTION_GET_DESCRIPTOR_FROM_XXX and URB_FUNCTION_SET_DESCRIPTOR_TO_XXX,
    etc.

    But, for URB_FUNCTION_SELECT_CONFIGURATION, I am wondering if it is mapping
    to the SET_CONFIGURATION in USB spec. In the USB spec, the SET_CONFIGURATION
    only takes configuration value as the only parameter, while in DDK,
    URB_FUNCTION_SELECT_CONFIGURATION needs the configuration descriptor and all
    of the Interface and Endpoints information under this configuration. And the
    most important thing is that DDK allow client driver to set wMaxPacketSize in
    this request, while in USB spec, no way to change this parameter.

    Any comment is appreaciated.

    Kevin
     
    Kevin, Feb 12, 2007
    #1
    1. Advertisements

  2. yes, this is a part of select config. the remaining parameters allow you to
    configure the individual endpoints.

    d
     
    Doron Holan [MS], Feb 13, 2007
    #2
    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.