Huawei E3372 with NCM

Of course I can do that, just thought an upload would be better ...

Fedora ModemManager log file

I noticed that fedora was using /dev/ttyUSB0 while I was using /dev/ttyUSB1 on openWRT, so I changed it in my config, unfortunately this caused a kernel panic after "ifup LTE"

presumably (but not confirmed) the same one I get when doing "ifdown LTE"

Have spent an hour or so, not using ifup/ifdown LTE, but instead using
minicom -D /dev/ttyUSB1
in one putty session, and sending various AT commands
AT^NDISDUP=1,1,"3internet"
AT^NDISSTATQRY?
AT^SYSINFOEX
etc, the same as ModemManager does

while manually running
udhcpd -i wwan0
in another putty session, hoping to find some different commands to put in
/etc/gcom/ncm.json

But haven't managed to get any further ... hints appreciated ...

It seems that the modem is unwilling to act on certain commands such as
AT^NDISDUP=1,1,"3internet"
from the /dev/ttyUSB1 interface, only from the /dev/ttyUSB0 interface

if I use ttyUSB0, then I do get a status response
^NDISSTAT:1,,,"IPV4"

Unfortunately immediately after that I get a kernel panic, perhaps the issue is with the wwan0 device crashing when the NDIS interface actually passes data?

I'll hook a serial console again tomorrow and see if i can get any more information when it crashes ...

Confirm that the panic which happens when using /dev/ttyUSB0 is the same one I logged a couple of weeks ago when I was trying to use the same dongle in "router" mode rather than "stick" mode

FS#1367

[44398.791094] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.82 #0
[44398.797007] task: 8059bd80 task.stack: 8058c000
[44398.801526] $ 0   : 00000000 806f0000 811d1be0 00000001
[44398.806748] $ 4   : 00000000 00001077 00004000 4e434d48
[44398.811970] $ 8   : 805a0000 00000001 00000003 4e434d48
[44398.817192] $12   : 00002863 ffffffff 00000000 77c632c0
[44398.822420] $16   : 86db1500 854e0008 87d7ba00 00000000
[44398.827637] $20   : 805990a0 00010000 00000002 00000000
[44398.832859] $24   : 00000001 875c36f8                  
[44398.838083] $28   : 8058c000 87c0dea8 00000018 875c36cc
[44398.843305] Hi    : 00000016
[44398.846178] Lo    : 00000001
[44398.849082] epc   : 800f3a78 kfree+0x78/0x1a4
[44398.853485] ra    : 875c36cc dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[44398.860279] Status: 1100ff03 KERNEL EXL IE 
[44398.864458] Cause : 10800034 (ExcCode 0d)
[44398.868463] PrId  : 00019556 (MIPS 34Kc)
[44398.872376] Modules linked in: ltq_ptm_vr9 ath9k ath9k_common option ath9k_hw ath10k_pci ath10k_core ath usb_wwan pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_
MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_e
cn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet pppox ppp_async owl_loader
 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache ltq_deu_vr9 iptable_ma
ngle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb 
sch_hfsc sch_ingress drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slh
c ifb br2684 atm mii drv_ifxos dwc2 gpio_button_hotplug
Process swapper/0 (pid: 0, threadinfo=8058c000, task=8059bd80, tls=00000000)
[44398.976563] Stack : 00000000 875c370c 00000000 00000000 8110c2ac 86db1500 00000000 802d9b2c
[44398.984916]         806f41e0 00b29000 805a0000 8059bd80 00200100 87d7bae8 87d7baf0 87c0df00
[44398.993272]         87d7baec 802da144 00002863 ffffffff 00000a12 77c632c0 87c0df00 87c0df00
[44399.001628]         00000040 87d7bafc 87d7baf8 805e31fc 805993f8 80033524 00000000 8000c64c
[44399.009984]         87cc0000 80002000 8058c000 00000007 8058e058 00000040 806f41e0 00000006
[44399.018340]         ...
[44399.020778] Call Trace:
[44399.023237] [<800f3a78>] kfree+0x78/0x1a4
[44399.027290] [<875c36cc>] dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[44399.033792] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
[44399.043495] 
[44399.045134] ---[ end trace 562d43e3ca4364f0 ]---
[44399.050518] Kernel panic - not syncing: Fatal exception in interrupt
[44399.056621] Rebooting in 3 seconds..

The panic from dwc2 appears to be fixed in 18.06.2 so the E3372s is now working for me.

1 Like

Can confirm that the E3372(h) works fine in NCM mode using /dev/ttyUSB0
No need to change anything apart from APN
Firmware 21.329.63.00.541 for those wondering.

TP-Link TL-WDR3600 (ar71xx) running trunk/master

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.