Bewerken

Delen via


MB Union Function Descriptors

Union Function Descriptors

Mobile broadband devices that implement UFDs have Device Class / Subclass / Protocol of 2 / 0 / 0 as required for CDC devices. This prevents Windows from loading USBCCGP on the device. For information on how Windows loads USBCCGP on composite devices, see USB Generic Parent Driver (Usbccgp.sys).

To allow Windows to load USBCCGP, the device needs to report a Microsoft OS compatible ID of "CDC_WMC" when the device is not configured. After detecting the compatible ID of "CDC_WMC", Windows loads USBCCGP, and USBCCGP sets the configuration on the device to 1. USBCCGP will then query again for the Microsoft OS compatible IDs. This time, however, the device should not report the Microsoft OS compatible ID of "CDC_WMC". The device may report Microsoft OS compatible IDs for functions in the selected configuration.

usbhub queries for the microsoft os descriptor when the device is not configured.

USBHUB queries for the Microsoft OS descriptor when the device is not configured

the device responds with cdc-wmc, which causes windows to load usbccgp.

The device responds with "CDC_WMC", which causes Windows to load USBCCGP

usbccgp selects configuration #1 on the device.

USBCCGP selects Configuration #1 on the device.

the device selects the configuration and morphs the list of compatible ids.

The device selects the configuration and morphs the list of compatible IDs. The device may include CompatID2, which is necessary for Function2.

after loading, usbccgp queries for microsoft os compatible ids again.

After loading, USBCCGP queries for Microsoft OS compatible IDs again.

the device reports any compatible id that it has for its function.

The device reports any compatible ID that it has for its function. USBCCGP then creates child device nodes for each function in the device.

MBIM Backward-Compatible Functions

MBIM functions that are backward compatible with the NCM 1.0 specification will come up as NCM 1.0 functions by default. Mobile broadband devices that consist of an MBIM backward-compatible function should report a Microsoft OS compatible ID of "MBIM" for the MBIM function. This allows Windows 8 to detect the NCM 1.0 function as the MBIM function and load MBCD as the function driver.