I am using Android 7.1.2 on SC20 with an EC25 mPCI connector. Among 5 USB nodes in EC25, I disabled one node and connected EC25 to SC20. Phone calls working fine but the Internet not working with it. qmi_wwan is present in one of the USB node.
please let me know if any
USB interface 4 of the EC25 is for the network interface. You need to modfy the usb driver as follow:
static int option_probe(struct usb_serial *serial, const struct usb_device_id *id) {
struct usb_wwan_intf_private *data;
……
#if 1 //Added by Quectel
//Quectel modules’s interface 4 can be used as USB network device
if (serial->dev->descriptor.idVendor == cpu_to_le16(0x2C7C)) {
//some interfaces can be used as USB Network device (ecm, rndis, mbim)
if (serial->interface->cur_altsetting->desc.bInterfaceClass != 0xFF) {
return -ENODEV;
}
//interface 4 can be used as USB Network device (qmi)
else if (serial->interface->cur_altsetting->desc.bInterfaceNumber >= 4) {
return -ENODEV;
}
}
#endif