MT300A with K5150?

Hi Folks!

I own a MT300A-Ext with Fw 2.25 and a Vodafone K5150-4G-Stick.
The 5150 dosen’t work.

The ROOter-Fw for MT300A (wich is support this Stick) is not avaible anymore.
How do I manage the stick to work?

TIA
Mierscheid

When you plug the stick in the the router, there is no device available?

can you give the log?

[12017.343789] usb 1-1: new high-speed USB device number 3 using ehci-platform [12017.403942] usb-storage 1-1:1.0: USB Mass Storage device detected [12017.426010] scsi host1: usb-storage 1-1:1.0 [12017.984261] scsi 1:0:0:0: CD-ROM Vodafone Mass Storage 2.31 PQ: 0 ANSI: 2

Maybe it’s because of my version of the Stick: “K5150 Enterprise”, Fw 21.436.11.14.11, “5.0”

lsusb:
Bus 001 Device 003: ID 12d1:15ec Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 255
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x15ec
bcdDevice 1.02
iManufacturer 6 Vodafone (Huawei)
iProduct 5 Vodafone Mobile
iSerial 8 FFFFFFFFFFFFFFFF
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 1 configuration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 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
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
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 95
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 9 configuration 1
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 14
bFunctionProtocol 0
iFunction 3 K5150
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 0
CDC Header:
bcdCDC 1.10
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 1024
bNumberFilters 16
bMaxFilterSize 20
wMaxSegmentSize 1500
bmNetworkCapabilities 0x20
8-byte ntb input size
UNRECOGNIZED CDC: 08 24 1c 00 01 10 dc 05
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 32
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 32
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)

Can you install kmod-usb-net-cdc-mbim and check it works?

 

It’s already installed. :frowning:

BTW: A few hours ago, I installed the brandnew ROOter, Golden Orb, for MT300A.

So ROOter works?

If it works please keep using it.

If you use openwrt, maybe you can try to add 12d1:15ec in /etc/usb-mode.json

There is one 12d1:15e7, maybe you just copy that?

No, ROOter also dosen’t works. :frowning:

I’ve made (hope so) the changes, you suggested, but there is still no Modem avaible.

“12d1:15ec”: {^M
“*”: {^M
“t_vendor”: 4817,^M
“t_product”: [ 5382 ],^M
“mode”: “HuaweiNew”,^M
“msg”: [ ]^M
}^M
},^M

Log:
69.707409] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 69.767276] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 69.789648] scsi host0: usb-storage 1-1:1.0
[ 70.463661] scsi 0:0:0:0: CD-ROM Vodafone Mass Storage 2.31 PQ: 0 ANSI: 2
[ 331.206511] usb 1-1: USB disconnect, device number 2
[ 335.740602] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 335.800054] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 335.822511] scsi host1: usb-storage 1-1:1.0
[ 336.214608] cdc_mbim 1-1:2.0: setting rx_max = 16384
[ 336.219905] cdc_mbim 1-1:2.0: setting tx_max = 16384
[ 336.225038] cdc_mbim 1-1:2.0: NDP will be placed at end of frame for this device.
[ 336.232993] cdc_mbim 1-1:2.0: cdc-wdm0: USB WDM device
[ 336.239601] cdc_mbim 1-1:2.0 wwan0: register ‘cdc_mbim’ at usb-101c0000.ehci-1, CDC MBIM, 52:5f:9c:0e:be:a9

Finally, I got MT300A with K5150 Enterprise to work well:

1.) nano /usr/lib/rooter/modeswitch.sh Add after line 264: if [ $idV = 12d1 -a $idP = 157d ]; then retval=0 fi retval=0

2.)
nano <span class=“wcrep2”>/etc/usb-mode.json</span>
Change line 2182 from
“12d1:15e7”
to
“12d1:15ec”

With support from:
https://forums.whirlpool.net.au/forum-replies.cfm?t=2599894&amp;p=60

Thanks for this. ROOter rocks!