Community discussions

MikroTik App
 
User avatar
Alphabet8642
just joined
Topic Author
Posts: 2
Joined: Sat Apr 01, 2023 3:05 pm

Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sat Apr 01, 2023 3:16 pm

Hi,

I am trying to get the LTE Module EM7565 from Siera Wireless working with RouterOS. However it does not play nicely at all with it.

It is listed under "USB" but no "Ports" are offered.
Note here however, that when I flash OpenWRT on the same board it does in fact work very nicely: I get all the Serial Ports offered under /dev/ttyUSBx, including the one to configure the Modem with AT commands.

EM7565.PNG

Is there anything I can do to get this working with RouterOS? I tried 7.8 and 7.9rc1.
The release-notes of 7.8 suggest this should be a better experience:
*) lte - improved AT port matching for SIMCom, Huawei, WeLink, Cinterion, BandLuxe and Sierra modems;

Is there anything I can do, to debug this or get this working?
You do not have the required permissions to view the files attached to this post.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sat Apr 01, 2023 9:43 pm

It likely the AT!USBCOMP needs to be something specific. Generally that's MBIM for 4G sierras... but I don't have EM7565 to say specifically.

You can put the LTE into serial mode.
/interface/lte/settings/set mode=serial
And then reboot, maybe some ports shows up... With at least one AT channel, you can use AT commands on the modem.

So assuming you get a port(s) after reboot and mode=serial, you can use
/system/serial-terminal usbX channel=Y
Adjusting as port/channel as needed.

I'd focus on the output of:
AT!CUSTOM?
AT!USBCOMP?    
AT!USBCOMP=?
But I suspect the USBCOMP needs to be something specific for it to show up. AT!USBCOMP=? should describe the format, AT!USBCOMP? will show what's currently set, and AT!USBCOMP=xxxxxx is how you'd set it.

I don't have the AT manual for the 7565, but it is some bitfields in USBCOMP settings...so can't tell you off-hand what's right on you modem. But you'll want to set it to MBIM, just don't know specific magic string for your particular modem.

You may have to open a ticket with mikrotik about this, since sometimes it's hard to guess the needed modem settings (or there is a bug/etc that prevents it from working). But pretty sure the USBCOMP is what's needs to be right. And the various output above give Mikrotik some details to work with if you need a ticket for this.

You'll need to put the LTE modem back to "auto" after your done with the serial port to see if any changes work:
/interface/lte/settings/set mode=auto
Last edited by Amm0 on Sat Apr 01, 2023 9:56 pm, edited 1 time in total.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sat Apr 01, 2023 9:49 pm

*Also if you using a device without USB 3.0 support, this may not work at all.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sat Apr 01, 2023 9:56 pm

Likely very similar to the MC7455, see: viewtopic.php?p=953940&hilit=MC7455#p953940
The full command for the MC7455 was the one recommended in the help text, AT!USBCOMP=1,1,1009
Definitely, *DEFINITELY* verify this with either the manual or the help text, seen with AT!USBCOMP=?
 
User avatar
Alphabet8642
just joined
Topic Author
Posts: 2
Joined: Sat Apr 01, 2023 3:05 pm

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sun Apr 02, 2023 7:17 pm

Thank you for your answer.
I do not have access to the device at the moment, but i will come back to this thread in one week.


But you'll want to set it to MBIM, just don't know specific magic string for your particular modem.
The modem was already in mbim mode when i went back from OpenWRT to RouterOS.
These are the commands for the EM7565 to set it to mbim, in case anyone needs it:
AT!ENTERCND="A710"
AT!USBCOMP=1,3,100D


Also if you using a device without USB 3.0 support, this may not work at all.
Why would that be the case? I indeed am using it on a USB2 device with an mPCIe to M.2 Adapter. But the device is showing up on the usb bus. Maybe RouterOS can't handle this modem specificly.


However thank you, I will play around with the serial mode you mentioned and see if I can get there.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sun Apr 02, 2023 8:45 pm

If it shows up in OpenWRT, it should work with Mikrotik. But the exact "USB composition" (AT!USBCOMP) exposed often control what the Mikrotik finds as an lte interface.

Although the miniPCI-e to M.2 adapter can sometimes effect this too... But if mode=serial cause some ports to show up, even more likely it's the AT!USBCOMP needs adjustment.

You might want to try it using a USBCOMP with a bit mask that does NOT include a NMEA port. That likely "1009" instead of "100D" in your command. As noted, you need to switch the lte mode back to "auto" and reboot if you change this to see if it works.

As I said, it also possible it's a bug. If you see ports, but no LTE interface, add logging for "lte" in /system/logging, and collect supout.rif after a reboot if you do open a ticket.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Siera Wireless EM7565 Modem - not compatible with RouterOS?

Sun Apr 02, 2023 8:53 pm

One more thing, since I'm not sure of your hardware.

But adding an init-delay, might help on non-ARM platforms:
/system/routerboard/settings/set init-delay=4s
This delay startup for the USB modem to "warmup".

Who is online

Users browsing this forum: Bing [Bot], cddaraa, GoogleOther [Bot], Majestic-12 [Bot], onion83 and 41 guests