none
USB Filter driver need to handle USB enumeration ? RRS feed

  • Question

  • Hi Experts:

    I'm wondering if a USB touch filter driver (a digitizer filter driver) MUST handle the USB enumerations? For example to handle the IOCTLs below:

    IOCTL_HID_GET_FEATURE
    IOCTL_HID_GET_DEVICE_ATTRIBUTES
    IOCTL_HID_GET_REPORT_DESCRIPTOR

    I hope to get some answer in a bit more in details other than an '"es" or "No".

    Thanks in advance!


    leo

    Friday, June 5, 2015 9:26 PM

Answers

  • the IOCTLs you list below have nothing to do with USB enumeration. They are purely HID (which is transport neutral). If you are writing a KMDF filter, you don't have to handle them if you don't have an IOCTL handler if you call WdfFdoSetFilter. KMDF will automatically send them down the stack. if you have an IOCTL handler, you must send them down the stack yourself in the IOCTL processing callback.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, June 5, 2015 11:34 PM