ZTE MF823 autoswitch

Bjørn Mork bjorn at mork.no
Mon Sep 12 12:11:36 UTC 2016


Markus Gothe <nietzsche at lysator.liu.se> writes:

> So this is how ZTE implements Microsofts "identity mophing" as
> described here:
> https://msdn.microsoft.com/windows/hardware/drivers/network/mb-identity-morphing
>
> The software waits for the OS to send an MS properitary "OS
> descriptor‎" to detect if the OS supports MBIM or not.

OK, so that should be pretty easy to implement in userspace, using libusb.
Maybe something for usb_modeswitch?

Did you try it out? From memory, the Microsoft protocol is pretty
simple:

 1) request string descriptor 0xee - this returns "MSFT100<X>"
 2) use the <X> magic code as vendor control device/interface request,
    where wIndex specifies the wanted feature page

I assume the detection stops there?  The point of the Microsoft MBIM
requirements were to prevent mode switching.  Or does the ZTE feature
table specify a "hidden" USB configuration number for MBIM?  Do you have
an example of what the ZTE feature descriptor tables look like?


Bjørn


More information about the libmbim-devel mailing list