USB modem not working on an ASUS RT-N13UB1

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Author Message
felipe.ferri
DD-WRT Novice


Joined: 28 Oct 2014
Posts: 6

PostPosted: Thu Oct 30, 2014 13:27    Post subject: USB modem not working on an ASUS RT-N13UB1 Reply with quote
Hi folks,

I have a Huawei E3272s-506 USB modem. When I connect it to my Asus RT-N13UB1, it gets recognized only as a memory stick. The vendor and product ids are 12d1:157c.

Neither the model or the ids are present on the modem compatibility list in the Modible Broadband wiki page (though there are really close options, such as E3272s-156, or 12d1:157d).

How can I make my modem work with my router?
I posted this question originally on the Ralink SoC forum, but LOM pointed me to the Mobile Broadband wiki where it is suggested that I post on the developers forum, including the vid, pid and interfaces list.

I don't know what is exactly the interfaces list, but the response to the command cat /proc/bus/usb/devices is:

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.02
S: Manufacturer=Linux 3.2.38-svn20641 dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=lm0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 11 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=ff MxPS=64 #Cfgs= 2
P: Vendor=12d1 ProdID=157c Rev= 1.02
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
S: SerialNumber=FFFFFFFFFFFFFFFF
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C: #Ifs= 3 Cfg#= 2 Atr=a0 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Oct 31, 2014 4:58    Post subject: Reply with quote
E3272s-503 is a new device and currently not supported in dd-wrt, it is a dual-role device which is compatible with new Windows 8 specifications as well as compatible with older Windows versions.

12d1:157c is the Windows 8 mode, a mode that dd-wrt is going to support in the future but the device can also be switched into "old Windows compatibility mode".
I don't have any info about usb id or interface layout in that mode, can you please test by running the following cmd:

usb_modeswitch -v 12d1 -p 157c -I -W -M 55534243123456780000000000000011062000000101000100000000000000

this should switch the dongle to "compatibility mode" and it will remain there until you unplug the dongle.
Please give me the the output of cat /proc/bus/usb/devices when the dongle is in "compatibility mode"

_________________
Kernel panic: Aiee, killing interrupt handler!
felipe.ferri
DD-WRT Novice


Joined: 28 Oct 2014
Posts: 6

PostPosted: Fri Oct 31, 2014 13:49    Post subject: Reply with quote
Hi LOM,

Thanks for your explanation. I was thinking that maybe the pen drive is locked to the 3G provider, but it is more likely that the compatibility mode is to blame.

Below are the results of the code you told me to execute. Unfortunately, the modem didn't work with the router after executing the mode switch.

Code:

usb_modeswitch -v 12d1 -p 157c -I -W -M 55534243123456780000
000000000011062000000101000100000000000000
Taking all parameters from the command line


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

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x157c
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check disabled
System integration mode disabled


Looking for default devices ...
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 12d1:157c
   found matching vendor ID
   found matching product ID
   adding device
 Found device 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 interface number 0
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: FFFFFFFFFFFFFFFF
-------------------------
Looking for active driver ...
 OK, driver found; name unknown, limitation of libusb1
 OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.


Code:

cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.02
S:  Manufacturer=Linux 3.2.38-svn20641 dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=lm0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=ff MxPS=64 #Cfgs=  2
P:  Vendor=12d1 ProdID=157c Rev= 1.02
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
S:  SerialNumber=FFFFFFFFFFFFFFFF
C:* #Ifs= 1 Cfg#= 1 Atr=a0 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= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C:  #Ifs= 3 Cfg#= 2 Atr=a0 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Oct 31, 2014 14:38    Post subject: Reply with quote
Hmm, that was not the result I had expected.
It looks like the dongle switched but then fell back to initial mode again.

Can you do the same test again with usbstorage enabled in dd-wrt setting for usb.
Do also set WAN to anything else than "Mobile Broadband" to make sure that the manual switching does not interfere with the automatic switching which you get when "Mobile Broadband" is selected.

_________________
Kernel panic: Aiee, killing interrupt handler!
felipe.ferri
DD-WRT Novice


Joined: 28 Oct 2014
Posts: 6

PostPosted: Fri Oct 31, 2014 22:08    Post subject: Reply with quote
Dear LOM,

Thank you very much for your support. Unfortunately, as it was very important requirement that the modem worked on my router, I ended up returning it to the phone company, as I had a 7 day return period.

I was amazed at the fast response time and the commitment you showed in trying to solve the problem. I really can't thank you enough.
eddie4
DD-WRT Novice


Joined: 04 Jun 2015
Posts: 1

PostPosted: Thu Jun 04, 2015 19:05    Post subject: Reply with quote
robincharlton wrote:
I do agree with LOM's reply. Just check with the same. If the problem still arises just contact with any computer solution team to make it proper. Or else use connector to connect it. Go through with custom essay service from here you can get some sample article about this.


Discussion is running about the trouble shooting of USB modem but you are talking about essay writing. Although there are no hardware related topics in your website.
Wstyle
DD-WRT Novice


Joined: 25 Jul 2013
Posts: 1

PostPosted: Tue Jan 05, 2016 14:04    Post subject: Reply with quote
Initially I could not get the Huawei E3276s-506 unit to connect to LTE on AT&T network, could only get to connect CDMA
Now I am not able to get the unit to connect at all.

Do you know how to update the firmware?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum