Page 1 of 1

ZTE MF820 on Android 4.03

Posted: 15 Apr 2012, 15:23
by garrylam
Hi, I use Ainol Novo7 Aurora, it is a android 4.03 tablet, with usb_modeswitch 1.2.0 (C) Josua Dietze 2011
This tablet support many 3G dongle by OTG, but it cannot auto detect my ZTE MF820 LTE 4G dongle.

when I run usb_mdoeswitch after I plugged into the MF820 and the light still red before turn blue, I saw this message

app_61@android:/etc # usb_modeswitch -I -W -c usb_modeswitch.d/19d2_0166

Reading config file: usb_modeswitch.d/19d2_0166

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.0 (C) Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x19d2
DefaultProduct= 0x0166
TargetVendor= 0x19d2
TargetProduct= 0x0167
TargetClass= not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456782400000080000685000000240000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
searching devices, found USB ID 19d2:0166
found matching vendor ID
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 19d2:0166
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 002 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE LTE Technologies MSM
Serial No.: AL621_FFFS000000
-------------------------
Looking for active driver ...
USB error: could not get bound driver: No data available
No driver found. Either detached before or never attached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
USB error: could not clear/halt ep 129: No such device
Could not reset endpoint (probably harmless): -19
Resetting message endpoint 0x01
USB error: could not clear/halt ep 1: No such device
Could not reset endpoint (probably harmless): -19
USB error: could not release intf 0: No such device
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 19d2:0167
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0001

Found target device, now opening

Found target device 003 on bus 001

Target device description data
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE LTE Technologies MSM
Serial No.: not provided
-------------------------
Found correct target device

Mode switch succeeded. Bye.



But my MF820 still cannot work, how to solve this problem.
Thanks.

Posted: 15 Apr 2012, 15:51
by garrylam
#dmesg
.....

------------IRQ CONNECT-------------

[sw_hcd]: reset port.
[sw_hcd]: reset port stopped.
spurious?
usb 1-1: new high speed USB device number 2 using sw_hcd_host0
[sw_hcd]: reset port.
[sw_hcd]: reset port stopped.
[sw_hcd]: sw_hcd_h_disable, epnum = 0
[sw_hcd]: sw_hcd_h_disable, epnum = 0
scsi0 : usb-storage 1-1:1.0
scsi 0:0:0:0: CD-ROM L_T_E USB SCSI CD-ROM USB PQ: 0 ANSI: 0
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
sr0: scsi-1 drive
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x240)
WRN:L2280(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_rx, RX end 2 STALL(0x40)
WRN:L1898(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_host_tx, TX 3strikes on ep=2

------------IRQ DISCONNECT-------------

WRN:L2769(drivers/usb/sun4i_usb/hcd/core/sw_hcd_host.c):ERR: sw_hcd_urb_enqueue, host is not active
usb 1-1: USB disconnect, device number 2
[sw_hcd]: sw_hcd_h_disable, epnum = 0
[sw_hcd]: sw_hcd_h_disable, epnum = 0
[sw_hcd]: sw_hcd_h_disable, epnum = 1
[sw_hcd]: sw_hcd_h_disable, epnum = 81
.......

Posted: 15 Apr 2012, 20:51
by Josh
The switch has worked, but it's likely that no driver was loaded.

Try that:

Code: Select all

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

Posted: 16 Apr 2012, 04:21
by garrylam
my tablet doesn't has "modprobe" command,

#lsmod
show ... usbnet and sun4i_csi0.... but no "option"


after I add "19d2 0167" into new_id. still not work, but the dmesg is changed.

#dmesg
...
...
------------IRQ CONNECT-------------

[sw_hcd]: reset port.
[sw_hcd]: reset port stopped.
usb 1-1: new high speed USB device number 9 using sw_hcd_host0
[sw_hcd]: reset port.
[sw_hcd]: reset port stopped.
[sw_hcd]: sw_hcd_h_disable, epnum = 0
[sw_hcd]: sw_hcd_h_disable, epnum = 0
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
option 1-1:1.3: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
option 1-1:1.4: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
init: waitpid returned pid 6902, status = 00000000
init: untracked pid 6902 exited
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 1-1:1.0: device disconnected
init: waitpid returned pid 6662, status = 00008100
init: untracked pid 6662 exited
init: waitpid returned pid 6919, status = 00000000
init: untracked pid 6919 exited

Posted: 16 Apr 2012, 19:50
by Josh
If you have a file named "/sys/bus/usb-serial/drivers/option1/new_id" then the option driver is active. Maybe it is compiled into the kernel.

Anyway, the "echo" command seems to have had an effect.

The "device disconnected" message may show a problem; I assume you did not unplug the stick right before that moment, did you?


Posted: 18 Apr 2012, 05:08
by garrylam
Now I can use pppd to get the IP, but cannot access internet, and no 3G icon display on the tablet.

Posted: 18 Apr 2012, 23:04
by Josh
Unfortunately I can't help - I have a tablet which runs 3.2 so I can't test. An update to ICS is announced but will take some more weeks.

Posted: 19 Apr 2012, 10:50
by garrylam
I set DNS and now can access internet through browser, but still no 3g icon appear, and nothing show in mobile network setting.
so I cannot use some apps need check connection. such as speedtest.net

Posted: 21 Apr 2012, 17:10
by garrylam
maybe I use pppd, so even I off the mobile netwrok still can access internet. I can see the single strength in setting , but no mobile company info.
although I can access internet through google browser , and can visit google play, but I cannot download apps from internet.