Hello,
I am working on usb filter drier for which I have used winddk sample from location
‘C:\WinDDK\7600.16385.1\src\general\toaster\wdm\filter\clasupper’.
I have installed this driver directly by adding registry entries as per below
1] first entry for service
2] second entry for ‘upperfilters’ key in class {36fc9e60-c465-11cf-8056-444553540000}
Now when I restart the system, the driver gets loaded correctly.
After that whenever I connect or remove my USB WIFI Adapter, I am getting call in driver ‘clasupper.sys’ with major function IRP_MJ_PNP and minor function IRP_MN_QUERY_DEVICE_RELATION. Everything is fine up to this.
Now when I connect my USB PEN DRIVER (usb storage device) I am not getting any IRP_MJ_PNP call in my usb filter driver. Can anybody please let me know what wrong things I am doing here.
regards,
-Pravin S. Waghurde
xxxxx@hotmail.com wrote:
I am working on usb filter drier for which I have used winddk sample from location
‘C:\WinDDK\7600.16385.1\src\general\toaster\wdm\filter\clasupper’.
I have installed this driver directly by adding registry entries as per below
1] first entry for service
2] second entry for ‘upperfilters’ key in class {36fc9e60-c465-11cf-8056-444553540000}
Now when I restart the system, the driver gets loaded correctly.
How many times does it get loaded? The 36fc9e60 class includes devices
listed under “Universal Serial Bus controllers” in Device Manager –
those devices with Class=USB in their INF file. You should get one
instance for every host controller and every hub in your system. Do you
see that?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hello Tim,
Thanks for your comment.
I have used devicetree to see my filter driver instances and found it is attaching on USB CONTROLLER and USB HUB. I can see four instances for my filter driver.
I think the both the devices USB WIFI ADAPTER and PEN DRIVE(USB STORAGE DEVICE) having same class=USB. So once I am getting call for usb wifi adapter, I should also have to get call for pen driver. I am thinking wrong.
regards,
-Pravin S. Waghurde
Sorry guys, its my bad. I think my VM has some problem for recognizing the particular USB pen drive. The VM itself not identifying it. I have replaced the pen drive device and now VM identify it as well getting the call for pen drive in my USB filter driver.
Thanks for help.