AT port not attacted with RM520N-GL

Pradeep Gopanapalli pradeep.gopanapalli at broadcom.com
Sat Jan 27 00:12:48 UTC 2024


Hello ModemManager devs,

We are using RM520N-GL in our SD-WAN edge device in USB mode on M.2 Slot.
We are facing an issue where AT USB ports(ttyUSB2, ttyUSB3) are not
enumerated .
We are using "modemmanager - 1.16.6-2" and also added RM520 blob to
" /lib/udev/rules.d/77-mm-quectel-port-types.rules" but still the AT port
is not attached .
Please advise any changes needed to resolve this issue.

# Quectel RM520
# #  ttyUSB0 (if #0): QCDM/DIAG port
# #  ttyUSB1 (if #1): GPS data port
# #  ttyUSB2 (if #2): AT primary port
# #  ttyUSB3 (if #3): AT secondary port
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0801", ENV{.MM_USBIFNUM}=="00",
ENV{ID_MM_PORT_TYPE_QCDM}="1"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0801", ENV{.MM_USBIFNUM}=="01",
ENV{ID_MM_PORT_TYPE_GPS}="1"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0801", ENV{.MM_USBIFNUM}=="02",
ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0801", ENV{.MM_USBIFNUM}=="03",
ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"

In debug message there is log about "port is not AT-capable"
>>
2024-01-25T16:45:52.070 DEBUG  daemon ModemManager[8350]: <debug>
[ttyUSB3/probe] port is not AT-capable
2024-01-25T16:45:52.070 DEBUG  daemon ModemManager[8350]: <debug>
[ttyUSB2/probe] port is not AT-capable

mmcli -m a
  -----------------------------------
  General | path: /org/freedesktop/ModemManager1/Modem/1
           | device id: a6228a17d57870bfb2b979508314470fb88a777a
  -----------------------------------
  Hardware | manufacturer: Quectel
           | model: RM520N-GL
           | firmware revision: RM520NGLAAR01A07M4G
           | carrier config: default
           | h/w revision: 20000
           | supported: gsm-umts, lte, 5gnr
           | current: gsm-umts, lte, 5gnr
           | equipment id: 868371051057103
  -----------------------------------
  System | device: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
           | drivers: option1, qmi_wwan
           | plugin: quectel
           | primary port: cdc-wdm0
           | ports: cdc-wdm0 (qmi), wwan0 (net)
  -----------------------------------
  Numbers | own: 16505469385
  -----------------------------------
  Status | lock: sim-pin2
           | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (10),
sim-puk2 (10)
           | state: connected
           | power state: on
           | access tech: lte
           | signal quality: 100% (cached)
  -----------------------------------
  Modes | supported: allowed: 3g; preferred: none
           | allowed: 4g; preferred: none
           | allowed: 3g, 4g; preferred: 4g
           | allowed: 3g, 4g; preferred: 3g
           | allowed: 5g; preferred: none
           | allowed: 3g, 5g; preferred: 5g
           | allowed: 3g, 5g; preferred: 3g
           | allowed: 4g, 5g; preferred: 5g
           | allowed: 4g, 5g; preferred: 4g
           | allowed: 3g, 4g, 5g; preferred: 5g
           | allowed: 3g, 4g, 5g; preferred: 4g
           | allowed: 3g, 4g, 5g; preferred: 3g
           | current: allowed: 3g, 4g, 5g; preferred: 5g
  -----------------------------------
  Bands | supported: utran-1, utran-4, utran-6, utran-5, utran-8, utran-2,
           | eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7,
eutran-8,
           | eutran-12, eutran-13, eutran-14, eutran-17, eutran-18,
eutran-19,
           | eutran-20, eutran-25, eutran-26, eutran-28, eutran-29,
eutran-30,
           | eutran-32, eutran-34, eutran-38, eutran-39, eutran-40,
eutran-41,
           | eutran-42, eutran-43, eutran-46, eutran-48, eutran-66,
eutran-71,
           | utran-19
           | current: utran-1, utran-4, utran-5, utran-8, utran-2,
eutran-1,
           | eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           | eutran-12, eutran-13, eutran-14, eutran-17, eutran-18,
eutran-19,
           | eutran-20, eutran-25, eutran-26, eutran-28, eutran-29,
eutran-30,
           | eutran-32, eutran-34, eutran-38, eutran-39, eutran-40,
eutran-41,
           | eutran-42, eutran-43, eutran-46, eutran-48, eutran-66,
eutran-71,
           | utran-19
  -----------------------------------
  IP | supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  3GPP | imei: 868371051057103
           | enabled locks: fixed-dialing
           | operator id: 310260
           | operator name: Ting
           | registration: home
  -----------------------------------
  3GPP EPS | initial bearer path: /org/freedesktop/ModemManager1/Bearer/28
           | initial bearer ip type: ipv4v6
  -----------------------------------
  SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/2
           | sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/2
(active)
           | slot 2: /org/freedesktop/ModemManager1/SIM/3
  -----------------------------------
  Bearer | paths: /org/freedesktop/ModemManager1/Bearer/29

mmcli -m 1 --command='ATI'
error: command failed:
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Connected: No AT port
available to run comman

Thanks,
Pradeep G

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20240126/556852c8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commands.log
Type: application/octet-stream
Size: 25274 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20240126/556852c8/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_AT.log
Type: application/octet-stream
Size: 1437 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20240126/556852c8/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: message_debug_noAT.log
Type: application/octet-stream
Size: 708527 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20240126/556852c8/attachment-0005.obj>


More information about the ModemManager-devel mailing list