[SOLVED]Supported Alfa 4G USB dongle does not work

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
mjidhage
DD-WRT Novice


Joined: 27 Jul 2022
Posts: 5

PostPosted: Wed Jul 27, 2022 12:20    Post subject: [SOLVED]Supported Alfa 4G USB dongle does not work Reply with quote
Hi there!

I’m running DD-WRT v3.0-r49544 std (07/22/22) on a Netgear R6300v2. I’m trying to get the USB modem ALFA Tube-U4G to play nice and according to the supported modem-list it should be supported (Vendor=2c7c ProdID=0125 aka Quectel EC25).

Using another USB modem, Huawei E173u-1 (12d1:1436), the setup works flawlessly, but E173 only supports 7.2Mbps and we need the speed of 4G/LTE.

Looking at debug, I’m seeing more or less the same as depswa in this thread with the exception that I’m not only seeing device detection but also getting ttyUSB devices created - but no connection.

Looking at ppp; /tmp/ppp/options.pppoe is identical with depswa's and /tmp/comgt.out contains:
stty: standard input: Not a tty
Can't open device /etc/comgt/dial.comgt

Any pointers on how to proceed would be very much appreciated - should I play around with usb_modeswitch? Even though depswa did have progress with usb_modeswitch I got the impression the actual solution was a change in lib3g?

//Mattias

Debug follows below

Code:
root@DD-WRT:~# cat /sys/kernel/debug/usb/devices

T:  Bus=04 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= 4.04
S:  Manufacturer=Linux 4.4.302-st14 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:0c.0
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=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 0
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.04
S:  Manufacturer=Linux 4.4.302-st14 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:0c.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=(none)
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=12   MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 4.04
S:  Manufacturer=Linux 4.4.302-st14 ohci_hcd
S:  Product=OHCI PCI host controller
S:  SerialNumber=0000:00:0b.0
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=   2 Ivl=255ms

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=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.04
S:  Manufacturer=Linux 4.4.302-st14 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:0b.1
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=01 Cnt=01 Dev#=  2 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=Quectel
S:  Product=EG25-G
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



Code:
root@DD-WRT:~# lsmod
Module                  Size  Used by
fast_classifier       139972  0
qcserial                4989  0
option                 33009  0
sierra                  6760  0
usb_wwan                4344  2 qcserial,option
usbserial              19246  4 qcserial,option,sierra,usb_wwan
qmi_wwan               12287  0
usbnet                 17017  1 qmi_wwan
cdc_wdm                 8504  1 qmi_wwan
cdc_acm                15103  0
xhci_plat_hcd           2194  0
xhci_pci                2676  0
xhci_hcd               87374  2 xhci_plat_hcd,xhci_pci
ohci_pci                2271  0
ohci_hcd               24371  1 ohci_pci
ehci_pci                2958  0
ehci_hcd               35377  1 ehci_pci
usbcore               135625 17 qcserial,option,sierra,usb_wwan,usbserial,qmi_wwan,usbnet,cdc_wdm,cdc_acm,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_pci,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1598  1 usbcore
ip6_tables              9629  0
tun                    16417  0
wl                   4590300  0
b5301x_srab             1778  0
b5301x_common          10655  1 b5301x_srab
et                     64856  0
ctf                    51086  0
softdog                 1711  1



