1、在LBA3588S上插入 Quectel EC200A 模块后,可以通过 lsusb 命令检查系统是否识别到设备
lsusb
查到 EC200A USB ID 应该是 2C7C:6005
2、SDK中加入以下补丁,并重新编译SDK
diff --git a/kernel-5.10/drivers/usb/serial/option.c b/kernel-5.10/drivers/usb/serial/option.c
index 07ee287f541..3476b5d55c7 100644
--- a/kernel-5.10/drivers/usb/serial/option.c
+++ b/kernel-5.10/drivers/usb/serial/option.c
@@ -1096,6 +1096,7 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(QUECTEL_VENDOR_ID, 0x6002) }, /* Quectel EC200S */
{ USB_DEVICE(QUECTEL_VENDOR_ID, 0x6026) }, /* Quectel EC200T */
{ USB_DEVICE(QUECTEL_VENDOR_ID, 0x6000) }, /* Quectel EC200T */
+ { USB_DEVICE(QUECTEL_VENDOR_ID, 0x6005) }, /* Quectel EC200A */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC15)},
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC20),
.driver_info = RSVD(4) },
@@ -2164,12 +2165,12 @@ static int option_probe(struct usb_serial *serial,
if (serial->dev->descriptor.idVendor == cpu_to_le16(0x2C7C)) {
__u16 idProduct= le16_to_cpu(serial->dev->descriptor.idProduct);
//Quectel EC200S/T's interface 0 can be used as USB Network device (ecm, rndis)
- if (((idProduct == 0x6002)|| (idProduct == 0x6000) || (idProduct == 0x6026))
+ if (((idProduct == 0x6002)|| (idProduct == 0x6000) || (idProduct == 0x6026) || (idProduct == 0x6005))
&& serial->interface->cur_altsetting->desc.bInterfaceClass != 0xFF)
return -ENODEV;
//Quectel EC25&EC21&EG91&EG95&EG06&EP06&EM06&BG96&AG35&EG12&EG18's interface 4 can be used as USB network device (qmi,ecm,mbim)
- if((idProduct != 0x6002) &&(idProduct != 0x6000) && (idProduct != 0x6026)
+ if((idProduct != 0x6002) &&(idProduct != 0x6000) && (idProduct != 0x6026) && (idProduct != 0x6005)
&&serial->interface->cur_altsetting->desc.bInterfaceNumber >= 4)
return -ENODEV;