Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
kennylam
Posts: 4
Joined: Wed Aug 17, 2011 10:13 pm

ZTE MF820 4G LTE USB,

Post by kennylam » Wed Aug 17, 2011 10:17 pm

DefaultVendor= 0x19d2
DefaultProduct=0x0166

TargetVendor= 0x19d2
TargetProduct=0x0167

MessageEndpoint=0x01
MessageContent=55534243e856e2892400000080000685000000240000000000000000000000


----------------------------
Extra AT command for locking the device to use only 4G LTE , have fun!!
AT+ZSNT=6,0,0
----------------------------
The above setting has been tested on ZTE MF820 (CSL Hong Kong Ver.) with one2free SIM card only.

Josh
Site Admin
Posts: 6545
Joined: Sat Nov 03, 2007 12:30 am

Post by Josh » Thu Aug 18, 2011 7:11 pm

Thank you very much!

Especially for the AT command which may prove very useful. I quote from your posting on HKEPC if you don't mind:

Code: Select all

AT+ZSNT=0,0,0 (Auto) - Default
AT+ZSNT=1,0,0 GPRS Only
AT+ZSNT=2,0,0 3G Only
AT+ZSNT=0,0,1 GPRS Preferred
AT+ZSNT=0,0,2 3G Preferred

AT+ZSNT=6,0,0 LTE Only (Tested)
AT+ZSNT=0,0,6 LTE Preferred (Not tested yet)
May I add your name as the contributor of this device in the coming versions of the device reference?


kennylam
Posts: 4
Joined: Wed Aug 17, 2011 10:13 pm

Post by kennylam » Sat Aug 20, 2011 10:26 pm

Sure.

In addition
1) CheckSuccess=20 should be added to the config as well. It is tested work.
2) I tested that the usbserial module in kernel 2.6.38 works on ZTE MF820 with "modprobe usbserial product=0x19d2 vendor=0x0167". However, Kernel 2.6.35 doesn't not work even with forced product/vendor ID.

Josh
Site Admin
Posts: 6545
Joined: Sat Nov 03, 2007 12:30 am

Post by Josh » Mon Aug 22, 2011 7:59 pm

In any case, the driver "option" is recommended for high speed modems.

If it does not know the USB ID of the modem yet, it can be activated manually:

Code: Select all

# modprobe -v option
# echo "19d2 0167" > /sys/bus/usb-serial/drivers/option1/new_id

kennylam
Posts: 4
Joined: Wed Aug 17, 2011 10:13 pm

Post by kennylam » Tue Aug 23, 2011 9:15 pm

I have tested that the driver "option" results lesser CPU usage on a OpenWRT powered router. However, the driver "usb-serial" result better transfer speed when using single TCP connection.

Testing setup: maximum downstream only, value taken from DUmeter, TP-Link WR841NDv3 with USB 2.0 mod

Downloading using FlashGet with 10 connections:
usb-serial: 3.2MB/s,CPU 75%
option: 3.2MB/s,CPU 96%

OFTA Hong Kong:
usb-serial: 2.9MB/s,Latency 30ms,Jitter 4ms
option: 2.5MB/s,Latency 29ms,Jitter 1ms

kennylam
Posts: 4
Joined: Wed Aug 17, 2011 10:13 pm

Post by kennylam » Wed Aug 24, 2011 10:51 am

oops, the CPU usage was just swapped, the correct value should be as follow:

usb-serial: 3.2MB/s,CPU 96%
option: 3.2MB/s,CPU 75%

the driver "option" takes much lesser CPU time

Post Reply