none
Query Bus Relations failing every time RRS feed

  • Question

  • Hi,

    I am new to USB drivers. We have a kmdf lower filter driver based on hidusbfx2 sample. 
    It was working fine initially with (Cap type multi touch ). When we added support for new device (EMI Pen single touch device). It started giving error code 10 and driver is getting unloaded.
    When we reverted back to the same code and tried with initial device (Cap type multi touch ), it started giving same error. We cleaned up the registry then tried installing we got the same error.

    In the USBLyzer tool we see that the query for bus relations failing which is leading to unloading of the driver.

    Report ID of PEN device is as follows:

    Interface 0 HID Report Descriptor Pen
    Item Tag (Value) Raw Data 
    Usage Page (Digitizer) 05 0D  
    Usage (Pen) 09 02  
    Collection (Application) A1 01  
        Report ID (1) 85 01  
        Usage (Stylus) 09 20  
        Collection (Physical) A1 00  
            Usage (Tip Switch) 09 42  
            Usage (Barrel Switch) 09 44  
            Usage (Eraser) 09 45  
            Usage (Invert) 09 3C  
            Usage (In Range) 09 32  
            Logical Minimum (0) 15 00  
            Logical Maximum (1) 25 01  
            Report Size (1) 75 01  
            Report Count (5) 95 05  
            Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02  
            Report Count (3) 95 03  
            Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 03  
            Usage Page (Generic Desktop) 05 01  
            Usage (X) 09 30  
            Report Size (16) 75 10  
            Report Count (1) 95 01  
            Push A4  
            Unit Exponent (-3) 55 0D  
            Unit (SI Lin: Length (cm)) 65 11  
            Logical Minimum (0) 15 00  
            Logical Maximum (28672) 26 00 70  
            Physical Minimum (0) 35 00  
            Physical Maximum (28672) 46 00 70  
            Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02  
            Usage (Y) 09 31  
            Logical Minimum (0) 15 00  
            Logical Maximum (16384) 26 00 40  
            Physical Minimum (0) 35 00  
            Physical Maximum (16384) 46 00 40  
            Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02  
            Usage Page (Digitizer) 05 0D  
            Usage (Tip Pressure) 09 30  
            Logical Minimum (0) 15 00  
            Logical Maximum (1023) 26 FF 03  
            Physical Minimum (0) 35 00  
            Physical Maximum (1023) 46 FF 03  
            Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02  
        End Collection C0  
    End Collection C0  
    Usage Page (Vendor-Defined 1) 06 00 FF  
    Usage (Vendor-Defined 1) 09 01  
    Collection (Application) A1 01  
        Report ID (2) 85 02  
        Usage (Vendor-Defined 32) 09 20  
        Collection (Physical) A1 00  
            Usage (Vendor-Defined 63) 09 3F  
            Logical Minimum (0) 15 00  
            Logical Maximum (-1) 25 FF  
            Report Size (8) 75 08  
            Report Count (7) 95 07  
            Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 81 02  
            Usage (Vendor-Defined 64) 09 40  
            Report Size (8) 75 08  
            Report Count (3) 95 03  
            Logical Minimum (0) 15 00  
            Logical Maximum (-1) 25 FF  
            Feature (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) B1 02  
        End Collection C0  
    End Collection C0 

    Please help me address this issue.

    Thanks a lot

     
    Tuesday, September 24, 2013 6:25 AM

All replies

  • Code 10 is a failed pnp start, so qdr/busrelations isn't even possible since it requires a successful start. Post the logs which lead you to believe this is happening. It would also help to post your adddevice and power up implementations


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

    Tuesday, September 24, 2013 6:36 AM
  • Thanks for the response. We have figured Query Bus relations failure from USBLyzer. It also shows that USBHUB driver Query BUs relations is failing.

    Startdevice function is returning success status. What could be the problem in that case? What changes required to be made in HIDUSBfx2 driver to get it work for our pen touch device?

    Please help I am very new to USB and drivers.

    Thanks,

    Sunil

    Thursday, September 26, 2013 2:50 AM