Huawei me906s-158

Aleksander Morgado aleksander at aleksander.es
Thu Mar 3 15:24:39 UTC 2016


On Thu, Mar 3, 2016 at 4:06 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> <debug> [1456995669.071891] [mm-port-probe.c:525] wdm_probe_mbim(): (usbmisc/cdc-wdm0) probing MBIM...
>> opening device...cannot connect to proxy: Could not connect: Connection refusedspawning new mbim-proxy (try 1)...<debug> [1456995669.172427] [mm-port-serial-at.c:440] debug_log(): (ttyUSB0): --> 'AT^SQPORT?<CR>'
>> [/dev/cdc-wdm0] Read max control message size from descriptors file: 1024[/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:F7: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)
>
>
> Looks like there is some credential problem accessing the mbim-proxy. No
> MBIM commands are ever sent to the modem, so we don't know if that works
> or not.
>
> I don't really know what you should do here.  Aleksander?

I'm assuming ModemManager runs as root; is there any other program
making use of the proxy here? mbimcli maybe? In order to avoid these
kind of issues, the quickest solution is to always run everything as
root, or under sudo for what it's worth. Maybe mbimcli with a normal
user starts the proxy and MM with uid 0 tries to access it and uids
don't match?

Another option is to manually run the proxy before MM is started; e.g.:

[terminal 1] $ sudo /usr/libexec/mbim-proxy --verbose
[terminal 2] $ sudo /usr/sbin/ModemManager --debug

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list