Zyxel LTE3301-PLUS, Quectel EG06-E don't work

Dears,
I run the image openwrt-23.05.0 ramips-mt7621 zyxel_lte3301-plus squashfs-sysupgrade.
About all seems running, except the 4G LTE module.
This is the Quectel EG06-E, which, I think, should (OWRT internally) communicate through Serial-USB, with a /dev/ttyUSB0 device.

BUT,
The device "/dev/ttyUSB0" don't appear, is missing, don't exists.

Is this hardware, target fully functional ?
Do I have something missing, wrong ? (EG06 driver ?)

Thanks in advance for helping me.
Charly.

Please show the output of cat /sys/kernel/debug/usb/devices

root@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
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= 5.15
S: Manufacturer=Linux 5.15.134 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1e1c0000.xhci
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=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.15
S: Manufacturer=Linux 5.15.134 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1e1c0000.xhci
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

You have no modem. See if you need to power it up through GPIO or something like that.

Indeed:

1 Like

Hello Andrew, thanks !

I suspected such kind of pb, but I am not ease with how / which command I can use to set/clear gpio, and how they are mapped, which is the pwr of the chip,...

Oh that progresses !
I use the image built with the online tool for build, then I don't know what is the content of the file you suggested to verify, but you gave me the way to progress.

I 1st checked that :
root@OpenWrt:~# cat /sys/class/gpio/
export ... ... gpio438/ gpio443/ gpiochip448/ power_modem/

and I put that :
root@OpenWrt:~# echo 1 > /sys/class/gpio/power_modem/value

AND NOW I See that :
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=2c7c ProdID=0306 Rev= 3.10
S: Manufacturer=Quectel
S: Product=EG06-E
S: SerialNumber=0123456789ABCDEF
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=504mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS=1024 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=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 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=1024 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS=1024 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=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 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=1024 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

I think that after that I would have to build myself the system.
I "gitted" it and I observed that the file you mention is correct.
I keep you informed later,.. later, because I never yet built a system.

In any case, thank you already for your super quick help.
Charly

1 Like

Now you need to follow https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

Thank you Andrew.

The LTE runs.
I switches it on at startup in "/etc/rc.local" (as discovered in LuCI) by putting the command "echo 1 > /sys/class/gpio/power_modem/value".

I also configured (about randomly :slight_smile: ) the chain between the LTE and some wired and WiFi devices, and all seem run.
Don't ask me (now) how and why NAT and firewall run, but routing seems running. :blush:

My goal is now to understand what I did,..
.. and my final goal is to configure this device as my VPN "gateway" (with OpenVPN) to my VPN provider.

OWRT is not very trivial to use, and I think I will have to learn many things before all run like I wish.

Thanks again,
Regards,
Charly.