Page 1 of 1

ZTE WCDMA ,MF6310ZTED010000

Posted: 01 Jul 2015, 09:53
by giri
Hello everyone,
I'm trying to connect tata docomo 3g dongle to my arm board (which has linux 2.6.32), steps i have done are as follows:

1-> cross compiled usb_modeswitch to arm board and kept it inside /bin/ directory of my board.
2-> i dont know what to do or how to use usb_modeswitch_data which i downloaded from http://www.draisberghof.de, i have copied usb_modeswitch.d inside /etc/
my device product id is 0x0154 and vendor id is 0x19d2

i have this inside /etc/usb_modeswitc.d/19d2:0154


# ZTE MF190 (Variant) and others
# ZTE MF190 (Variant) and others
TargetVendor=0x19d2
TargetProductList="0017,0117,2003"
StandardEject=1

and when i run this usb_modeswitch

./usb_modeswitch -v 0x19d2 -p 0x0154 -V 0x19d2 -P 0x0117 -M 55534243123456790000000
00000061b000000020000000000000000000000

result is

Take all parameters from the command line


* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.0 (C) Josua Dietze 2014
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x19d2
DefaultProduct= 0x0154
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0

Look for default devices ...
found USB ID 1d6b:0002
found USB ID 1d6b:0002
found USB ID 0451:8043
found USB ID 19d2:0154
vendor ID matched
product ID matched
Found devices in default mode (1)
Access device 004 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE WCDMA Technologies MSM
Serial No.: MF6310ZTED010000
-------------------------
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!


but i'm not able to find ttyUSB inside /dev/ directory and even it is not acting as amodem

please do suggest any ideas to overcome this issue

Re: ZTE WCDMA ,MF6310ZTED010000

Posted: 01 Jul 2015, 13:49
by LOM
I'm sure you will get a better understanding of how to use usb_modeswitch and its data package if you put some bit of an effort into reading the "How-to's" on the main usb_modeswitch web page:

http://www.draisberghof.de/usb_modeswitch/#usage

http://www.draisberghof.de/usb_modeswitch/#install

I guess that your dongle switches into an id which is not 19d2:0117 but you would had known what it switched into if you had followed the instruction from the usb_modeswitch output:
usb_modeswitch wrote:
-> Run lsusb to note any changes. Bye!

Re: ZTE WCDMA ,MF6310ZTED010000

Posted: 01 Jul 2015, 15:28
by giri
Hi LOM, actually i'm using a bit old busybox in my board so could not use lsusb.

Re: ZTE WCDMA ,MF6310ZTED010000

Posted: 01 Jul 2015, 16:38
by LOM
Then try with either cat /proc/bus/usb/devices or cat /sys/kernel/debug/usb/devices

Re: ZTE WCDMA ,MF6310ZTED010000

Posted: 01 Jul 2015, 18:20
by Josh
It's not quite possible to run this:
giri wrote:./usb_modeswitch -v 0x19d2 -p 0x0154 -V 0x19d2 -P 0x0117 -M 5553424312345679000000000000061b000000020000000000000000000000
and then get this:
giri wrote:DefaultVendor= 0x19d2
DefaultProduct= 0x0154
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
I think you might have to sort out your logs ...