x86 goldenorb EM7565 and Simple Mobile

ROUTER Topics that are general or unclassified in nature, or does not belong elsewhere
Forum rules
Please assure there is not an existing forum and topic related to your post
Post Reply
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

All,

This could get a bit confusing with all of the various pieces and parts. However, I have a Proxmox VM of x86 goldenorb built on OpenWRT 19.07.2. I have an EM7565 in a USB 3.0 enclosure and I'm passing that USB device to the goldenorb VM.
I've tutorial'd my way through most of this and have the modem recognized and can send AT commands, etc.
I'm on Simple Mobile. SIM was activated, and though I don't have a phone to test it in, it appears that I'm connected (I could be dead wrong here). But I am showing "Normal Service" from AT!GSTATUS?:

Code: Select all

AT!GSTATUS?
!GSTATUS:
Current Time:  1975	Temperature: 26
Reset Counter: 1		Mode:        ONLINE
System mode:   LTE              PS state:    Attached
LTE band:      B66              LTE bw:      5 MHz
LTE Rx chan:   0                LTE Tx chan: 132547
LTE SSC1 state:NOT ASSIGNED
LTE SSC2 state:NOT ASSIGNED
LTE SSC3 state:NOT ASSIGNED
LTE SSC4 state:NOT ASSIGNED
EMM state:     Registered       Normal Service
RRC state:     RRC Idle
IMS reg state: No Srv
PCC RxM RSSI:  -77              PCC RxM RSRP:  -98
PCC RxD RSSI:  -84              PCC RxD RSRP:  -105
Tx Power:      --               TAC:         b0f9 (45305)
RSRQ (dB):     -7.2             Cell ID:     00775a20 (7821856)
SINR (dB):     26.0
OK  
I'm unable to connect out over the wwan, though. Checking ifconfig I have nothing by RX/TX errors on wwan0. As well, I have non-stop messages of:

Code: Select all

cdc_mbim 2-1:1.12 wwan0:kevent 1 may have been dropped
cdc_mbim 2-1:1.12 wwan0:kevent 0 may have been dropped
I'm hoping someone here will be able to point me in the right direction. Here's some more info I can provide that may be beneficial:

Code: Select all

AT+CGDCONT?                                                                                                                                                                                                        +CGDCONT: 1,"IPV4V6","simple","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0 

Code: Select all

AT!BAND?
Index, Name
09, LTE ALL
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: x86 goldenorb EM7565 and Simple Mobile

Post by Didneywhorl »

jasonh wrote: Wed May 13, 2020 2:51 pm RRC state: RRC Idle
IMS reg state: No Srv
This part right here says you may want to put the SIM in a phone first and verify it's getting internet. I've seen this before I believe.


I could be wrong but I think it says, you connected to the tower, but you are denied.
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

Doh! Looks like I'll have to track down a compatible phone.
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

Alright, I was able to get the SIM in a phone. Made a couple calls, visited a couple websites, ran speed test, watched a youtube video...
Popped the SIM back into the USB 3.0 enclosure and I'm at the same spot as before.

Code: Select all

EMM state:	Registered	Normal Service
RRC state:     RRC Idle
IMS reg state: No Srv 
Any other pointers?

I've got the APN as:

Code: Select all

simple
But, under Modem > Network Status > General Information it's showing:

Code: Select all

Modem:	Sierra Wireless, Incorporated EM7565
Modem ID:	1199 : 9091
Provider:	HOME
Comm Port:	/dev/ttyUSB1
Temperature:	26.00°C
Protocol:	MBIM
The "HOME" part looks curious, and I think I've seen that as an issue in another post about Simple Mobile.
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

Alright, I put the EM7565 in QMI with:

Code: Select all

AT!USBCOMP=1,3,10D
RRC state shows:

Code: Select all

RRC Connected
I can now ping out. I'm too new to this part of things to understand exactly the reasons behind MBIM vs. QMI, but evidently the EM7565 wasn't happy without QMI.
User avatar
BillA
Posts: 1223
Joined: Sun Dec 01, 2019 6:46 pm
Location: USA
Has thanked: 218 times
Been thanked: 325 times
Contact:

Re: x86 goldenorb EM7565 and Simple Mobile

Post by BillA »

jasonh wrote: Wed May 13, 2020 8:36 pm Alright, I was able to get the SIM in a phone. Made a couple calls, visited a couple websites, ran speed test, watched a youtube video...
Popped the SIM back into the USB 3.0 enclosure and I'm at the same spot as before.
The "HOME" part looks curious, and I think I've seen that as an issue in another post about Simple Mobile.

Make sure to set the TTL to either 64 or 65. Try both, because only one of those values will work without using hotspot data, which you will find out as soon as you have used up the first 5gigs of data. If it stops with 64 after a while, just change it to 65.
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: x86 goldenorb EM7565 and Simple Mobile

Post by Didneywhorl »

jasonh wrote: Wed May 13, 2020 10:03 pm I can now ping out. I'm too new to this part of things to understand exactly the reasons behind MBIM vs. QMI, but evidently the EM7565 wasn't happy without QMI.
I overlooked that bit. Sierra created the QMI protocol I think. Their modems seem to work much better in QMI. I wouldnt think that MBIM wouldn't work though.

AS BillA stated, make sure you set the TTL values.
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

Doing all good with QMI and TTL at 65. Didn't have to set up mangle, as no hotspot data usage is showing. So, despite everything not being in its final location (I'm moving at the end of the month) connection seems to be doing alright.

I do notice that the EM7565 is showing USB 3.0 speeds in the hypervisor:

Code: Select all

cat /sys/kernel/debug/usb/devices
shows:
Image

But, in the goldenorb VM I'm getting USB 2.0 speeds:
Image

Checking

Code: Select all

AT!USBSPEED?
Shows:

Code: Select all

SUPPORTED:Super-Speed
CURRENT:High-Speed
I've set it as:

Code: Select all

AT!USBSPEED=1
But, from my understanding that's just setting the maximum supported speed (Which is already correct).

I'm willing to bet that it's a difference in the kernels and the drivers being used. It's sort of evidenced in the "Driver=qcserial" portion of the goldenorb output.

Just not sure if anyone has run into this before, and exactly what the fix might be.
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: x86 goldenorb EM7565 and Simple Mobile

Post by Didneywhorl »

Odd. So goldenorb is detecting the usb2 bus but your shell commands show the device in usb3? It may likely be your vm interface. Are you using docker?
jasonh
Posts: 18
Joined: Wed May 13, 2020 1:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: x86 goldenorb EM7565 and Simple Mobile

Post by jasonh »

I'm using a Proxmox kvm. I doubt that I'll come anywhere near needing 3.0 speeds. So it isn't high on the priority list right now. Just odd that it's not defaulting to 3.0 on both.

The kernel versions are pretty different between the two, and I'm sure that plays a role.
Post Reply

Return to “General and Unclassified”