Having great trouble getting a 4g USB (ZTE MF823) to work with a router (TL-MR3020).
The USB device doesn't seem to be recognised - I've got no ttyUSBx under /dev/.
I started with the image suggested for the MR3020 (openwrt-15.05-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin)
To this I've added a few packages:
comgt
chat
luci-proto-3g
I've then added the interface config:
config interface 'wan'
option ifname 'ppp0'
option apn 3internet
option service umts
option proto 3g
option device /dev/ttyUSB0
The device seems to be recognised in some form:
root@OpenWrt:~# 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= 3.18
S: Manufacturer=Linux 3.18.20 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=ehci-platform
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#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=1225 Rev=f0.70
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=MF8230ZTED010000
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
Though the output from dmesg doesn't quite match up with what I'm expecting based on https://wiki.openwrt.org/doc/recipes/3gdongle
[ 4.120000] usbcore: registered new interface driver usbfs
[ 4.120000] usbcore: registered new interface driver hub
[ 4.130000] usbcore: registered new device driver usb
[ 4.140000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.150000] ehci-platform: EHCI generic platform driver
[ 4.150000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.160000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.170000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.190000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.190000] hub 1-0:1.0: USB hub found
[ 4.190000] hub 1-0:1.0: 1 port detected
[ 4.520000] usb 1-1: new high-speed USB device number 2 using ehci-platform
The closest I can find is under /dev/bus/usb/001/001 or /002... but subbing that in to the interface config doesn't work either.
Pulling my hair out on this one... any suggestions appreciated!
(Last edited by cjhx on 16 May 2016, 22:03)