Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'

Dan Williams dcbw at redhat.com
Thu Apr 21 20:12:17 UTC 2016


On Thu, 2016-04-21 at 19:14 +0000, Seethamsetty, Rakesh wrote:
> Binary is in /usr/lib and /usr/sbin
> 
> Also NM is running as a root, but both MM and NM are shutting down
> due to failures.
> 
> NM shuts down complaining that there is no conf file in
> /etc/NetworkManager/

It looks like ModemManager (well, really libmbim) is able to spawn
mbim-proxy OK, otherwise we'd see "error spawning mbim-proxy:" debug
messages.  But apparently it's unable to communicate with it?

What happens after this ModemManager error if in another terminal you
run:

mbimcli -p -d /dev/cdc/wdm0 --query-device-caps

Do you get a response from mbimcli?

Dan

> Thanks
> Rakesh
> 
> 
> -----Original Message-----
> From: Aleksander Morgado [mailto:aleksander at aleksander.es> Sent: Thursday, April 21, 2016 12:06 PM
> To: Seethamsetty, Rakesh <rakesh.seethamsetty at intel.com>
> Cc: modemmanager-devel at lists.freedesktop.org
> Subject: Re: Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port
> 'usbmisc/cdc-wdm0', unsupported'
> 
> On Thu, Apr 21, 2016 at 8:49 PM, Seethamsetty, Rakesh <rakesh.seetham
> setty at intel.com> wrote:
> > 
> > 
> >         I debugged further and I am facing "Could not
> > connect"  issue
> > 
> > opening device...cannot connect to proxy: Could not connect:
> > Connection refusedspawning new mbim-proxy (try 1)...[/dev/cdc-wdm0] 
> > Read max control message size from descriptors file: 512[/dev/cdc-
> > wdm0] Sent message...
> > <<<<<< RAW:
> > <<<<<<   length = 88
> > <<<<<<   data   =
> > 03:00:00:00:58:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F
> > 7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:01:00:00:00:28
> > :00:00:00:0C:00:00:00:1A:00:00:00:1E:00:00:00:2F:00:64:00:65:00:76:
> > 00:2F:00:63:00:64:00:63:00:2D:00:77:00:64:00:6D:00:30:00:00:00
> > [/dev/cdc-wdm0] Sent message (translated)...
> > <<<<<< Header:
> > <<<<<<   length      = 88
> > <<<<<<   type        = command (0x00000003)
> > <<<<<<   transaction = 1
> > <<<<<< Fragment header:
> > <<<<<<   total   = 1
> > <<<<<<   current = 0
> > <<<<<< Contents:
> > <<<<<<   service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-
> > d71dbefbb39b)
> > <<<<<<   cid     = 'configuration' (0x00000001)
> > <<<<<<   type    = 'set' (0x00000001)
> > 
> > 
> > 
> > Attached are the complete logs.
> > 
> > 
> > I am assuming, I have to set the proxy name( APN ) somewhere,
> > please 
> > can you let me know where to set and if I can get a sample that
> > would 
> > be great
> No, has nothing to do with that.
> 
> ModemManager tries to connect to the "mbim-proxy" running in the
> system, and if there's none, it tries to launch the proxy itself. If
> it's failing it may be because the mbim-proxy binary isn't installed
> or something? Where is that binary located in your system?
> 
> Also, are you running MM as root?
> 
> --
> Aleksander
> https://aleksander.es
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list