Hi all!
I am developing a Wireless WAN miniport driver for USB composite device. I used custom USB bus filter to enumerate device interfaces and then installed my miniport driver on one of these interfaces. Everything worked properly.
Then I changed my miniport driver INF file to use the entire composite device so that I can control all interfaces from single driver without the need to use custom bus filter.
I successfully installed the driver and initialized the device, but here is the problem: the composite device dirver does not receive any WWAN-specific OIDs at all!
Can someone help me find out why WWAN service does not work with my driver and whether there is any way to make it work correctly with composite device?
Why not use IAD to group interfaces and forgo the bus driver entirely?
d
Bent from my Phone
From: xxxxx@gmail.commailto:xxxxx
Sent: ?6/?26/?2013 6:31 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] WWAN miniport driver & USB composite device
Hi all!
I am developing a Wireless WAN miniport driver for USB composite device. I used custom USB bus filter to enumerate device interfaces and then installed my miniport driver on one of these interfaces. Everything worked properly.
Then I changed my miniport driver INF file to use the entire composite device so that I can control all interfaces from single driver without the need to use custom bus filter.
I successfully installed the driver and initialized the device, but here is the problem: the composite device dirver does not receive any WWAN-specific OIDs at all!
Can someone help me find out why WWAN service does not work with my driver and whether there is any way to make it work correctly with composite device?
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>
Do you declare yourself as the correct type of driver in your inf file and in miniport initialise?
Thanks for the answers everyone!
To Doron Holan:
Unfortunately, I have no control over the hardware implementation, so this is not an option. The question is why Mobile Broadband service does not send OIDs to the miniport that uses composite device, while it works OK with the exact same driver code when using only one device interface. Only two things changed:
- Device ID in the INF file.
- Initialization of USB device — using WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_MULTIPLE_INTERFACES instead of WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_SINGLE_INTERFACE.
So the question is what makes such a difference so WWAN service does not work with composite device driver?
To matt sykes:
The exact same code works well when using single device interface with USB bus filter. The only bit of code that changed is in USB device initialization; I did not touch any NDIS-related code. And only thing that changed in INF file is the Device ID.
Maybe there is something else I have to change in the INF file to have it working correctly?