Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
kiransuresh
Posts: 7
Joined: Tue Apr 22, 2014 3:31 pm

ZTE AC2787 modeswitch fail

Post by kiransuresh » Tue Apr 22, 2014 3:44 pm

I am using a ZTE AC2787 modem and it is successfully getting detected as storage media.
But when i try mode switch the it fails.
The command used is
usb_modeswitch -W -s 20 -u -1 -v 0x19d2 -p 0xfff5 -V 0x19d2 -P 0xfff1 -m 0x01 -M "5553424312345678c00000008000069f030000000000000000000000000000"

The result
Taking all parameters from the command line

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

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= 0xfff1
TargetClass= not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=0x01
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

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


Looking for target devices ...
searching devices, found USB ID 19d2:fff5
found matching vendor ID
searching devices, found USB ID 0000:0000
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 19d2:fff5
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0000:0000
Found devices in default mode or class (1)
Accessing device 002 on bus 001 ...
Using endpoints 0x01 (out) and 0x89 (in)
Using endpoints 0x01 (out) and 0x89 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
libusb:error [submit_bulk_transfer] submiturb failed error -1 errno=2
Could not send INQUIRY message (error -1)

USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Looking for active driver ...
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 ...
libusb:error [submit_bulk_transfer] submiturb failed error -1 errno=2
Sending the message returned error -1. Trying to continue
Resetting response endpoint 0x89
Resetting message endpoint 0x01
Error resetting endpoint: -5

Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
Original device still present after the timeout

Mode switch most likely failed. Bye.


What should be done here!! The modeswitch doesnt appear to happen

LOM
Posts: 1292
Joined: Wed Jul 11, 2012 3:14 pm
Location: Koh Samui, TH

Re: ZTE AC2787 modeswitch fail

Post by LOM » Tue Apr 22, 2014 4:22 pm

Show me the output from lsusb -v -d 19d2:fff5

kiransuresh
Posts: 7
Joined: Tue Apr 22, 2014 3:31 pm

Re: ZTE AC2787 modeswitch fail

Post by kiransuresh » Wed Apr 23, 2014 12:39 pm

Thank u for quick response :lol:
LOM wrote:Show me the output from lsusb -v -d 19d2:fff5
Actually am working in an embedded system and lsusb doesnt work. The said problem has been solved by editing the usb_modeswitch.d/19d2:fff5 file. With correct vendor and product id :D :D

Now a new problem has cropped :cry:

The first time alone the modem seems to be working. But once I remove and connect the dongle its not working.

"connect script failed" error is shown.

The modem connects only during first time. Then the modem connects only with a reboot with the modem plugged in. any idea???


P.S : Other modems like huawei dont seem to have problem with hotplugging. But once this ZTE modem is connected then none of the dongles get connected.

Post Reply