Trouble with ZTE MF-626
Just bought a ZTE MF-626 today, and by the looks of things it'll need to be switched using a command. However, I can't work out from the SniffUsb log which command I should use.
The log is at http://www.vandewerken.id.au/zte-mf-626.log
If someone could take a quick look and decipher it for me I'd appreciate it.
Cheers,
mvdw
The log is at http://www.vandewerken.id.au/zte-mf-626.log
If someone could take a quick look and decipher it for me I'd appreciate it.
Cheers,
mvdw
Still can't switch
Tried the following based on the usbsnoop log as linked above:
sudo usb_modeswitch -v 0x19d2 -p 0x2000 -m 1 -M "55534243e0f026892400000080000c12000000240000000000000000000000"
With still no luck.
Ideas? Am I snooping the correct place?
Note that dmesg gives:
Oct 29 13:16:19 hammond kernel: [ 5421.021813] usb-storage: device ignored
when I plug it in, so maybe a clue?
Cheers,
mvdw
sudo usb_modeswitch -v 0x19d2 -p 0x2000 -m 1 -M "55534243e0f026892400000080000c12000000240000000000000000000000"
With still no luck.
Ideas? Am I snooping the correct place?
Note that dmesg gives:
Oct 29 13:16:19 hammond kernel: [ 5421.021813] usb-storage: device ignored
when I plug it in, so maybe a clue?
Cheers,
mvdw
That log looks terribly short... For comparison, my log from the ZTE MF-628 was 1 Mb, having 18000 lines.
So I think you only got the top of the log there (since you have the configuration stuff in it), and the switch command us usually at the very end.
Try to get a new log.
However, you've created a perfectly correct usb_modeswitch command considering the log you have
So I think you only got the top of the log there (since you have the configuration stuff in it), and the switch command us usually at the very end.
Try to get a new log.
However, you've created a perfectly correct usb_modeswitch command considering the log you have

-
- Posts: 1
- Joined: 12 Nov 2008, 04:19
- Location: Brisbane, Australia
-
- Posts: 1
- Joined: 15 Nov 2008, 17:55
I have a MF626 from my provider in France. I'm on ubuntu 8.10
As indicate in this topic, i've tryed the MF628+ config for usb_modeswitch, but nothing append, the product id stay at 19d2:2000.
Could you give me the exact command you use to switch your device ?
Thanks
PS : sorry for my english, french people sucks in other laguage
As indicate in this topic, i've tryed the MF628+ config for usb_modeswitch, but nothing append, the product id stay at 19d2:2000.
Could you give me the exact command you use to switch your device ?
Thanks
PS : sorry for my english, french people sucks in other laguage

Re: Still can't switch
Hello
Did you manage to make this device work?
I have a similar device. On the box it sais Huawei but on the device it is writen HSDPA USB stick
model: K3565-z ZTE Corporation.
It has a micro sd slot.
when i plug it in the usb slot i get logs in syslog:
The vid and pid are 19d2:2000
In windows it swiches to 19d2:0052
i followed this tutorial: http://blogger.ziesemer.com/2008/10/all ... buntu.html
i have the folowing log files:
http://78.158.0.250/UsbSnoop.log
http://78.158.0.250/UsbSnoop2.log
They are very similar to the one in the firs post.
as i understand from the log file what happens is:
a string 5553424308b0a4892400000080000c12000000240000000000000000000000 is written to endpoint 0x01 then a string is read from endpoint 0x81 then another string is read from endpoint 0x81 and then the firs string again is writen to endpoint 0x01 and then device swiches to modem mode
i tried this with usb_modeswich with no success
I modified the usb_modeswich to print the bytes read
for some reason it is not what is read in windows
Am i going in the right direction ?
and does anyone know why it is not working?
is there anything else i can try?
Did you manage to make this device work?
I have a similar device. On the box it sais Huawei but on the device it is writen HSDPA USB stick
model: K3565-z ZTE Corporation.
It has a micro sd slot.
when i plug it in the usb slot i get logs in syslog:
Code: Select all
Dec 27 01:35:48 poetas-laptop kernel: [33353.304183] usb 4-3: new high speed USB device using ehci_hcd and address 47
Dec 27 01:35:49 poetas-laptop kernel: [33353.477639] usb 4-3: configuration #1 chosen from 1 choice
Dec 27 01:35:49 poetas-laptop kernel: [33353.480243] usb-storage: device ignored
In windows it swiches to 19d2:0052
i followed this tutorial: http://blogger.ziesemer.com/2008/10/all ... buntu.html
i have the folowing log files:
http://78.158.0.250/UsbSnoop.log
http://78.158.0.250/UsbSnoop2.log
They are very similar to the one in the firs post.
as i understand from the log file what happens is:
a string 5553424308b0a4892400000080000c12000000240000000000000000000000 is written to endpoint 0x01 then a string is read from endpoint 0x81 then another string is read from endpoint 0x81 and then the firs string again is writen to endpoint 0x01 and then device swiches to modem mode
i tried this with usb_modeswich with no success
I modified the usb_modeswich to print the bytes read
for some reason it is not what is read in windows
Code: Select all
sudo ./usb_modeswitch -v 0x19d2 -p 0x2000 -m 0x01 -M "5553424308b0a4892400000080000c12000000240000000000000000000000" -r 0x81
Looking for default devices
Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
No driver found. Device probably not initialized. Trying to continue ...
Setting up communication with device
Trying to send the message'5553424308b0a4892400000080000c12000000240000000000000000000000'
OK, message successfully sent.
Reading the response
OK, response successfully read (36 bytes).
058000321f0000005a5445202020202055534220534353492043442d524f4d00322e3331
Reading the response
OK, response successfully read (13 bytes).
5553425308b0a4890000000000
Trying to send the message'5553424308b0a4892400000080000c12000000240000000000000000000000'
OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye
and does anyone know why it is not working?
is there anything else i can try?
Re: Still can't switch
Solved the problem myself
i used the config from ZTE MF628+
aparently if one config failed to swich the device
and you want to try another config you have to pull out the usb stick and plug it back in again before continuing.
i used the config from ZTE MF628+
aparently if one config failed to swich the device
and you want to try another config you have to pull out the usb stick and plug it back in again before continuing.
Re: Still can't switch
Hi Poetas,poetas wrote:Solved the problem myself
i used the config from ZTE MF628+
aparently if one config failed to swich the device
and you want to try another config you have to pull out the usb stick and plug it back in again before continuing.
Can you explain me how you did the trick with the ZTE 3565 modem?
I am struggling for a whole day to make it switch the USB mode.
What I managed to do is switch it from id 0x2000 to 0x0052, but still I do not see any serial ports enabled by the USB system.
Once I issue the usb_modeswitch command from your post, and the ZTE 3565 switches from USB Cdrom to memory card reader mode - i.e. I see in dmesg:
[ 1035.714541] usb-storage: device found at 3
[ 1035.714549] usb-storage: waiting for device to settle before scanning
[ 1037.057337] usb-storage: device scan complete
[ 1037.059253] scsi 6:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[ 1037.062763] input: Virtual ThinkFinger Keyboard as /devices/virtual/input/input16
[ 1037.066922] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 1037.066966] sd 6:0:0:0: Attached scsi generic sg2 type 0
lsusb shows:
Bus 005 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 19d2:0052
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:09c1 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
I am running Ubuntu 8.04.1 with latest updates. I tried it under windows xp and it seems to work OK.
PS: Also I found that the ZTE 3565 switches from product id 0x2000 to 0x0052 by ejecting the mounted CDROM (0x2000 is detected as USB Cdrom).
Thanks in advance for your hints!
Regards,
Stefan
If your product ID changes, you probably switched the device already. The usb-storage driver is available and binds again, this time to the SD slot. It is not unlikely that the modem part works at the same time.
Chances are that no serial driver is attached to it. Did you load the usbserial module with the parameters of the switched device? The command is on the USB_ModeSwitch documentation page. For your convenience:
modprobe usbserial vendor=<TargetProdID> product=<TargetVendID>
Chances are that no serial driver is attached to it. Did you load the usbserial module with the parameters of the switched device? The command is on the USB_ModeSwitch documentation page. For your convenience:
modprobe usbserial vendor=<TargetProdID> product=<TargetVendID>
Many thanks, that was it. Also, I noted that on my ZTE K3565-Z, ejecting the usb CDROM, switches the dongle in USB modem mode. Hence no need for usb_modeswitch at all.Josh wrote:If your product ID changes, you probably switched the device already. The usb-storage driver is available and binds again, this time to the SD slot. It is not unlikely that the modem part works at the same time.
Chances are that no serial driver is attached to it. Did you load the usbserial module with the parameters of the switched device? The command is on the USB_ModeSwitch documentation page. For your convenience:
modprobe usbserial vendor=<TargetProdID> product=<TargetVendID>
Stefan
-
- Posts: 27
- Joined: 10 Aug 2010, 16:15
I have tried the command as the same as MF628+, but the pid is always 2000, it does not change. And i have tried all the methods listed in the forum, but it do not work. so, could you please give me the exact command you use to switch your device? my linux kernel is 2.6.15. by the way, must the usb_storage.ko be insmoded first to switch the device?Josh wrote:If your product ID changes, you probably switched the device already. The usb-storage driver is available and binds again, this time to the SD slot. It is not unlikely that the modem part works at the same time.
Chances are that no serial driver is attached to it. Did you load the usbserial module with the parameters of the switched device? The command is on the USB_ModeSwitch documentation page. For your convenience:
modprobe usbserial vendor=<TargetProdID> product=<TargetVendID>
Did you try this combination in /etc/usb_modeswitch.d/19d2:2000 ?
Code: Select all
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
Adding the third message to /etc/usb_modeswitch.d/19d2:2000 solved the problem (for me at least).Josh wrote:Did you try this combination in /etc/usb_modeswitch.d/19d2:2000 ?
Code: Select all
MessageContent="5553424312345678000000000000061e000000000000000000000000000000" MessageContent2="5553424312345679000000000000061b000000020000000000000000000000" MessageContent3="55534243123456702000000080000c85010101180101010101000000000000" NeedResponse=1