Hi All,
We are working on USB driver which maps USB to virtual RS232 port. We developed two drivers one for RS232 port and the second for the USB PnP driver. The USB driver when running WLK1.5 logo test for Windows 7 x64 OS for “Plug and Play Driver Test”, it get failed.
Plug and Play Test having having child jobs like :
- Run Remove PNPDTest
- Run surprise PNPDTest
- Run Rebalance PNPDTest
The failure is in “Run surprise PNPDTest” with the log
<?xml version="1.0" encoding="UTF-16" ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Any help will be highly appreciated.
Thanks,
Nadeem
xxxxx@yahoo.com wrote:
We are working on USB driver which maps USB to virtual RS232 port. We developed two drivers one for RS232 port and the second for the USB PnP driver.
What is the interface between the two? What install class did you use
in the INF file for the USB part? Ordinarily, this would be exactly one
driver: it would receive RS232 requests from above, and it would send
URBs down below. I don’t understand why you would separate them.
The USB driver when running WLK1.5 logo test for Windows 7 x64 OS for “Plug and Play Driver Test”, it get failed.
The log says this is a filter driver. Perhaps you should describe your
driver configuration in more detail.
The root cause of the failure is a Device Manager error code 10 (“device
cannot start”) after a surprise removal. If you really do have two
drivers here, then you have introduced a synchronization problem. Your
USB driver will be told about surprise removals, but it’s going to need
to tell the RS232 driver about it, so the stack can be torn down properly.