Code:
root@DD-WRT:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.302-st14 (root@linux) (gcc version 12.1.0 (OpenWrt GCC 12.1.0 r19551+6-d9ea9c06e9) ) #6756 SMP Fri Jul 22 03:34:12 +07 2022
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Northstar Prototype
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] map io
[    0.000000] MPCORE found at 19020000 (VIRT 99020000) 18000000 98000000
[    0.000000] Hit pending asynchronous external abort (FSR=0x00001c06) during first unmask, this is most likely caused by a firmware/bootloader bug.
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat 8058e740, node_mem_map 86bb8000
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000]   HighMem zone: 32768 pages, LIFO batch:7
[    0.000000] PERCPU: Embedded 11 pages/cpu @86b94000 s12588 r8192 d24276 u45056
[    0.000000] pcpu-alloc: s12588 r8192 d24276 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65248
[    0.000000] Kernel command line: console=ttyS0,115200 panic=10 root=/dev/mtdblock3 earlyprintk=1 rootfstype=squashfs,jffs2 noinitrd init=/bin/sh
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 253276K/262144K available (3945K kernel code, 211K rwdata, 1284K rodata, 344K init, 482K bss, 8868K reserved, 0K cma-reserved, 131072K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x88800000 - 0xff800000   (1904 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80523b1c   (5231 kB)
[    0.000000]       .init : 0x80524000 - 0x8057a000   ( 344 kB)
[    0.000000]       .data : 0x8057a000 - 0x805aee3c   ( 212 kB)
[    0.000000]        .bss : 0x805b1000 - 0x80629888   ( 483 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] MPCORE GIC init
[    0.000000] soc_dmu_init
[    0.000000] add clk lookups
[    0.000000] MPCORE Global Timer Clock 400000000Hz on IRQ 27
[    0.000009] sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 5368709118ns
[    0.000040] clocksource: mpcore_gtimer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[    0.000072] register local timer
[    0.000126] smp_twd: clock not found -2
[    0.000180] Calibrating local timer... 399.72MHz.
[    0.060109] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.150077] pid_max: default: 32768 minimum: 301
[    0.150244] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.150269] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.151285] Initializing cgroup subsys io
[    0.151328] Initializing cgroup subsys memory
[    0.151390] Initializing cgroup subsys pids
[    0.151476] CPU: Testing write buffer coherency: ok
[    0.151936] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.151958] 2 cores has been found
[    0.152106] Setting up static identity map for 0x85e0 - 0x8614
[    0.152270] L310: cache controller enabled 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x7a130000
[    0.190033] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190125] Brought up 2 CPUs
[    0.190144] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[    0.194860] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.194907] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.195623] NET: Registered protocol family 16
[    0.196497] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.197266] coherence_win_size = 10000000
[    0.197287] coherence_flag = FFFFFFF8
[    0.197293] ddr_phys_offset_va =FFFFFFFF
[    0.197299] ddr_phys_offset2_va =A8000000
[    0.197341] Found a AMD NAND flash:
[    0.197348] Total size:  128MB
[    0.197353] Block size:  128KB
[    0.197358] Page Size:   2048B
[    0.197363] OOB Size:    64B
[    0.197368] Sector size: 512B
[    0.197373] Spare size:  16B
[    0.197378] ECC level:   8 (8-bit)
[    0.197386] Device ID: 0x 1 0xf1 0x80 0x1d 0x 1 0xf1
[    0.229555] found nand nvram at 80000
[    0.229836] CCA UART Clock Config: Sel=1 Ovr=1 Div=48
[    0.229847] CCA UART Clock rate 100000000Hz CCB UART Clock rate 100000000Hz
[    0.263435] clocksource: Switched to clocksource mpcore_gtimer
[    0.264948] NET: Registered protocol family 2
[    0.265165] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[    0.265736] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.265765] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.265789] TCP: Hash tables configured (established 1024 bind 1024)
[    0.265861] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.265901] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.266107] NET: Registered protocol family 1
[    0.266173] PCI: CLS 0 bytes, default 32
[    0.267312] init gpio code
[    0.269411] Netgear AC1450/R6250/R6300v2/EX6200 init
[    0.269765] PCI: no core
[    0.269773] PCI: no core
[    0.270218] PCI: scanning bus 0
[    0.270379] PCI host bridge to bus 0000:00
[    0.270405] pci_bus 0000:00: root bus resource [io  0x0000-0xffffffff]
[    0.270416] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.270430] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.270471] pci 0000:00:00.0: [14e4:0800] type 00 class 0x050100
[    0.270510] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x18000fff]
[    0.270537] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.270745] pci 0000:00:01.0: [14e4:050b] type 00 class 0xffffff
[    0.270777] pci 0000:00:01.0: reg 0x10: [mem 0x18001000-0x18001fff]
[    0.270792] pci 0000:00:01.0: reg 0x14: [mem 0x18002000-0x18002fff]
[    0.270813] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.270970] pci 0000:00:02.0: [14e4:0502] type 00 class 0xffffff
[    0.270995] pci 0000:00:02.0: reg 0x10: [mem 0x1802c000-0x1802cfff]
[    0.271020] pci 0000:00:02.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.271181] pci 0000:00:03.0: [14e4:4715] type 00 class 0x020000
[    0.271206] pci 0000:00:03.0: reg 0x10: [mem 0x18024000-0x18024fff]
[    0.271230] pci 0000:00:03.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.271377] pci 0000:00:04.0: [14e4:4715] type 00 class 0x020000
[    0.271401] pci 0000:00:04.0: reg 0x10: [mem 0x18025000-0x18025fff]
[    0.271426] pci 0000:00:04.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.271601] pci 0000:00:05.0: [14e4:4715] type 00 class 0x020000
[    0.271627] pci 0000:00:05.0: reg 0x10: [mem 0x18026000-0x18026fff]
[    0.271651] pci 0000:00:05.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.271803] pci 0000:00:06.0: [14e4:4715] type 00 class 0x020000
[    0.271829] pci 0000:00:06.0: reg 0x10: [mem 0x18027000-0x18027fff]
[    0.271854] pci 0000:00:06.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.272011] pci 0000:00:07.0: [14e4:0501] type 00 class 0xffffff
[    0.272038] pci 0000:00:07.0: reg 0x10: [mem 0x18012000-0x18012fff]
[    0.272064] pci 0000:00:07.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.272209] pci 0000:00:08.0: [14e4:0501] type 00 class 0xffffff
[    0.272235] pci 0000:00:08.0: reg 0x10: [mem 0x18013000-0x18013fff]
[    0.272260] pci 0000:00:08.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.272407] pci 0000:00:09.0: [14e4:0501] type 00 class 0xffffff
[    0.272431] pci 0000:00:09.0: reg 0x10: [mem 0x18014000-0x18014fff]
[    0.272455] pci 0000:00:09.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.272618] pci 0000:00:0a.0: [14e4:0510] type 00 class 0xffffff
[    0.272645] pci 0000:00:0a.0: reg 0x10: [mem 0x1800b000-0x1800bfff]
[    0.272659] pci 0000:00:0a.0: reg 0x14: [mem 0x1800c000-0x1800cfff]
[    0.272680] pci 0000:00:0a.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.272836] pci 0000:00:0b.0: [14e4:471a] type 00 class 0x0c0310
[    0.272862] pci 0000:00:0b.0: reg 0x10: [mem 0x18022000-0x18022fff]
[    0.272885] pci 0000:00:0b.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.273049] pci 0000:00:0b.1: [14e4:471a] type 00 class 0x0c0320
[    0.273074] pci 0000:00:0b.1: reg 0x10: [mem 0x18021000-0x18021fff]
[    0.273099] pci 0000:00:0b.1: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.273256] pci 0000:00:0c.0: [14e4:472a] type 00 class 0x0c0330
[    0.273282] pci 0000:00:0c.0: reg 0x10: [mem 0x18023000-0x18023fff]
[    0.273308] pci 0000:00:0c.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.273471] pci 0000:00:0d.0: [14e4:0503] type 00 class 0xffffff
[    0.273498] pci 0000:00:0d.0: reg 0x10: [mem 0x18020000-0x18020fff]
[    0.273522] pci 0000:00:0d.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.273674] pci 0000:00:0e.0: [14e4:0506] type 00 class 0xffffff
[    0.273700] pci 0000:00:0e.0: reg 0x10: [mem 0x18210000-0x1821ffff]
[    0.273725] pci 0000:00:0e.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.273869] pci 0000:00:0f.0: [14e4:0507] type 00 class 0xffffff
[    0.273894] pci 0000:00:0f.0: reg 0x10: [mem 0x18010000-0x18010fff]
[    0.273918] pci 0000:00:0f.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.274083] pci 0000:00:10.0: [14e4:0508] type 00 class 0xffffff
[    0.274107] pci 0000:00:10.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
[    0.274132] pci 0000:00:10.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.274300] pci 0000:00:11.0: [14e4:0509] type 00 class 0xffffff
[    0.274329] pci 0000:00:11.0: reg 0x10: [mem 0x18028000-0x18028fff]
[    0.274355] pci 0000:00:11.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.274555] pci 0000:00:12.0: [14e4:050a] type 00 class 0xffffff
[    0.274584] pci 0000:00:12.0: reg 0x10: [mem 0x18029000-0x18029fff]
[    0.274608] pci 0000:00:12.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.274767] PCI: Fixing up bus 0 domain 0
[    0.645506] PCIE1 link=1
[    0.645890] PCIE1 switching to GEN2
[    0.995148] PCIE1 link=1
[    0.995290] PCI host bridge to bus 0001:00
[    0.995313] pci_bus 0001:00: root bus resource [mem 0x08000000-0x0fffffff]
[    0.995327] pci_bus 0001:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.995371] pci 0001:00:00.0: [14e4:8011] type 01 class 0x060400
[    0.995446] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.995630] PCI: Fixing up bus 0 domain 1
[    0.995648] PCI: bus0: Fast back to back transfers disabled
[    0.995798] pci 0001:01:00.0: [14e4:4331] type 00 class 0x028000
[    0.995857] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.995904] pci 0001:01:00.0: can't set Max Payload Size to 512; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.995976] pci 0001:01:00.0: supports D1 D2
[    0.996122] PCI: Fixing up bus 1 domain 1
[    0.996140] PCI: bus1: Fast back to back transfers disabled
[    0.996157] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    0.996174] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 01
[    0.996268] pci 0001:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
[    0.996286] pci 0001:01:00.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.996307] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.996320] pci 0001:00:00.0:   bridge window [mem 0x08000000-0x080fffff]
[    1.345628] PCIE2 link=1
[    1.346061] PCIE2 switching to GEN2
[    1.695326] PCIE2 link=1
[    1.695474] PCI host bridge to bus 0002:00
[    1.695497] pci_bus 0002:00: root bus resource [mem 0x40000000-0x47ffffff]
[    1.695511] pci_bus 0002:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.695551] pci 0002:00:00.0: [14e4:8011] type 01 class 0x060400
[    1.695630] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    1.695804] PCI: Fixing up bus 0 domain 2
[    1.695823] PCI: bus0: Fast back to back transfers disabled
[    1.695967] pci 0002:01:00.0: [14e4:4360] type 00 class 0x028000
[    1.696022] pci 0002:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    1.696083] pci 0002:01:00.0: Max Payload Size set to 512 (was 128, max 512)
[    1.696154] pci 0002:01:00.0: supports D1 D2
[    1.696318] PCI: Fixing up bus 1 domain 2
[    1.696337] PCI: bus1: Fast back to back transfers disabled
[    1.696353] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[    1.696372] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 01
[    1.696471] pci 0002:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
[    1.696488] pci 0002:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
[    1.696509] pci 0002:00:00.0: PCI bridge to [bus 01]
[    1.696522] pci 0002:00:00.0:   bridge window [mem 0x40000000-0x400fffff]
[    1.946123] PCIE3 link=0
[    1.954312] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.958603] io scheduler noop registered (default)
[    1.958699] io scheduler cfq registered
[    1.959972] serial8250_init
[    1.959995] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.960659] console [ttyS0] disabled
[    1.960722] serial8250.0: ttyS0 at MMIO 0x18000300 (irq = 117, base_baud = 6250000) is a 16550
[    2.691834] console [ttyS0] enabled
[    2.695649] serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117, base_baud = 6250000) is a 16550
[    2.716515] brd: module loaded
[    2.726208] loop: module loaded
[    2.730550] bcmsflash: found no supported devices
[    3.428487] Boot partition size = 524288(0x80000)
[    3.435764] lookup_nflash_rootfs_offset: offset = 0x380000 size = 0x1c80000, 0x20000
[    3.444584] found TRX Header on nflash!
[    3.449504] nflash: squash filesystem with lzma found at block 43
[    3.457999] Creating 5 MTD partitions on "nflash":
[    3.462780] 0x000000000000-0x000000080000 : "boot"
[    3.468644] 0x000000080000-0x000000200000 : "nvram"
[    3.474610] 0x000000380000-0x000002000000 : "linux"
[    3.480405] 0x000000560000-0x000002000000 : "rootfs"
[    3.486300] 0x000000200000-0x000000220000 : "board_data"
[    3.492588] PPP generic driver version 2.4.2
[    3.497030] PPP BSD Compression module registered
[    3.501724] PPP Deflate Compression module registered
[    3.506804] PPP MPPE Compression module registered
[    3.511584] NET: Registered protocol family 24
[    3.516050] i2c /dev entries driver
[    3.519615] GACT probability NOT on
[    3.523123] Mirror/redirect action on
[    3.526793] Simple TC action Loaded
[    3.531027] netem: version 1.3
[    3.534144] u32 classifier
[    3.536836]     Performance counters on
[    3.540646]     input device check on
[    3.544292]     Actions configured
[    3.547702] Netfilter messages via NETLINK v0.30.
[    3.552446] nf_conntrack version 0.5.0.4 (3957 buckets, 15828 max)
[    3.559191] nf_conntrack_rtsp v0.7 loading
[    3.563771] xt_time: kernel timezone is -0000
[    3.568135] ip_set: protocol 6
[    3.571452] gre: GRE over IPv4 demultiplexor driver
[    3.576744] nf_nat_rtsp v0.7 loading
[    3.580331] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.585939] NET: Registered protocol family 17
[    3.590458] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.603290] Bridge firewalling registered
[    3.607297] 8021q: 802.1Q VLAN Support v1.8
[    3.611635] Registering SWP/SWPB emulation handler
[    3.616450] max nvram space = 131072
[    3.620074] read 65536 bytes to offset 0
[    3.643038] registered taskstats version 1
[    3.648066] Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
[    3.656786] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    3.663137] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
[    3.668186] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.675722] Spare area=64 eccbytes 56, ecc bytes located at:
[    3.681360]  2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 58 59 60 61 62 63
[    3.681360] Available 7 bytes at (off,len):
[    3.700018] (1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0)
[    3.718649] Scanning device for bad blocks
[    4.416903] Options: NO_SUBPAGE_WRITE,
[    4.420674] Creating 1 MTD partitions on "brcmnand":
[    4.425623] 0x000002000000-0x000008000000 : "ddwrt"
[    4.438130] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    4.445699] Freeing unused kernel memory: 344K
[    7.654479] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[    7.793055] create ctf proc
[    7.899775] et_module_init: passivemode set to 0x0
[    7.904560] et_module_init: txworkq set to 0x0
[    7.909010] et_module_init: et_txq_thresh set to 0x400
[    7.914123] et_module_init: et_rxlazy_timeout set to 0x3e8
[    7.919593] et_module_init: et_rxlazy_framecnt set to 0x20
[    7.925054] et_module_init: et_rxlazy_dyn_thresh set to 0
[    7.933547] robo attach
[    7.936082] robo id 53011
[    7.939283] attaching FA
[    7.941968] attach ctf for eth%d
[    7.945211] _ctf_attach:attach eth%d
[    7.948811] bind ctf to eth if
[    7.964505] eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.164.18 (r692288)
[    8.011215] switch id 11
[    8.013752] switch id32 53011
[    8.016850] b5301x_common: found switch: BCM53011, rev 5
[    8.291852] b53_robo_cpu_port_upd, pdesc[5].cpu=1
[    8.296548] bcm_robo_config_vlan_fun vid=1, vlan->members=0x2f, vlan->untag=0xf
[    8.303954] bcm_robo_config_vlan_fun ports=0 1 2 3 5t
[    8.309149] bcm_robo_config_vlan_fun vid=2, vlan->members=0x30, vlan->untag=0x30
[    8.316599] bcm_robo_config_vlan_fun ports=4 5
[   10.302715] wl: module license 'Proprietary' taints kernel.
[   10.308337] Disabling lock debugging due to kernel taint
[   10.360234] wl_module_init: passivemode set to 0x0
[   10.365067] wl_module_init: txworkq set to 0x0
[   10.369587] PCI: Enabling device 0001:01:00.0 (0140 -> 0142)
[   10.519406] _ctf_attach:attach wl0
[   10.526578] eth1: Broadcom BCM4331 802.11 Wireless Controller 7.14.164.18 (r692288)
[   10.584016] _ctf_attach:attach wl1
[   10.591156] eth2: Broadcom BCM4360 802.11 Wireless Controller 7.14.164.18 (r692288)
[   10.786184] eth0: mixed HW and IP checksum settings.
[   12.520874] b53_robo_cpu_port_upd, pdesc[5].cpu=1
[   12.525569] bcm_robo_config_vlan_fun vid=1, vlan->members=0x3f, vlan->untag=0x1f
[   12.533036] bcm_robo_config_vlan_fun ports=0 1 2 3 4 5t
[   12.629501] device br0 entered promiscuous mode
[   12.712753] device vlan1 entered promiscuous mode
[   12.717646] device eth0 entered promiscuous mode
[   12.722828] br0: port 1(vlan1) entered forwarding state
[   12.728277] br0: port 1(vlan1) entered forwarding state
[   13.123436] device eth1 entered promiscuous mode
[   13.128420] br0: port 2(eth1) entered forwarding state
[   13.133838] br0: port 2(eth1) entered forwarding state
[   13.239069] device eth0 left promiscuous mode
[   13.244951] br0: port 1(vlan1) entered disabled state
[   13.260360] device eth0 entered promiscuous mode
[   13.265481] br0: port 1(vlan1) entered forwarding state
[   13.270731] br0: port 1(vlan1) entered forwarding state
[   13.289134] device br0 left promiscuous mode
[   13.298484] device br0 entered promiscuous mode
[   13.315599] device br0 left promiscuous mode
[   14.121513] tun: Universal TUN/TAP device driver, 1.6
[   14.126783] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   14.159087] CTF: disabled
[   15.482370] fast-classifier (PBR safe v2.1.6b): starting up
[   15.488043] fast-classifier: registered
[   15.915371] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.794231] cdc_acm: Unknown symbol usb_put_intf (err 0)
[   16.799547] cdc_acm: Unknown symbol usb_alloc_urb (err 0)
[   16.804979] cdc_acm: Unknown symbol usb_anchor_urb (err 0)
[   16.810440] cdc_acm: Unknown symbol usb_free_urb (err 0)
[   16.815749] cdc_acm: Unknown symbol usb_alloc_coherent (err 0)
[   16.821565] cdc_acm: Unknown symbol usb_ifnum_to_if (err 0)
[   16.827138] cdc_acm: Unknown symbol usb_register_driver (err 0)
[   16.833078] cdc_acm: Unknown symbol usb_get_intf (err 0)
[   16.838367] cdc_acm: Unknown symbol usb_driver_release_interface (err 0)
[   16.845045] cdc_acm: Unknown symbol usb_clear_halt (err 0)
[   16.850524] cdc_acm: Unknown symbol usb_submit_urb (err 0)
[   16.856018] cdc_acm: Unknown symbol usb_free_coherent (err 0)
[   16.861747] cdc_acm: Unknown symbol usb_driver_claim_interface (err 0)
[   16.868251] cdc_acm: Unknown symbol usb_control_msg (err 0)
[   16.873814] cdc_acm: Unknown symbol usb_deregister (err 0)
[   16.879321] cdc_acm: Unknown symbol usb_kill_urb (err 0)
[   16.884635] cdc_acm: Unknown symbol usb_get_from_anchor (err 0)
[   16.913015] cdc_wdm: Unknown symbol usb_alloc_urb (err 0)
[   16.918410] cdc_wdm: Unknown symbol usb_free_urb (err 0)
[   16.923790] cdc_wdm: Unknown symbol usb_register_driver (err 0)
[   16.929737] cdc_wdm: Unknown symbol usb_submit_urb (err 0)
[   16.935216] cdc_wdm: Unknown symbol usb_register_dev (err 0)
[   16.940876] cdc_wdm: Unknown symbol usb_deregister (err 0)
[   16.946361] cdc_wdm: Unknown symbol usb_deregister_dev (err 0)
[   16.952316] cdc_wdm: Unknown symbol usb_kill_urb (err 0)
[   17.100241] usbnet: Unknown symbol usb_alloc_urb (err 0)
[   17.105562] usbnet: Unknown symbol usb_free_urb (err 0)
[   17.110910] usbnet: Unknown symbol usb_clear_halt (err 0)
[   17.116303] usbnet: Unknown symbol usb_submit_urb (err 0)
[   17.121718] usbnet: Unknown symbol usb_control_msg (err 0)
[   17.127192] usbnet: Unknown symbol usb_set_interface (err 0)
[   17.132908] usbnet: Unknown symbol usb_string (err 0)
[   17.137972] usbnet: Unknown symbol usb_unlink_urb (err 0)
[   17.143381] usbnet: Unknown symbol usb_get_urb (err 0)
[   17.148528] usbnet: Unknown symbol usb_scuttle_anchored_urbs (err 0)
[   17.154991] usbnet: Unknown symbol usb_kill_urb (err 0)
[   17.160243] usbnet: Unknown symbol usb_get_from_anchor (err 0)
[   17.285453] qmi_wwan: Unknown symbol usbnet_write_cmd (err 0)
[   17.291204] qmi_wwan: Unknown symbol usb_ifnum_to_if (err 0)
[   17.296881] qmi_wwan: Unknown symbol usb_register_driver (err 0)
[   17.302870] qmi_wwan: Unknown symbol usbnet_change_mtu (err 0)
[   17.308708] qmi_wwan: Unknown symbol usbnet_open (err 0)
[   17.314006] qmi_wwan: Unknown symbol usb_driver_release_interface (err 0)
[   17.320762] qmi_wwan: Unknown symbol usbnet_get_ethernet_addr (err 0)
[   17.327188] qmi_wwan: Unknown symbol cdc_parse_cdc_header (err 0)
[   17.333263] qmi_wwan: Unknown symbol usbnet_tx_timeout (err 0)
[   17.339072] qmi_wwan: Unknown symbol usbnet_suspend (err 0)
[   17.344628] qmi_wwan: Unknown symbol usbnet_start_xmit (err 0)
[   17.350436] qmi_wwan: Unknown symbol usb_driver_claim_interface (err 0)
[   17.357031] qmi_wwan: Unknown symbol usbnet_get_endpoints (err 0)
[   17.363104] qmi_wwan: Unknown symbol usb_deregister (err 0)
[   17.368669] qmi_wwan: Unknown symbol usb_cdc_wdm_register (err 0)
[   17.374750] qmi_wwan: Unknown symbol usbnet_stop (err 0)
[   17.380045] qmi_wwan: Unknown symbol usbnet_disconnect (err 0)
[   17.385873] qmi_wwan: Unknown symbol usbnet_probe (err 0)
[   17.391247] qmi_wwan: Unknown symbol usbnet_resume (err 0)
[   17.511629] usbserial: Unknown symbol usb_put_intf (err 0)
[   17.517164] usbserial: Unknown symbol usb_alloc_urb (err 0)
[   17.522731] usbserial: Unknown symbol usb_free_urb (err 0)
[   17.528255] usbserial: Unknown symbol usb_register_driver (err 0)
[   17.534335] usbserial: Unknown symbol usb_match_one_id (err 0)
[   17.540164] usbserial: Unknown symbol usb_disabled (err 0)
[   17.545644] usbserial: Unknown symbol usb_show_dynids (err 0)
[   17.551374] usbserial: Unknown symbol usb_get_intf (err 0)
[   17.556851] usbserial: Unknown symbol usb_put_dev (err 0)
[   17.562229] usbserial: Unknown symbol usb_get_dev (err 0)
[   17.567626] usbserial: Unknown symbol usb_submit_urb (err 0)
[   17.573290] usbserial: Unknown symbol usb_match_id (err 0)
[   17.578753] usbserial: Unknown symbol usb_store_new_id (err 0)
[   17.584598] usbserial: Unknown symbol usb_poison_urb (err 0)
[   17.590234] usbserial: Unknown symbol usb_unpoison_urb (err 0)
[   17.596062] usbserial: Unknown symbol usb_deregister (err 0)
[   17.601737] usbserial: Unknown symbol usb_kill_urb (err 0)
[   17.680617] usb_wwan: Unknown symbol usb_alloc_urb (err 0)
[   17.686100] usb_wwan: Unknown symbol usb_anchor_urb (err 0)
[   17.691703] usb_wwan: Unknown symbol usb_free_urb (err 0)
[   17.697120] usb_wwan: Unknown symbol usb_serial_port_softint (err 0)
[   17.703521] usb_wwan: Unknown symbol usb_submit_urb (err 0)
[   17.709230] usb_wwan: Unknown symbol usb_control_msg (err 0)
[   17.714889] usb_wwan: Unknown symbol usb_unlink_urb (err 0)
[   17.720469] usb_wwan: Unknown symbol usb_kill_urb (err 0)
[   17.725849] usb_wwan: Unknown symbol usb_get_from_anchor (err 0)
[   17.876910] sierra: Unknown symbol usb_alloc_urb (err 0)
[   17.882248] sierra: Unknown symbol usb_anchor_urb (err 0)
[   17.887623] sierra: Unknown symbol usb_free_urb (err 0)
[   17.892835] sierra: Unknown symbol usb_serial_port_softint (err 0)
[   17.899031] sierra: Unknown symbol usb_clear_halt (err 0)
[   17.904415] sierra: Unknown symbol usb_kill_anchored_urbs (err 0)
[   17.910490] sierra: Unknown symbol usb_submit_urb (err 0)
[   17.915877] sierra: Unknown symbol usb_control_msg (err 0)
[   17.921336] sierra: Unknown symbol usb_set_interface (err 0)
[   17.926991] sierra: Unknown symbol usb_serial_deregister_drivers (err 0)
[   17.933679] sierra: Unknown symbol usb_unanchor_urb (err 0)
[   17.939237] sierra: Unknown symbol usb_kill_urb (err 0)
[   17.944447] sierra: Unknown symbol usb_get_from_anchor (err 0)
[   17.950258] sierra: Unknown symbol usb_serial_register_drivers (err 0)
[   18.024278] option: Unknown symbol usb_wwan_write (err 0)
[   18.029678] option: Unknown symbol usb_wwan_close (err 0)
[   18.035126] option: Unknown symbol usb_wwan_port_probe (err 0)
[   18.040945] option: Unknown symbol usb_submit_urb (err 0)
[   18.046349] option: Unknown symbol usb_wwan_tiocmget (err 0)
[   18.051992] option: Unknown symbol usb_wwan_chars_in_buffer (err 0)
[   18.058229] option: Unknown symbol usb_wwan_write_room (err 0)
[   18.064042] option: Unknown symbol usb_wwan_port_remove (err 0)
[   18.069935] option: Unknown symbol usb_serial_deregister_drivers (err 0)
[   18.076618] option: Unknown symbol usb_wwan_dtr_rts (err 0)
[   18.082179] option: Unknown symbol usb_wwan_open (err 0)
[   18.087470] option: Unknown symbol usb_wwan_ioctl (err 0)
[   18.092856] option: Unknown symbol usb_serial_register_drivers (err 0)
[   18.099355] option: Unknown symbol usb_wwan_tiocmset (err 0)
[   18.142293] qcserial: Unknown symbol usb_wwan_write (err 0)
[   18.147865] qcserial: Unknown symbol usb_wwan_close (err 0)
[   18.153450] qcserial: Unknown symbol usb_wwan_port_probe (err 0)
[   18.159435] qcserial: Unknown symbol usb_wwan_chars_in_buffer (err 0)
[   18.165879] qcserial: Unknown symbol usb_wwan_write_room (err 0)
[   18.171873] qcserial: Unknown symbol usb_set_interface (err 0)
[   18.177684] qcserial: Unknown symbol usb_wwan_port_remove (err 0)
[   18.183762] qcserial: Unknown symbol usb_serial_deregister_drivers (err 0)
[   18.190613] qcserial: Unknown symbol usb_wwan_dtr_rts (err 0)
[   18.196337] qcserial: Unknown symbol usb_wwan_open (err 0)
[   18.201803] qcserial: Unknown symbol usb_serial_register_drivers (err 0)
[   18.794034] random: nonblocking pool is initialized
[   28.154958] br0: port 2(eth1) entered forwarding state
[   28.274864] br0: port 1(vlan1) entered forwarding state
[   31.512243] usbcore: registered new interface driver usbfs
[   31.517975] usbcore: registered new interface driver hub
[   31.523492] usbcore: registered new device driver usb
[   31.570765] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   31.618164] ehci-pci: EHCI PCI platform driver
[   31.622818] ehci-pci 0000:00:0b.1: EHCI Host Controller
[   31.628135] ehci-pci 0000:00:0b.1: new USB bus registered, assigned bus number 1
[   31.635699] ehci-pci 0000:00:0b.1: irq 111, io mem 0x18021000
[   31.662541] ehci-pci 0000:00:0b.1: USB 0.0 started, EHCI 1.00
[   31.669029] hub 1-0:1.0: USB hub found
[   31.672901] hub 1-0:1.0: 2 ports detected
[   31.773183] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   31.790482] ohci-pci: OHCI PCI platform driver
[   31.795028] ohci-pci 0000:00:0b.0: OHCI PCI host controller
[   31.800723] ohci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 2
[   31.808339] ohci-pci 0000:00:0b.0: irq 111, io mem 0x18022000
[   31.872891] hub 2-0:1.0: USB hub found
[   31.876782] hub 2-0:1.0: 2 ports detected
[   31.928542] usb 1-2: new high-speed USB device number 2 using ehci-pci
[   31.945227] xhci_hcd 0000:00:0c.0: xHCI Host Controller
[   31.950604] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 3
[   31.958322] xhci_hcd 0000:00:0c.0: hcc params 0x02501164 hci version 0x100 quirks 0x00000010
[   31.967634] hub 3-0:1.0: USB hub found
[   31.971996] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
[   31.979784] xhci_hcd 0000:00:0c.0: xHCI Host Controller
[   31.985208] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 4
[   31.994984] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   32.003946] hub 4-0:1.0: USB hub found
[   32.007835] hub 4-0:1.0: 1 port detected
[   49.679746] fast-classifier: shutting down
[   50.518447] fast-classifier (PBR safe v2.1.6b): starting up
[   50.524109] fast-classifier: registered
[   55.090894] usbcore: registered new interface driver cdc_acm
[   55.096667] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   55.116588] usbcore: registered new interface driver cdc_wdm
[   55.146206] qmi_wwan 1-2:1.4: cdc-wdm0: USB WDM device
[   55.153852] qmi_wwan 1-2:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:0b.1-2, WWAN/QMI device, 26:6f:ff:be:ef:1b
[   55.164393] usbcore: registered new interface driver qmi_wwan
[   55.184631] usbcore: registered new interface driver usbserial
[   55.190615] usbcore: registered new interface driver usbserial_generic
[   55.197212] usbserial: USB Serial support registered for generic
[   55.224984] usbcore: registered new interface driver sierra
[   55.230763] usbserial: USB Serial support registered for Sierra USB modem
[   55.248821] usbcore: registered new interface driver option
[   55.254585] usbserial: USB Serial support registered for GSM modem (1-port)
[   55.261883] option 1-2:1.0: GSM modem (1-port) converter detected
[   55.268268] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[   55.275365] option 1-2:1.1: GSM modem (1-port) converter detected
[   55.281987] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[   55.289274] option 1-2:1.2: GSM modem (1-port) converter detected
[   55.295724] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[   55.302844] option 1-2:1.3: GSM modem (1-port) converter detected
[   55.309226] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
[   55.328005] usbcore: registered new interface driver qcserial
[   55.334072] usbserial: USB Serial support registered for Qualcomm USB modem
[  107.169932] fast-classifier: shutting down
[  107.995308] fast-classifier (PBR safe v2.1.6b): starting up
[  108.001034] fast-classifier: registered
[  164.294317] fast-classifier: shutting down
[  165.108091] fast-classifier (PBR safe v2.1.6b): starting up
[  165.113826] fast-classifier: registered
[  221.400687] fast-classifier: shutting down
[  222.223392] fast-classifier (PBR safe v2.1.6b): starting up
[  222.229148] fast-classifier: registered
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Jul 27, 2022 12:59    Post subject: Re: Supported Alfa 4G USB dongle does not work Reply with quote
mjidhage wrote:
Hi there!

