Not recognized modem (Quectel - EC-25)

Hello, please help me as i am struggling to recognize modem. i have followed the steps mentioned in the below url but of no use.

root@OpenWrt:~# usbmode -l
Failed to initialize libusb: LIBUSB_ERROR_OTHER

Please help me.

Thanks
Suresh

cat /sys/kernel/debug/usb/devices

Thanks for the response. File doesn’t contain anything ie empty device file.

If you're using Comfast CF-E5, then I suppose there is no power applied to mPCIe slot. You need to manually set the corresponding GPIO state(s).
See Quectel EC25 not on in CF-E5

Hello @AndrewZ thanks for the response. I have fresh installation of version 21.02.0.

Please let me know whether upgrade will help?

Still do I need to enable gpio? If yes then pls help me with the steps.

Please follow the thread I linked.
Check with cat /sys/kernel/debug/gpio as shown there.

Hi @AndrewZ please find the contents of cat /sys/kernel/debug/gpio

gpiochip0: GPIOs 0-31, parent: platform/18040000.gpio, 18040000.gpio:
 gpio-0   (                    |blue:wlan           ) out hi ACTIVE LOW
 gpio-1   (                    |sysfs               ) out hi
 gpio-2   (                    |blue:rssi0          ) out hi ACTIVE LOW
 gpio-3   (                    |blue:rssi1          ) out hi ACTIVE LOW
 gpio-4   (                    |blue:wan            ) out hi ACTIVE LOW
 gpio-11  (                    |sysfs               ) out hi
 gpio-12  (                    |sysfs               ) out hi
 gpio-14  (                    |sysfs               ) out hi
 gpio-15  (                    |blue:rssi2          ) out hi ACTIVE LOW
 gpio-16  (                    |blue:lan            ) out lo ACTIVE LOW
 gpio-17  (                    |reset               ) in  hi IRQ

and I couldn't find any thing in the file cat /sys/kernel/debug/usb/devices. Also, there is no such directory - "/sys/devices/platform/qca953x_wmac/gpio/gpiochip46" too.

root@OpenWrt:/sys/class/gpio# ls -la
drwxr-xr-x    2 root     root             0 Jan  1  1970 .
drwxr-xr-x   27 root     root             0 Jan  1  1970 ..
--w-------    1 root     root          4096 Aug 31 22:20 export
lrwxrwxrwx    1 root     root             0 Aug 31 22:20 gpio1 -> ../../devices/platform/ahb/ahb:apb/18040000.gpio/gpiochip0/gpio/gpio1
lrwxrwxrwx    1 root     root             0 Aug 31 22:20 gpio11 -> ../../devices/platform/ahb/ahb:apb/18040000.gpio/gpiochip0/gpio/gpio11
lrwxrwxrwx    1 root     root             0 Aug 31 22:20 gpio12 -> ../../devices/platform/ahb/ahb:apb/18040000.gpio/gpiochip0/gpio/gpio12
lrwxrwxrwx    1 root     root             0 Aug 31 22:20 gpio14 -> ../../devices/platform/ahb/ahb:apb/18040000.gpio/gpiochip0/gpio/gpio14
lrwxrwxrwx    1 root     root             0 Jan  1  1970 gpiochip0 -> ../../devices/platform/ahb/ahb:apb/18040000.gpio/gpio/gpiochip0
--w-------    1 root     root          4096 Jan  1  1970 unexport

Should I change ping 11 and 14 to high by running command -

.echo "1" > /sys/class/gpio/gpio11/value
echo "1" > /sys/class/gpio/gpio14/value

Should i reboot after running above two commands? Please suggest. Thanks

Hi @AndrewZ, did i choose wrong version i.e., kernel (openwrt-21.02.0-ath79-generic-comfast_cf-e5-initramfs-kernel.bin) instead of sysupgrade (openwrt-21.02.0-ath79-generic-comfast_cf-e5-squashfs-sysupgrade.bin) as i dont see cf-e5 in gpio file itself.

Please sugget.

Thanks
Suresh

Consider using this firmware.

Sorry @AndrewZ, I didn’t understand. Are you suggesting to use 19.07 or 21.02?

If 21.02 then I’m in right version.

Please suggest.

Thanks

Hi @AndrewZ please let know the steps. Thanks

Hello @AndrewZ, my friend has the same hardware with EC-25 but he has customized firmware. Please find below gpio and device details. Please can you infer and help me out if I am doing anything wrong? Appreciate your support.

# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-31, parent: platform/18040000.gpio, 18040000.gpio:
 gpio-0   (                    |n100-o:blue:wlan    ) out lo
 gpio-1   (                    |sysfs               ) out hi
 gpio-2   (                    |n100-o:blue:rssi0   ) out lo
 gpio-3   (                    |n100-o:blue:rssi1   ) out lo
 gpio-4   (                    |n100-o:blue:wan     ) out hi
 gpio-11  (                    |sysfs               ) out hi
 gpio-12  (                    |sysfs               ) out hi
 gpio-14  (                    |sysfs               ) out hi
 gpio-15  (                    |n100-o:blue:rssi2   ) out lo
 gpio-16  (                    |n100-o:blue:lan     ) out lo
 gpio-17  (                    |reset               ) in  hi
# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.14
S:  Manufacturer=Linux 4.14.176 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=1b000000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2c7c ProdID=0125 Rev= 3.18
S:  Manufacturer=Android
S:  Product=Android
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E:  Ad=89(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms