Dear List,
I modified wdk-src-umdf-usb-fx2_driver-step4 example according to the custom device requirements. The driver is getting loaded and the data is getting transfered to and from the device.
When I run PNPDTest on the driver, it fails in Rebalancing tests. Do I need to include any PnP functionality in the driver or the framework will take care of the default values.
On digging the counter example of KMDF, I fin PnP function calls in it but clearly mentioned in the comments that default values will be taken care by the framework it we do not initialize them.
Regards.
The following is the information in the log:
Device node status not ok after installing the filter driver : problem code 10
When I run simple, Failquerystop tests it is getting passed but the error occurs when I run Newresources test. Somebody kindly provide a pointer to the error. Do I need to include any PnP functionality in the driver.
Regards.
I had the same issue.
The reponse I git from the DTM team was:
Add a DWORD key named UpperDriverOK=1 to the device driver’s hardware key: HKLM\system\CurrentControlSet\Enum\USB (or bus)<hardware id>*\DeviceParameters\WUDF. This should resolve the code 10 error.
I had to update this value manually during the test execution, as this value is being reset during the test (even though it shouldn’t).
This time the test ran, most of it passed but there was one failure because one of the IRP was blocked (timeout). This resulted in errata 461.
Hope this helps,
Gadi
Thanks for the reply. By adding the registry key, are we bypassing the error condition or there is any theoritical reason behind the adding.
All the remaining 3 tests simple, failquerystop, failqueryrestart are getting passed. When I select Newresources, after giving the message of “installing filter driver recursively on the usb device”, the system is getting restarted.
Even by deleting the same key, I am not able to revert back to device code 10 error. Everytime I select Newresources, system restarts leaving me with no clue even for debugging the driver.
Regards.