Any pointers on how to proceed would be very much appreciated - should I play around with usb_modeswitch? Even though depswa did have progress with usb_modeswitch I got the impression the actual solution was a change in lib3g?

//Mattias


The 2 Quectel modems which are supported according to the wiki list did for some reason never get into lib3g.. Rolling Eyes

I'll add them and send Brainslayer the updated source in a day or two.

_________________
Kernel panic: Aiee, killing interrupt handler!
mjidhage
DD-WRT Novice


Joined: 27 Jul 2022
Posts: 5

PostPosted: Wed Jul 27, 2022 15:12    Post subject: Reply with quote
Hi LOM,
as far as pointers/response to a question go - that's about as good as they get. Thanks a million!

//Mattias
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14102
Location: Texas, USA

PostPosted: Thu Jul 28, 2022 15:07    Post subject: Reply with quote
Fixed: https://svn.dd-wrt.com/changeset/49585
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
mjidhage
DD-WRT Novice


Joined: 27 Jul 2022
Posts: 5

PostPosted: Sat Jul 30, 2022 17:45    Post subject: Reply with quote
Nice! Very much appreciated and thanks to all involved!

Tried todays build (r49599) and the modem now connects according to the GUI. Also reports signal strength Smile

However, I get no WAN IP.

Used qmi to check status and got informed it was disconnected. Tried to connect it manually:

Code:
root@DD-WRT:~# uqmi -d /dev/cdc-wdm0 --get-data-status
"disconnected"
root@DD-WRT:~# uqmi -d /dev/cdc-wdm0 --start-network internet --autoconnect
-2026896544
root@DD-WRT:~# uqmi -d /dev/cdc-wdm0 --get-data-status
"connected"


Success! But still no IP in the webGUI, however. And still no connection to internet - also verified by using a client to try to connect to internet. Checked nvram, see nothing odd:

Code:
root@DD-WRT:~# nvram show | grep 3g
size: 37900 bytes (27636 left)
3gcontrol=qmi
3gdata=qmi
wan_proto=3g
wan_3g_signal=RSSI: -63 / RSRQ: -9
wan_3g_mode=lte

Checked routing and wwan0 is not present.
Code:
root@DD-WRT:~# ip route
127.0.0.0/8 dev lo scope link
192.168.1.0/24 dev br0 scope link  src 192.168.1.1

Anything from the modem? Yes, this looks promising - the modem seems to think it has an ip (it's an internal ISP IP, but that's probably ok)
Code:
root@DD-WRT:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
{
   "pdp-type": "ipv4",
   "ip-family": "ipv4",
   "mtu": 1500,
   "ipv4": {
      "ip": "100.89.211.205",
      "dns1": "2.248.248.101",
      "dns2": "2.248.248.100",
      "gateway": "100.89.211.206",
      "subnet": "255.255.255.252"
   },
   "ipv6": {
      
   },
   "domain-names": {
      
   }
}


