Huawei me906s-158

Andreas Fett andreas.fett at secunet.com
Fri Mar 4 14:05:51 UTC 2016


Hi,

On 03/03/16 16:06, Bjørn Mork wrote:
> 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.
> 

Sorry, maybe I'm mistaken, but I don't really think that this is an
issue with the proxy. The proxy just doesn't respond as long as the
modem cannot be contacted.

I did a test without a running ModemManger and without the proxy, just
using mbimcli with option --query-device-caps and giving it the device
node. I double checked that no other process accessed the same device node.

strace showed that the device node (/dev/cdc-wdm0) is opened
successfully and the command that appears in the debug output
is written to the device. There is just no answer (ie poll() returns
timeouts for the fd) and after a couple retries it gives up.

Using usbmon (see attached log) I could see that those commands are
actually submitted to the USB bus. The modem seems to respond by sending
back an URB but that doesn't seem to be the expected answer. However
apart from understanding the addressing on the bus I can't really make
much of it.

Andreas


-------------- next part --------------
Bus 001 Device 003: ID 12d1:15c1 Huawei Technologies Co., Ltd. 

ffff88041bb8e3c0 3044646844 S Ii:1:003:2 -115:16 16 <
ffff88041bb8e240 3044646880 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 01000000 00040000
ffff88041bb8e240 3044647092 C Co:1:003:0 0 16 >
ffff88041bb8e240 3045648431 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 02000000 00040000
ffff88041bb8e240 3045648647 C Co:1:003:0 0 16 >
ffff88041bb8e240 3046649677 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 03000000 00040000
ffff88041bb8e240 3046649879 C Co:1:003:0 0 16 >
ffff88041bb8e240 3047651147 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 04000000 00040000
ffff88041bb8e240 3047651365 C Co:1:003:0 0 16 >
ffff88041bb8e240 3048651483 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 05000000 00040000
ffff88041bb8e240 3048651763 C Co:1:003:0 0 16 >
ffff88041bb8e240 3049652915 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 06000000 00040000
ffff88041bb8e240 3049653103 C Co:1:003:0 0 16 >
ffff88041bb8e240 3050654363 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 07000000 00040000
ffff88041bb8e240 3050654644 C Co:1:003:0 0 16 >
ffff88041bb8e240 3051655813 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 08000000 00040000
ffff88041bb8e240 3051656030 C Co:1:003:0 0 16 >
ffff88041bb8e240 3052657237 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 09000000 00040000
ffff88041bb8e240 3052657411 C Co:1:003:0 0 16 >
ffff88041bb8e240 3053658500 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0a000000 00040000
ffff88041bb8e240 3053658736 C Co:1:003:0 0 16 >
ffff88041bb8e240 3054659960 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0b000000 00040000
ffff88041bb8e240 3054660180 C Co:1:003:0 0 16 >
ffff88041bb8e240 3055660384 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0c000000 00040000
ffff88041bb8e240 3055660610 C Co:1:003:0 0 16 >
ffff88041bb8e240 3056661219 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0d000000 00040000
ffff88041bb8e240 3056661414 C Co:1:003:0 0 16 >
ffff88041bb8e240 3057662628 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0e000000 00040000
ffff88041bb8e240 3057662890 C Co:1:003:0 0 16 >
ffff88041bb8e240 3058664067 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 0f000000 00040000
ffff88041bb8e240 3058664321 C Co:1:003:0 0 16 >
ffff88041bb8e240 3059665518 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 10000000 00040000
ffff88041bb8e240 3059665773 C Co:1:003:0 0 16 >
ffff88041bb8e240 3060666969 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 11000000 00040000
ffff88041bb8e240 3060667190 C Co:1:003:0 0 16 >
ffff88041bb8e240 3061668433 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 12000000 00040000
ffff88041bb8e240 3061668650 C Co:1:003:0 0 16 >
ffff88041bb8e240 3062669841 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 13000000 00040000
ffff88041bb8e240 3062670072 C Co:1:003:0 0 16 >
ffff88041bb8e240 3063671336 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 14000000 00040000
ffff88041bb8e240 3063671585 C Co:1:003:0 0 16 >
ffff88041bb8e240 3064672229 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 15000000 00040000
ffff88041bb8e240 3064672437 C Co:1:003:0 0 16 >
ffff88041bb8e240 3065673502 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 16000000 00040000
ffff88041bb8e240 3065673717 C Co:1:003:0 0 16 >
ffff88041bb8e240 3066674213 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 17000000 00040000
ffff88041bb8e240 3066674403 C Co:1:003:0 0 16 >
ffff88041bb8e240 3067675668 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 18000000 00040000
ffff88041bb8e240 3067675883 C Co:1:003:0 0 16 >
ffff88041bb8e240 3068677129 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 19000000 00040000
ffff88041bb8e240 3068677348 C Co:1:003:0 0 16 >
ffff88041bb8e240 3069678607 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 1a000000 00040000
ffff88041bb8e240 3069678913 C Co:1:003:0 0 16 >
ffff88041bb8e240 3070679876 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 1b000000 00040000
ffff88041bb8e240 3070680131 C Co:1:003:0 0 16 >
ffff88041bb8e240 3071680422 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 1c000000 00040000
ffff88041bb8e240 3071680737 C Co:1:003:0 0 16 >
ffff88041bb8e240 3072681722 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 1d000000 00040000
ffff88041bb8e240 3072681934 C Co:1:003:0 0 16 >
ffff88041bb8e240 3073683182 S Co:1:003:0 s 21 00 0000 0000 0010 16 = 01000000 10000000 1e000000 00040000
ffff88041bb8e240 3073683447 C Co:1:003:0 0 16 >
ffff88041bb8e3c0 3074687255 C Ii:1:003:2 -2:16 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160304/ecc108ae/attachment.sig>


More information about the ModemManager-devel mailing list