Author
Message
lhguanabara DD-WRT Novice Joined: 20 Jan 2015 Posts: 2
Posted: Tue Jan 20, 2015 13:13 Post subject: TL-MR3020 won't detect DWM-221 LTE Modem
Hi guys!
I've just deployed a dd-wrt firmware in my TL-MR3020 and i need some help to make my 4G dongle work with it.
The usb modem compatibility list at the wiki shows what the DLINK DWM-221 ver. B1 is compatible with dd-wrt, but when i configure the mobile broadband to use the modem, nothing happens.
Some useful information:
cat /proc/bus/usb/devices output :
Code: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2001 ProdID=a401 Rev= 2.32
S: Manufacturer=Mobile Connect
S: Product=Mobile Connect
S: SerialNumber=0123456789ABCDEF
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
The output above tells me the modem isn't switched to serial mode, staying in mass storage. Am I right?
Firmware version:
DD-WRT v24-sp2 (01/17/15) std
Modem's IDs (captured on linux):
Mass Storage:
Vendor: 2001
ProdID: a401
Serial:
Vendor: 2001
ProdID: 7e19
Output of lsusb -d -v 2001:7e19 in linux (maybe useful):
Code: Bus 001 Device 004: ID 2001:7e19 D-Link Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2001 D-Link Corp.
idProduct 0x7e19
bcdDevice 2.32
iManufacturer 1 Mobile Connect
iProduct 2 Mobile Connect
iSerial 3 0123456789ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 232
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
** UNRECOGNIZED: 05 24 06 00 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
** UNRECOGNIZED: 05 24 06 00 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
** UNRECOGNIZED: 05 24 06 00 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 4 Mass Storage
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a EP 10 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
This modem is really compatible or is a variation of the original version tested by dd-wrt? (Or i just missing anything?)
Thanks in advance!
Back to top
Sponsor
LOM DD-WRT Guru Joined: 28 Dec 2008 Posts: 7647
Posted: Tue Jan 20, 2015 17:24 Post subject:
Make sure you have usb storage enabled in dd-wrt usb setting tab, I think this dongle wont switch without usb_storage driver first have attached to the virtual cd-rom in install mode.
The dongle is so new that it is not yet supported by usb_modeswitch, how did you get it to switch to 2001:7e19 in linux? _________________ Kernel panic: Aiee, killing interrupt handler!
Back to top
lhguanabara DD-WRT Novice Joined: 20 Jan 2015 Posts: 2
Posted: Tue Jan 20, 2015 18:33 Post subject:
Hi LOM, thanks for the reply! BTW are you the same LOM of usb_modeswitch forum? If yes, i've posted that lsusb information in this thread:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=2173&p=14284#p14284
I've turned on the usb storage at usb setting tab, but nothing changes. The dongle stays in storage mode.
To switch the modem to serial mode in linux (ubuntu 14.04) i've just ejected the cd-rom device created when we plug the modem:
Code: sudo eject /dev/sr0
After that, the modem goes to serial mode.
Back to top
LOM DD-WRT Guru Joined: 28 Dec 2008 Posts: 7647
Posted: Wed Jan 21, 2015 18:33 Post subject:
yes one and the same, thanx for the lsusb listing!
lhguanabara wrote:
I've turned on the usb storage at usb setting tab, but nothing changes. The dongle stays in storage mode.
To switch the modem to serial mode in linux (ubuntu 14.04) i've just ejected the cd-rom device created when we plug the modem:
Code: sudo eject /dev/sr0
After that, the modem goes to serial mode.
I just realised that 2001:a401 is not yet included in dd-wrt for mode switching so no wonder it doesn't switch..
Lets work out general usb_modeswitch support over in that forum first and when that works then it can be added in dd-wrt as well. _________________ Kernel panic: Aiee, killing interrupt handler!
Back to top
captvizcenzo DD-WRT Novice Joined: 11 Feb 2015 Posts: 1
Posted: Wed Feb 11, 2015 3:10 Post subject:
Does the latest beta for MR3420 V1 support this DWM-221 modem?
I want to try the beta version, but figured it's better to ask here prior of doing that.
Back to top
denis.cavale DD-WRT Novice Joined: 22 Sep 2015 Posts: 2
Posted: Wed Sep 23, 2015 18:04 Post subject: DWM-221
`Hello, did anybody solve it?
Back to top
iced DD-WRT Novice Joined: 08 Feb 2016 Posts: 2
Posted: Mon Feb 08, 2016 10:45 Post subject: dwm221
i also have this modem. planning to buy dd-wrt compatible router soon.
does this modem work? the compatible 3g/4g modem usb dongle list says "wip"
Back to top
Mile-Lile DD-WRT Guru Joined: 24 Feb 2013 Posts: 1634 Location: Belgrade
Back to top
iced DD-WRT Novice Joined: 08 Feb 2016 Posts: 2
Posted: Mon Feb 08, 2016 10:58 Post subject:
dwm-221A1 + dwm-221B1 are on "wip". im interested in when it will be working.
or maybe you can recommend a 4g modem which works. one that you would use e.g.
Back to top