Looking at wwan0 it does not get an IP though
Code:
root@DD-WRT:~# ifconfig
br0       Link encap:Ethernet  HWaddr C0:FF:D4:80:A2:A4 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10412 errors:0 dropped:41 overruns:0 frame:0
          TX packets:11113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:920346 (898.7 KiB)  TX bytes:11574783 (11.0 MiB)

eth0      Link encap:Ethernet  HWaddr C0:FF:D4:80:A2:A2 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:63658 (62.1 KiB)
          Interrupt:179 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr C0:FF:D4:80:A2:A4 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17376 errors:0 dropped:19 overruns:0 frame:7734
          TX packets:21201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1593365 (1.5 MiB)  TX bytes:24177360 (23.0 MiB)
          Interrupt:163

eth2      Link encap:Ethernet  HWaddr C0:FF:D4:80:A2:B1 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:169

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:160 (160.0 B)  TX bytes:160 (160.0 B)

vlan1     Link encap:Ethernet  HWaddr C0:FF:D4:80:A2:A2 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:350 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:62258 (60.7 KiB)

wwan0     Link encap:Ethernet  HWaddr B2:9E:58:44:1E:BE 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:45828 (44.7 KiB)


hw adress of wwan0 matches the USB device that was registered as QMI

Code:
qmi_wwan 1-2:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:0b.1-2, WWAN/QMI device, b2:9e:58:44:1e:be


