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

ZTE MF820 4G LTE USB,

Post by kennylam » 17 Aug 2011, 22:17

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: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 18 Aug 2011, 19:11

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: 17 Aug 2011, 22:13

Post by kennylam » 20 Aug 2011, 22:26

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: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 22 Aug 2011, 19:59

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: 17 Aug 2011, 22:13

Post by kennylam » 23 Aug 2011, 21:15

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: 17 Aug 2011, 22:13

Post by kennylam » 24 Aug 2011, 10:51

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