Skip to content

Commit

Permalink
quectel-cm: add ECM support for EC200D-EU/EC200G/EC600/EG915Q-NA
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 150982a)
  • Loading branch information
1715173329 committed Feb 24, 2025
1 parent 378277c commit d39318f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/quectel-cm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=quectel-cm
PKG_VERSION:=1.6.5
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@IMMORTALWRT
Expand Down
23 changes: 23 additions & 0 deletions net/quectel-cm/patches/100-add-more-device-ids.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/device.c
+++ b/device.c
@@ -342,16 +342,20 @@ BOOL qmidevice_detect(char *qmichannel,
if (profile->usb_dev.idVendor == 0x2c7c) { //Quectel
switch (profile->usb_dev.idProduct) { //EC200U
case 0x0901: //EC200U
+ case 0x0902: //EC200D-EU
+ case 0x0904: //EC200G
case 0x8101: //RG801H
atIntf = 2;
break;
case 0x0900: //RG500U
+ case 0x0903: //EC600
atIntf = 4;
break;
case 0x6026: //EC200T
case 0x6005: //EC200A
case 0x6002: //EC200S
case 0x6001: //EC100Y
+ case 0x6007: //EG915Q-NA
atIntf = 3;
break;
default:

0 comments on commit d39318f

Please sign in to comment.