My naive analysis is that the modem is connecting to the ISP but there is something lacking in the interface between the modem and dd-wrt router.

Any ideas?

//Mattias
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1889

PostPosted: Sat Jul 30, 2022 19:54    Post subject: Reply with quote
What port is assigned to WAN on the Setup -> Networking tab?
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sun Jul 31, 2022 6:06    Post subject: Reply with quote
mjidhage wrote:

However, I get no WAN IP.
Any ideas?

//Mattias


It looks like the EC-25 uses raw_ip protocol.

See: https://forum.openwrt.org/t/openwrt-and-qmi-mode-lte-quectel-ec25-e-raw-ip/97680

Can you get it working by manually flag it for raw_ip in the sysfs?

_________________
Kernel panic: Aiee, killing interrupt handler!
mjidhage
DD-WRT Novice


Joined: 27 Jul 2022
Posts: 5

PostPosted: Sun Jul 31, 2022 7:57    Post subject: Reply with quote
Thanks LOM, that seems to do the trick.

For reference:
Code:
root@DD-WRT:~# cat /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
N
root@DD-WRT:# echo "Y" > /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
root@DD-WRT:# cat /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
Y


Must be done with wwan0 removed (ifconfig wwan0 down), otherwise the error "sh: write error: Resource busy" appears.

