Page 1 of 2
CHEAP CHINA OEM EDGE MODEM not change to modem mode
Posted: 26 Jun 2009, 07:33
by month23
root@dhcppc0:/etc# usb_modeswitch -v 0x0471 -p 0x1237 -V 0x0471 -P 0x1234 -m 0x3 -M 55534243B89339860000000000000600000000000000000000000000000000
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 003 ...
Using endpoints 0x03 (out) and 0x83 (in)
Not a storage device, skipping SCSI inquiry
Device description data (identification)
-------------------------
Manufacturer: NXP Semiconductors
Product: Reference Design Dragonfly Platform
Serial No.: 000000-00-000000�0
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x03 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.
root@dhcppc0:/etc# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID
0471:1237 Philips TalkTalk SNU5630NS/05 Wireless Adapter
Bus 003 Device 002: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Posted: 26 Jun 2009, 22:19
by Josh
From all my searches on Google about this device I can draw the following conclusions:
- This is not a modem. It's a WLAN stick. And the TalkTalk version seems to have a somewhat buggy firmware
- There are no drivers on board. It comes with a driver CD. Most likely there is no switching necessary
- Atheros claims to make it work with Linux and their driver
Where have you got the information from about those target IDs?
Cheap China Modem
Posted: 27 Jun 2009, 04:38
by month23
Not wireless, it's modem because I open software in windows to switch on modem and I open Ubuntu 8.04 under Vmware.
Ubuntu detected modem and can connect to internet.
This modem log file on window.
06-27-2009 09:22:06.729 - File: C:\Windows\system32\tapisrv.dll, Version 6.0.6001
06-27-2009 09:22:06.744 - File: C:\Windows\system32\unimdm.tsp, Version 6.0.6001
06-27-2009 09:22:06.745 - File: C:\Windows\system32\unimdmat.dll, Version 6.0.6000
06-27-2009 09:22:06.745 - File: C:\Windows\system32\uniplat.dll, Version 6.0.6000
06-27-2009 09:22:06.746 - File: C:\Windows\system32\drivers\modem.sys, Version 6.0.6001
06-27-2009 09:22:06.746 - File: C:\Windows\system32\modemui.dll, Version 6.0.6001
06-27-2009 09:22:06.747 - File: C:\Windows\system32\mdminst.dll, Version 6.0.6001
06-27-2009 09:22:06.747 - Modem type: EDGE MODEMU
06-27-2009 09:22:06.747 - Modem inf path: oem46.inf
06-27-2009 09:22:06.747 - Modem inf section: Modem0
06-27-2009 09:22:06.747 - Matching hardware ID: usb\vid_0471&pid_1234
ATQ0V1E0 - OK
AT+GMM - NEXPERIA SY.SOL 5209
AT+FCLASS=? - +FCLASS: (0,1)
AT#CLS=? - #CLS: (0,1)
AT+GCI? - COMMAND NOT SUPPORTED
AT+GCI=? - COMMAND NOT SUPPORTED
ATI1 - OK
ATI2 - OK
ATI3 - 34000045360001
ATI4 - NXP NEXPERIA SY.SOL 5209
ATI5 - NXP
ATI6 - OK
ATI7 - OK
Posted: 27 Jun 2009, 08:45
by Josh
O.K., so this thing has really different modes.
So, did you sniff the Windows driver to find the switching message? Do you have a log file?
And can you post a "lsusb" output from Ubuntu after switching in Windows?
Sniffer log file
Posted: 27 Jun 2009, 17:21
by month23
Before log1 and after log2
http://www.megaupload.com/?d=85842O0W
Today VMWARE doesn't see USB and I can't post
lsusb
after switch from window and see in Ubuntu
Posted: 27 Jun 2009, 20:25
by Josh
I got the log.
Please try the line with "06 1b". That is a typical switching command ("eject"). The "06 00" command just tests the device status; probably the driver waiting for the switch.
The message would then be:
Code: Select all
5553424312345678000000000000061b000000030000000000000000000000
Already switch Cheap china modem manualy
Posted: 28 Jun 2009, 00:55
by month23
1. How can I do in my Asus WL-500GP V2 , this log file
Jan 1 01:00:16 pppd[153]: pppd 2.4.2 started by admin, uid 0
Jan 1 01:00:50 pppd[153]: Connect script failed
This's log file on WL-500GP that already switch
P: Vendor=0424 ProdID=2502 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
P: Vendor=0471 ProdID=1234 Rev= 1.00S: Manufacturer=NXP Semiconductors
S: Product=Reference Design Dragonfly Platform
S: SerialNumber=000000-00-000000
C:* #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=acm
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=acm
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
2.How can I upgrade usb_modeswitch in WL-500GP and save it as auto
Thank you very much..Genius
Not connect
Posted: 28 Jun 2009, 03:29
by month23
PPP chat log
OK
ATZ
OK
ATI
NEXPERIA SY.SOL 5209
OK
AT+COPS?
+COPS: 0,0,"TH GSM"
OK
AT+CGDCNT,"IP","internet"
OK
ATD*99***1#
CONNECTSerial connection established.
using channel 53
Using interface ppp0
Connect: ppp0 <--> /dev/usb/acm/0
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x1 ]
No auth is possible
sent [LCP ConfRej id=0x1 ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfReq id=0x2 ]
No auth is possible
sent [LCP ConfRej id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
rcvd [LCP ConfReq id=0x3 ]
sent [LCP ConfAck id=0x3 ]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [CCP ConfReq id=0x1 ]
sent [IPCP ConfReq id=0x1 ]
rcvd [LCP TermReq id=0x4 "peer refused to authenticate"]
LCP terminated by peer (peer refused to authenticate)
sent [LCP TermAck id=0x4]
rcvd [LCP ProtRej id=0x5 80 fd 01 01 00 15 12 06 00 00 00 01 1a 04 78 00 18 04 78 00 15 03 2f]
Modem hangup
Connection terminated.
Posted: 28 Jun 2009, 09:01
by Josh
Uhm, please slow down a bit.
Before piling up more questions here, please report what you tried and if you had any success (without booting Windows).
Internet Cheap china modem
Posted: 29 Jun 2009, 15:20
by month23
I try with Nokia 6111 ( CA43 Cable ) can connect to internet but I need to setup parameter on mobile phone.
I don't know to setup parameter on edge modem.
I will try again. If you have any suggest please tell me.
Posted: 29 Jun 2009, 20:16
by Josh
No, what I mean is:
Did you try the other switch command ("06 1b")? Did it work?
If I give you suggestions, I'd really like to know what did work and what did not, before you bring up all kinds of new problems.
Switch command
Posted: 30 Jun 2009, 04:01
by month23
I try this command already.
usb_modeswitch -v 0x0471 -p 0x1237 -m 0x03 -M 5553424312345678000000000000061b000000030000000000000000000000
You mean that I try to change 061b to 0600
I try 061b switch on Vmware Ubuntu and It's work fine.
Vmware Ubuntu auto detect modem and I choose only ISP list in Thailand.
But it's not work on WL-500GP on chat.log post.
Posted: 16 Aug 2010, 08:49
by kent_chang
I have the same dongle.
I try switch to modem with usb_modswitch(1.1.3) successfully in ubuntu 10.04.
However, it's fail to change in the embed system: mips and linux2.6.21.
# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
P: Vendor=0471 ProdID=1237 Rev= 1.00
S: Manufacturer=NXP Semiconductors
S: Product=Reference Design Dragonfly Platform
S: SerialNumber=000000-00-000000
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
C: #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
change config file:
########################################################
# Philips TalkTalk (NXP Semiconductors "Dragonfly")
DefaultVendor= 0x0471
DefaultProduct=0x1237
TargetVendor= 0x0471
TargetProductList="1206,1234"
CheckSuccess=20
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
#usb_modswitch -c /var/0471
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 003 on bus 001 ...
Ambiguous Class/InterfaceClass: 0x02/0x08Using endpoints 0x03 (out) and 0x83 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: Philips
Model String: Dev. 0 LUN 0
Revision String: 1.0
-------------------------
USB description usb 1-1: usbfs: process 2572 (usb_modeswitch) did not claim interface 0 before use
data (for identification)
-------------------------
Manufacturer: NXP Semiconductors
Product: Reference Design Dragonfly Platform
Serial No.: 000000-00-000000
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x03 for message sending ...
Trying to send message 1 to endpoint 0x03 ...
OK, message successfully sent
Resetting response endpoint 0x83
Resetting message endpoint 0x03
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.
Please tell me what is "usb 1-1: usbfs: process 2572 (usb_modeswitch) did not claim interface 0 before use"?
Thanks.
Posted: 17 Aug 2010, 08:30
by Josh
I am not sure where the usbfs error is coming from.
Anyway, try again with the options -I and -n. See if that changes anything.
Posted: 17 Aug 2010, 11:29
by kent_chang
Josh thanks for your help.
I have try with "-I and -n" but it still cannot change to modem.
--------------------------------------------------------------------
# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 2
P: Vendor=0471 ProdID=1237 Rev= 1.00
S: Manufacturer=NXP Semiconductors
S: Product=Reference Design Dragonfly Platform
S: SerialNumber=000000-00-000000
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
C: #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
# usb_modeswitch -I -n -c /var/0471
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 010 on bus 001 ...
Ambiguous Class/InterfaceClass: 0x02/0x08Using endpoints 0x03 (out) and 0x83 (in)
USB description data (for identification)
-------------------------
Manufacturer: NXP Semiconductors
Product: Reference Design Dragonfly Platform
Serial No.: 000000-00-000000
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Using endpoint 0x03 for message sending ...
Trying to send message 1 to endpoint 0x03 ...
OK, message successfully sent
Reading the response to the message (CSW) ...
OK, response successfully read (13 bytes).
Resetting response endpoint 0x83
Resetting message endpoint 0x03
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.