EM9190 not being detected in Linux Ubuntu 20.04.5 EM9191 EM7690 5G dev kit


partial Good News. In Linux Ubuntu 20.04.5, I am able to connect the EM9190 and communicate with the Sierra Wireless EM9190 board using putty or minicom. The Linux driver, I had missed to run the make install command after make. Now ttyUSB0 and ttyUSB1 is detected by USB type C interface and putty or minicom can be used partially only for AT and ATI command, other command is not working…
!!!BUT the AT command is NOT working. Only AT and ATI command works. Other command is not working. Sim Carrier is not detected.
Please Help.

I will try Windows later.

it does not make sense on only ati is working…
have you stopped the modem manger?

how do I stop/activate the modem manager. I haven’t changed/touched any switches or jumper. Please suggest.

I mean the modem manager of your ubuntu…

I disabled the Modem Manager of my Ubuntu
user@ubuntu:~$ sudo systemctl disable ModemManager
[sudo] password for ubuntu:
Removed /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service.
Removed /etc/systemd/system/multi-user.target.wants/ModemManager.service.

as suggested in “Software_Integration_and_Development_Guide_for_Linux_USB_Platforms_R24.pdf”. BUT still only AT and ATI works other AT command gives error. Also typed in AT command is not displayed.
2.1.5. Conflict with ModemManager
The Modem Manager daemon must be closed, since it uses the AT port and the MBIM interface,
which prevents the interfaces from being used properly by the device drivers. Enter the following
command:
sudo systemctl disable ModemManager

to display typed in AT command, you need to enter “ATE1”

I suspect your keyboard has some problem as it does not make sense that only AT and ATI are working.

BTW, how is your testing on Windows platform?

with ‘ATE’, I can now see the typed AT command. But looks like it is not detecting the 5G NR Signal. I have inserted 5G Sim in the Sim slot of EM9190

But other commands are not working
AT!GSTATUS
ERROR
AT!LTEINFO
ERROR
AT!NRINFO
ERROR
AT!PCTEMP
ERROR
AT!RESET
ERROR
AT!MMWCAL
ERROR

you can see your terminal is not stable…
The echo character is AT!GTATUS? and the spelling is wrong.
That means either your PC has problem or the minicom has problem.

Also you missed the question mark for AT!LTEINFO and AT!NRINFO and AT!PCTEMP

@jyijyi Thank you for pointing that out.

  1. How do I make the terminal stable. I was able to get the output with
    AT!GSTATUS? AT!BAND? AT!LTEINFO? AT!NRINFO? AT!PCTEMP?
  2. But still I am not able to get the AT!NRIFO? and NR signal for AT!GSTATUS? , is it because I am inside and 5G signal is blocked inside.

I don’t know how to make your PC stable.
Maybe you can try with Windows and see if problem only exists in this ubuntu PC.

For NR signal, you need to generate some traffic like ping google operation in order to let module register to ENDC mode in AT!GSTATUS?. Otherwise, it would stay in LTE mode.

Here is an example to set up the MBIM interface for data establishment:


owner@CNHKG-EX-001367:~/legato/workspace/git/mangOH_2-7-2019$ cat /etc/mbim-network.conf 
APN=hkcsl
APN_USER=
APN_PASS=
APN_AUTH=
PROXY=yes

owner@CNHKG-EX-001367:~/legato/workspace/git/mangOH_2-7-2019$sudo mbim-network /dev/cdc-wdm0 start
Loading profile...
    APN: hkcsl
Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close'...
[/dev/cdc-wdm0] Subscriber ready status retrieved: Ready state: 'initialized' Subscriber ID: '454003074123456' SIM ICCID: '8985200012741123456' Ready info: 'unknown' Telephone numbers: (0) 'unknown' [/dev/cdc-wdm0] Session not closed: TRID: '3'
Saving state... (TRID: 3)
Querying registration state 'mbimcli -d /dev/cdc-wdm0 --query-registration-state --no-open=3 --no-close'...
[/dev/cdc-wdm0] Registration status: Network error: 'unknown' Register state: 'home' Register mode: 'automatic' Available data classes: 'lte' Current cellular class: 'gsm' Provider ID: '45400' Provider name: '1O1O' Roaming text: 'unknown' Registration flags: 'unknown' [/dev/cdc-wdm0] Session not closed: TRID: '4'
Saving state... (TRID: 4)
Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 --attach-packet-service --no-open=4 --no-close'...
Saving state... (TRID: 5)
Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=hkcsl --no-open=5 --no-close'...
Network started successfully
Saving state... (TRID: 6)

@jyijyi adding/editing $sudo nano /etc/mbim-network.conf
and running
sudo mbim-network /dev/cdc-wdm0 start
EM9190 is getting 5G NR signal.
Challenge (next stop): Positioning information is not captured. Need to get EM9290 / EM9291 (which supports 3GPP Release 16 and has Qualcomm Snapdragon x65 Modem)

please open a new topic, it is not related to the original forum thread