Code:
root@DD-WRT:~# ifconfig wwan0
wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          inet addr:100.91.177.182  P-t-P:100.91.177.182  Mask:255.255.255.252
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:110069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111968 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:113326330 (108.0 MiB)  TX bytes:111265696 (106.1 MiB)



WAN IP is correctly showed in webGUI and connection is working lika a charm.

Code:
root@DD-WRT:~# ip route
default via 100.91.177.181 dev wwan0
100.91.177.180/30 dev wwan0 scope link  src 100.91.177.182
127.0.0.0/8 dev lo scope link
192.168.1.0/24 dev br0 scope link  src 192.168.1.1


The change does not survive a reboot. Tried to create a "lost signal" scenario to see if the change survives but the modem antenna is just too damned good.

I'm guessing startup commands could solve the issue of the changes not surviving reboot? Are there any other possible solutions to make the setup more robust (not require manual setup)?

//Mattias
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sun Jul 31, 2022 8:12    Post subject: Reply with quote
mjidhage wrote:
Are there any other possible solutions to make the setup more robust (not require manual setup)?

//Mattias


Yes, I have asked Brainslayer to flag all the Quectel cards I added support for as QMIRAW instead of QMI so should work automagically in next released build.

_________________
Kernel panic: Aiee, killing interrupt handler!
mjidhage
DD-WRT Novice


