none
usb auido device wave test failed: reset pin while streaming data RRS feed

  • Question

  • Hi,

    I was working on a AVStream minidrvier for usb auido controller. My drvier impletes avstream inerface and send urb to usb bus driver. During whck I failed and the log was as below. Can anyone please give me some clue about why this happend?

    Start Test 5/13/2014 4:52:33.903 PM Standard Streaming\Rendering Pin Tests\Reset Pin while streaming data
    Message 5/13/2014 4:52:33.903 PM Device Name = Pin # 1 on  Audio Device [Render Pin]

    Message 5/13/2014 4:52:33.903 PM PnP ID = USB\VID_XXXX&PID_XXXX&MI_00\7&XXXXXXXX&0&0000

    Message 5/13/2014 4:52:33.903 PM ======================================================

    Message 5/13/2014 4:52:33.903 PM Using Pin # 1 on Audio Device as the render pin

    Message 5/13/2014 4:52:33.903 PM Testing format:

    Message 5/13/2014 4:52:33.903 PM Format.nChannels = 2

    Message 5/13/2014 4:52:33.903 PM Format.nSamplesPerSec = 44100

    Message 5/13/2014 4:52:33.903 PM wValidBitsPerSample = 16

    Message 5/13/2014 4:52:33.903 PM Successfully instantiated KSPIN_DATAFLOW_IN pin

    Message 5/13/2014 4:52:33.903 PM Submitting 35280 bytes to the pin

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Submitting IOCTL_KS_WRITE_STREAM IRP ...

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_PAUSE; want it to be in state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Position reported before issuing KSRESET_BEGIN = 158 bytes

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be in state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Resetting Pin state: IOCTL_KS_RESET_STATE (KSRESET_BEGIN)

    Message 5/13/2014 4:52:33.903 PM Position reported after issuing KSRESET_BEGIN = 0 bytes

    Message 5/13/2014 4:52:33.903 PM Submitting IOCTL_KS_WRITE_STREAM IRP ...

    Message 5/13/2014 4:52:33.903 PM GetLastError did not return ERROR_IO_PENDING even though the pin is paused


    Message 5/13/2014 4:52:33.903 PM [ GetLastError() returned 21 (0x15) - The device is not ready. ].

    Error 5/13/2014 4:52:33.903 PM FAIL: Failed WriteData(Render)/ReadData(Capture) to see if pin position is moving or not

    File:    Line: 0
    Error Type:   BOOL
    Error Code:   0x0
    Error Text:   Error 0x00000000
    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be in state KSSTATE_STOP

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_STOP

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in state KSSTATE_STOP

    Message 5/13/2014 4:52:33.903 PM ======================================================

    Message 5/13/2014 4:52:33.903 PM Using Pin # 1 on  Audio Device as the render pin

    Message 5/13/2014 4:52:33.903 PM Testing format:

    Message 5/13/2014 4:52:33.903 PM Format.nChannels = 2

    Message 5/13/2014 4:52:33.903 PM Format.nSamplesPerSec = 48000

    Message 5/13/2014 4:52:33.903 PM wValidBitsPerSample = 16

    Message 5/13/2014 4:52:33.903 PM Successfully instantiated KSPIN_DATAFLOW_IN pin

    Message 5/13/2014 4:52:33.903 PM Submitting 38400 bytes to the pin

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Submitting IOCTL_KS_WRITE_STREAM IRP ...

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_PAUSE; want it to be in state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Position reported before issuing KSRESET_BEGIN = 1113 bytes

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be in state KSSTATE_RUN

    Message 5/13/2014 4:52:33.903 PM Resetting Pin state: IOCTL_KS_RESET_STATE (KSRESET_BEGIN)

    Message 5/13/2014 4:52:33.903 PM Position reported after issuing KSRESET_BEGIN = 0 bytes

    Message 5/13/2014 4:52:33.903 PM Submitting IOCTL_KS_WRITE_STREAM IRP ...

    Message 5/13/2014 4:52:33.903 PM GetLastError did not return ERROR_IO_PENDING even though the pin is paused


    Message 5/13/2014 4:52:33.903 PM [ GetLastError() returned 21 (0x15) - The device is not ready. ].

    Error 5/13/2014 4:52:33.903 PM FAIL: Failed WriteData(Render)/ReadData(Capture) to see if pin position is moving or not

    File:    Line: 0
    Error Type:   BOOL
    Error Code:   0x0
    Error Text:   Error 0x00000000
    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be in state KSSTATE_STOP

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE

    Message 5/13/2014 4:52:33.903 PM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_STOP

    Message 5/13/2014 4:52:33.903 PM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in state KSSTATE_STOP

    End Test 5/13/2014 4:52:33.903 PM Standard Streaming\Rendering Pin Tests\Reset Pin while streaming data
    Result:   Fail
    Repro:   wavetest.exe -c logo-WinBlue-WaveTest-Certification.pro -l "s98wtt.dll" -h "USB\VID_XXXX&PID_XXXX&MI_00\7&XXXXXXXX&0&0000"

                                                            
    Tuesday, May 13, 2014 10:23 AM