Re: Temperature of modem

2023-03-27 Thread Aleksander Morgado
Hey,

On Fri, Mar 3, 2023 at 8:18 PM Tom Isaacson  wrote:
>
> Thanks. Is there any risk in calling qmicli functions when ModemManager is in 
> charge of the modem?
>

As long as you're using the qmi-proxy setup when calling qmicli (i.e.
using the "-p" option), and you're NOT modifying the state or
configuration of the modem, there is no risk.

Reading the temperature should definitely be fine.

-- 
Aleksander


ublox SARA does not connect

2023-03-27 Thread ron
Hi

Im running a ublox SARA modem in an embedded system on ubuntu.

It is connecting fine on ubuntu 20.04, but remains in "registered" state
when setup in ubuntu 22.04. 

It seems that NM doesn't run pppd for some reason, or is it MM issue?

 

root@ubuntu:~# mmcli -m 0

  

  General  | path: /org/freedesktop/ModemManager1/Modem/0

   |device id: d4174b3552de7d45f5b0268aec1350664f7273c6

  

  Hardware | manufacturer: u-blox

   |model: SARA-R510M8S

   |firmware revision: 03.15

   |supported: gsm-umts

   |  current: gsm-umts

   | equipment id: 352709570223149

  

  System   |   device:
/sys/devices/platform/soc@0/3080.bus/3086.serial
 

   |  drivers: imx-uart

   |   plugin: generic

   | primary port: ttymxc0

   |ports: ttymxc0 (at)

  

  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: 41% (recent)

  

  Modes|supported: allowed: any; preferred: none

   |  current: allowed: any; preferred: none

  

  IP   |supported: ipv4, ipv6, ipv4v6

  

  3GPP | imei: 352709570223149

   |operator name: Partner ISR

   | registration: home-sms-only

   | packet service state: detached

  

  SIM  | primary sim path: /org/freedesktop/ModemManager1/SIM/0

 

NM connection file:

 

id=ttymxc0

uuid=c0a7c307-2657-4cf1-8913-b5a826594338

type=gsm

 

[gsm]

#apn=uinternet

auto-config=TRUE

 

[ppp]

baud=921600

crtscts=true

lcp-echo-failure=5

lcp-echo-interval=30

 

[ipv4]

dns-search=

method=auto

 

[ipv6]

addr-gen-mode=stable-privacy

dns-search=

method=ignore