usb 1-1: New USB device found, idVendor=12d1, idProduct=15b7
Using ATI, modem present itself like that:
My problem now is how to know if I should send AT+CGDATA="PPP",1 or
ATD*99***1# when activating context in at modem driver. I see in this
driver and others that a VENDOR information can be sent from plugin but
I imagine that other Huawei devices support AT+CGDATA="PPP",1.
Do you have any idea of what I should do to support this modem without
disturbing other devices?
You could build a database of various quirks that are required for each
model. The index into the database could be the product id if it is
unique, or the model / revision information from 'ATI"
Another idea would be to have the gprs context driver try to parse the
AT+CGDATA=? response. If 'PPP' L2P is not found, then fallback to using