LTE Modem Quectec EM06-A

I purchased the LTE modem and trying to use it with VIM3 and m2x extension board (with ethernet). However, while I believe the modem is being found by Ubuntu V20191231 eMMC. Anyone have a guide on how to get the LTE modem and Linux configured to access the internet via LTE?

khadas@Khadas:~$ sudo dmesg | grep -i modem
[ 0.990790] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.991498] usbserial: USB Serial support registered for GSM modem (1-port)
[ 7.452890] option 1-1.3:1.0: GSM modem (1-port) converter detected
[ 7.456983] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 7.464054] option 1-1.3:1.1: GSM modem (1-port) converter detected
[ 7.470446] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 7.477582] option 1-1.3:1.2: GSM modem (1-port) converter detected
[ 7.483956] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 7.491096] option 1-1.3:1.3: GSM modem (1-port) converter detected
[ 7.497435] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3

Yes the modem is detected and assigned ttyUSB for access.
To configure it you will have to follow AT commands from the modem manufacturers guide.
For that you will need atinout package.

If you want to use a gui then you can download modemmanager and use it instead of cli.

I cannot confirm if these packages will be present in ubuntu distro, if it’s not present then you might have to compile it yourself.

1 Like

Follow this tutorial

Start from “Configuring the PPP Files”

@ektor You can follow my steps:





And , you need to use the least release ubuntu with 4.9 .

I wrote the document, but it hasn’t been incorporated yet.

2 Likes

I tried it but it just says connection failed (Ubuntu). I tried 3 sims from 2 US carriers. Does the board VIM3 need to be USB or PCIe mode?

PCIe mode if you want to use the Modem

That’s probably what I did wrong, let me switch and try it again

@ektor In addition to the need to switch PCIe, You need to set the work mode with LTE .

  1. install minicom in you board .
$ sudo apt update
$ sudo apt install minicom
  1. change mode
$ minicom -D /dev/ttyUSB2

then enter AT+QCFG="usbnet",2

  1. Plug in the power supply and restart, do not use reboot and key. LTE module needs to be completely powered off to restart
2 Likes

ok, enabled PCIe mode:

root@Khadas:~# cat /sys/class/mcu/usb_pcie_switch_mode
1

Did:

AT+QCFG=“usbnet”,2

on minicom,

Shutdown, removed power, waited 5 minutes. plugged back in. still nothing same error. I can run mmcli and see that with both carriers the device is registered and it picks up the right number and signal status.

root@Khadas:~# sudo mmcli -m 0

General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: nnnnnnnnnnnnnnn

Hardware | manufacturer: Quectel
| model: EM06
| firmware revision: EM06ALAR03A05M4G
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: nnnnnnnnnnnnnnn

System | device: /sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.3
| drivers: option1
| plugin: Quectel
| primary port: ttyUSB2
| ports: ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB1 (gps), ttyUSB3 (at)

Numbers | own: +nnnnnnnnnn

Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: registered
| power state: on
| access tech: lte
| signal quality: 60% (recent)

Modes | supported: allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 2g, 3g, 4g; preferred: none

IP | supported: ipv4, ipv6, ipv4v6

3GPP | imei: nnnnnnnnnnnnnnn
| operator id: 311480
| operator name: Verizon
| registration: home

3GPP EPS | ue mode of operation: csps-2

SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0

root@Khadas:~# sudo mmcli -m 0

General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: nnnnnnnnnnnnnnn

Hardware | manufacturer: Quectel
| model: EM06
| firmware revision: EM06ALAR03A05M4G
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: nnnnnnnnnnnnnnn

System | device: /sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.3
| drivers: option1
| plugin: Quectel
| primary port: ttyUSB2
| ports: ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB1 (gps), ttyUSB3 (at)

Numbers | own: nnnnnnnnnnn

Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (10), sim-puk2 (10)
| state: registered
| power state: on
| access tech: lte
| signal quality: 60% (recent)

Modes | supported: allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 2g, 3g, 4g; preferred: none

IP | supported: ipv4, ipv6, ipv4v6

3GPP | imei: nnnnnnnnnnnnnnn
| operator id: 310260
| operator name: Google Fi
| registration: home

3GPP EPS | ue mode of operation: csps-2

SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0

ok, I was able to connect via CLI

I followed this script and just changed the device to usb 2

It fails on the first connect but succeeds on the second connect requests.

1 Like

@ektor Maybe you can try follow my pictures ? We have check it last week. It work fine .

I did follow the pictures. I’ll do a screen recording in the next few days.