Joined: 27 Jul 2022
Posts: 5

PostPosted: Sun Jul 31, 2022 9:07    Post subject: Reply with quote
Thanks, that sounds to me like a very robust setup/solution Smile
//Mattias
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Jul 31, 2022 9:41    Post subject: Reply with quote
mjidhage wrote:
Thanks LOM, that seems to do the trick.

For reference:
Code:
root@DD-WRT:~# cat /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
N
root@DD-WRT:# echo "Y" > /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
root@DD-WRT:# cat /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.4/net/wwan0/qmi/raw_ip
Y


Must be done with wwan0 removed (ifconfig wwan0 down), otherwise the error "sh: write error: Resource busy" appears.

Code:
root@DD-WRT:~# ifconfig wwan0
wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          inet addr:100.91.177.182  P-t-P:100.91.177.182  Mask:255.255.255.252
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:110069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111968 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:113326330 (108.0 MiB)  TX bytes:111265696 (106.1 MiB)



WAN IP is correctly showed in webGUI and connection is working lika a charm.

Code:
root@DD-WRT:~# ip route
default via 100.91.177.181 dev wwan0
100.91.177.180/30 dev wwan0 scope link  src 100.91.177.182
127.0.0.0/8 dev lo scope link
192.168.1.0/24 dev br0 scope link  src 192.168.1.1


The change does not survive a reboot. Tried to create a "lost signal" scenario to see if the change survives but the modem antenna is just too damned good.

I'm guessing startup commands could solve the issue of the changes not surviving reboot? Are there any other possible solutions to make the setup more robust (not require manual setup)?

//Mattias

Its perfectly normal to be unable to configure interfaces while they are in use via CLI, so as you noticed you need to send interface down, config and send interface up.

In addition and for immediate persistent benefit, in order to survive reboots and clicking the apply button, feel free to use the Administration tab/Commands sub-tab and save the config as Firewall. This will run then at every reboot and when clicking apply where services are restarted and interfaces go down and up.

Obviously you need to send the interface down, inject the config and send interface up in this scenario.

It will work.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14102
Location: Texas, USA

PostPosted: Sun Jul 31, 2022 17:20    Post subject: Reply with quote
Will be fixed in the next release. Thank you for all you do, LOM!

https://svn.dd-wrt.com/changeset/49600

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum