IND.T Classification: External

Sent: Tuesday, 4 March 2025 3:22 PM
To: Giacinto Cifelli <gciof...@gmail.com>
Cc: Dan Williams <d...@ioncontrol.co>; modemmanager-devel@lists.freedesktop.org 
<modemmanager-devel@lists.freedesktop.org>
Subject: Re: Cinterion PLS63 not showing up as wwan0


From: ModemManager-devel <modemmanager-devel-boun...@lists.freedesktop.org> on 
behalf of Brendan Simon <brendan.si...@ind-technology.com>
Sent: Friday, 31 January 2025 10:28 AM
Subject: Re: Cinterion PLS63 not showing up as wwan0

From: Giacinto Cifelli <gciof...@gmail.com>
Sent: Thursday, 30 January 2025 3:22 PM

Hi Brendan,

On Wed, Jan 29, 2025 at 6:57 AM Brendan Simon
<brendan.si...@ind-technology.com> wrote:
>
> Thanks Dan.
> I am actually using a 5.10 kernel (not 4.19), but still wouldn't have the 
> patches you mention.
> I can try some 6.1 and 6.6 kernel for our platform and see if that helps.
>
> Cheers, Brendan.
>

if i remember correctly, the PLS63/83 has 2 enumerations, one is wwan,
the other one is qmi.
You should check how is your module enumerating with the command AT^SSRVSET.

Ok.  I will check that out the response to that AT command.

With a newer kernel (6.1) I see the device enumerate as wwx00a0c6ee8cc0 (not 
wwan0).
I think this is the new persistent naming scheme.  I'm not used to it and not 
sure how if effects my system, config, etc, but it's looking like it is a wwan 
device.

# ifconfig -a
wwx00a0c6ee8cc0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
       ether 00:a0:c6:ee:8c:c0  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The AT command produced an error.  CME Error.

I was able to prevent the persistent name wwx00a0c6ee8cc0 and keeping wwan0 by 
setting the command line arguments to include: net.ifnames=0

# ifconfig -a
wwan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
       ether 00:a0:c6:ee:8c:c0  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

However, this still does not allow ModemManager to detect the Cinterion modem 
as a WWAN device.
I.e. The device does not show up with: mmcli -L

My setup is now Debian 13 Trixie (testing) amd64, Linux kernel 6.12.12, modem 
connected via USB, ModemManager 1.22.0, NetworkManager 1.50.2.

How do I get ModemManager to detect the Cinterion PLS63 modem?

Some debug.

# journalctl -b -u ModemManager.service | grep --color -i 
"wwx\|error\|cinterion"

Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.836551] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: started
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.836563] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.836584] 
[plugin/cinterion] probing of port wwx00a0c6ee8cc0 deferred until result 
suggested
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.837051] 
[plugin-manager] task 0,ttyACM3: will try with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.837226] 
[plugin-manager] task 0,ttyACM3: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.837251] 
[plugin/cinterion] probes required for port ttyACM3: 'at'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838155] 
[plugin-manager] task 0,ttyACM2: will try with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838242] 
[plugin-manager] task 0,ttyACM2: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838264] 
[plugin/cinterion] probes required for port ttyACM2: 'at'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838727] 
[plugin-manager] task 0,ttyACM1: will try with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838814] 
[plugin-manager] task 0,ttyACM1: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.838834] 
[plugin/cinterion] probes required for port ttyACM1: 'at'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839401] 
[plugin-manager] task 0,ttyACM0: will try with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839493] 
[plugin-manager] task 0,ttyACM0: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839516] 
[plugin/cinterion] probes required for port ttyACM0: 'at'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839613] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: deferring support check until result 
suggested
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839639] 
[plugin-manager] task 0,ttyACM3: found best plugin for port (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839668] 
[plugin-manager] task 0,ttyACM3: found best plugin: cinterion
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839680] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: deferred task completed, got suggested 
plugin (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839697] 
[plugin-manager] task 0,ttyACM2: got suggested plugin (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839709] 
[plugin-manager] task 0,ttyACM1: got suggested plugin (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839720] 
[plugin-manager] task 0,ttyACM0: got suggested plugin (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839741] 
[plugin-manager] task 0: still 4 running probes (4 active): wwx00a0c6ee8cc0, 
ttyACM2, ttyACM1, ttyACM0
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839771] 
[plugin-manager] task 0,ttyACM2: found best plugin for port (cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839795] 
[plugin-manager] task 0,ttyACM2: best plugin matches device reported one: 
cinterion
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.839810] 
[plugin-manager] task 0: still 3 running probes (3 active): wwx00a0c6ee8cc0, 
ttyACM1, ttyACM0
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.902106] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: checking with plugin 'cinterion'
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.902143] 
[plugin/cinterion] probing of port wwx00a0c6ee8cc0 deferred until result 
suggested
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.902196] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: completed, got suggested plugin 
(cinterion)
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.902211] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: finished in '1.968308' seconds
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.902230] 
[plugin-manager] task 0,wwx00a0c6ee8cc0: best plugin matches device reported 
one: cinterion
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.933881] 
[plugin/cinterion] port enp0s3 filtered by vendor/product IDs
Mar 04 15:52:56 trixie1 ModemManager[5599]: <dbg> [1741063976.934503] 
[plugin/cinterion] port enp0s8 filtered by vendor/product IDs
Mar 04 15:52:57 trixie1 ModemManager[5599]: <dbg> [1741063977.114261] 
[plugin-manager] task 0,ttyACM1: found best plugin for port (cinterion)
Mar 04 15:52:57 trixie1 ModemManager[5599]: <dbg> [1741063977.114317] 
[plugin-manager] task 0,ttyACM1: best plugin matches device reported one: 
cinterion
Mar 04 15:52:57 trixie1 ModemManager[5599]: <dbg> [1741063977.225092] 
[plugin-manager] task 0,ttyACM0: found best plugin for port (cinterion)
Mar 04 15:52:57 trixie1 ModemManager[5599]: <dbg> [1741063977.225129] 
[plugin-manager] task 0,ttyACM0: best plugin matches device reported one: 
cinterion
Mar 04 15:52:58 trixie1 ModemManager[5599]: <msg> [1741063978.831670] [device 
/sys/devices/pci0000:00/0000:00:0c.0/usb1/1-2] creating modem with plugin 
'cinterion' and '5' ports
Mar 04 15:52:58 trixie1 ModemManager[5599]: <dbg> [1741063978.833815] [modem0] 
port 'net/wwx00a0c6ee8cc0' grabbed
Mar 04 15:52:58 trixie1 ModemManager[5599]: <wrn> [1741063978.834064] 
[plugin/cinterion] could not grab port ttyACM3: Cannot add port 'tty/ttyACM3', 
unhandled port type
Mar 04 15:52:58 trixie1 ModemManager[5599]: <inf> [1741063978.834444] [modem0] 
net/wwx00a0c6ee8cc0: net (data)
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.051997] 
[ttyACM0/at] <-- '<CR><LF>+CME ERROR: 100<CR><LF>'
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.052458] 
[ttyACM0/at] operation failure: 100 (Unknown error)
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.225493] 
[ttyACM0/at] <-- '<CR><LF>Cinterion<CR><LF><CR><LF>OK<CR><LF>'
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.225872] [modem0] 
loaded manufacturer: Cinterion
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.418279] 
[ttyACM0/at] <-- '<CR><LF>Cinterion<CR><LF>PLS63-W<CR><LF>REVISION 
02.110<CR><LF><CR><LF>OK<CR><LF>'
Mar 04 15:52:59 trixie1 ModemManager[5599]: <dbg> [1741063979.418700] [modem0] 
device identifier built: 
00001e2d00000069CinterionPLS63-WREVISION02.110350588282505965REVISION02.110PLS63-WCinterion
 -> 80bba79eaae38f58fd5aa61aa2c569211dcd9a58
Mar 04 15:52:59 trixie1 ModemManager[5599]: Bail out! 
ERROR:../src/plugins/cinterion/mm-broadband-modem-cinterion.c:1819:sxrat_load_supported_modes_ready:
 assertion failed: (self->priv->sxrat_supported_rat)
Mar 04 15:53:00 trixie1 ModemManager[5608]: <dbg> [1741063980.249979] 
[plugin-manager] loaded plugin 'cinterion' from 
'/usr/lib/x86_64-linux-gnu/ModemManager/libmm-plugin-cinterion.so'

Reply via email to