Hi devs!
Sorry for a very generic question, but I’m new to the USB stack and I really need some guidance on how to test USB drivers.
I have a KMDF USB driver that (as I would guess) is very primitive and doesn’t do more than bulk r/w sample driver found in DDK’s KMDF samples (usbsamp).
I can also run my driver with USB simulator tool from the DDK.
At the first glance, everything works fine. Driver gets loaded/unloaded when device gets plugged/unplugged. Data transfer works fine too, no BSODs, no deadlocks with powering off the dev or unplugging it in the middle of the transfer, but I’m (being long time FS stack dev) unconvinced that this driver is indeed well tested unless it passes a set of automated tests. So, is there any testing guidance on bulk USB driver testing? Also, are there any known issues with developing such driver out of KMDF usbsamp DDK sample? Any comments / suggestions would be highly appreciated.
TIA,
Vladimir
Read about about prefast, driver verifier, and Windows Logo Kit. The latter you’ll need to get your driver WHQL signed and it includes a bunch of automated tests.
Tim.
-----Original Message-----
From: xxxxx@lists.osr.com on behalf of xxxxx@gmail.com
Sent: Mon 09/07/2007 17:51
To: Windows System Software Devs Interest List
Subject: [ntdev] Testing USB driver
Hi devs!
Sorry for a very generic question, but I’m new to the USB stack and I really need some guidance on how to test USB drivers.
I have a KMDF USB driver that (as I would guess) is very primitive and doesn’t do more than bulk r/w sample driver found in DDK’s KMDF samples (usbsamp).
I can also run my driver with USB simulator tool from the DDK.
At the first glance, everything works fine. Driver gets loaded/unloaded when device gets plugged/unplugged. Data transfer works fine too, no BSODs, no deadlocks with powering off the dev or unplugging it in the middle of the transfer, but I’m (being long time FS stack dev) unconvinced that this driver is indeed well tested unless it passes a set of automated tests. So, is there any testing guidance on bulk USB driver testing? Also, are there any known issues with developing such driver out of KMDF usbsamp DDK sample? Any comments / suggestions would be highly appreciated.
TIA,
Vladimir
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer