Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
richirich
Posts: 15
Joined: 31 Dec 2010, 13:58

Alfa Fly 3G (Vendor=1da5 ProdID=f000) ...how to switch??

Post by richirich » 10 Jan 2011, 12:28

Hi,

There is one modem called Alfa Fly 3G. In its document, linux is not in supporting OS.
Moreover i didnt find any mode switch command in usb_modeswitch utility.
It is detected as

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1da5 ProdID=f000 Rev= 0.00
s: Manufacturer=HSUPA USB Device
s: Product=H21 HSUPA USB Device
s: SerialNumber=000000000000
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

Is there way to convert it into modem mode.

Thanks in advance.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 10 Jan 2011, 16:39

Well, I could repeat the exact same reply as for the Haier CE100 ...

richirich
Posts: 15
Joined: 31 Dec 2010, 13:58

Post by richirich » 28 Feb 2011, 09:13

I tried this modem with configuration of HAIER modem, but it didnt work.

usb_modeswitch -v 0x1da5 -p 0xf000 -C 0xff -M 5553424312345678000000000000061e000000000000000000000000000000 -2 5553424312345679000000000000061b000000020000000000000000000000 -I

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: HSUPA USB Device
Product: H21 HSUPA USB Device
Serial No.: 000000000000
-------------------------
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 ...
OK, message successfully sent
Trying to send message 2 to endpoint 0x01 ...
Sending the message returned error -110. Trying to continue
Resetting response endpoint 0x81
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.


And same time kernel logs are like

Feb 28 10:50:45 (none) user.info kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0
Feb 28 10:50:45 (none) user.info kernel: usbserial_generic 1-1:1.0: device disconnected
Feb 28 10:50:45 (none) user.warn kernel: usb 1-1: usbfs: process 8568 (usb_ms) did not claim interface 0 before use


It seems first command(-M ) fired successfully but second command(-2) didnt work.
The output of cat /proc/bus/usb/devices is same as before(showing storage mode).

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1da5 ProdID=f000 Rev= 0.00
S: Manufacturer=HSUPA USB Device
S: Product=H21 HSUPA USB Device
S: SerialNumber=000000000000
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

So i need your help. Can u give me what can be done next to resolve this.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 28 Feb 2011, 15:36

First:
Check if you have the "NeedResponse" parameter set to 1.

If that is the case, try to leave away the first message. Set "MessageContent" to the second string.

If all this doesn't bring any good results, you need to sniff on the Windows driver.


Post Reply