Hello,
I am using MM version 1.6.8 on Yocto (Linux version 4.4.8) to communicate with Telit LE910 NA V2 modem. The modem is configured to support MBIM and cdc_mbim gets loaded on Yocto when the modem is connected. However MM is unable to open MBIM port and I see a character set conversion error when I query-device-caps using mbimcli. I have have looked at a similar issue in https://lists.freedesktop.org/archives/modemmanager-devel/2016-April/002912.html but this thread does not have the resolution. mbim-proxy seems to be running in my case. I have pasted MM debug logs below along with mmcli output. Please let me know if this issues sounds familiar and if you have any suggestions on how to address it. MM logs: ModemManager[1364]: <debug> [1504288884.359280] [../../ModemManager-1.4.12/src/mm-port-probe.c:525] wdm_probe_mbim(): (usbmisc/cdc-wdm0) probing MBIM. ModemManager[1364]: opening device... ModemManager[1364]: cannot connect to proxy: Could not connect: Connection refused ModemManager[1364]: spawning new mbim-proxy (try 1)... ModemManager[1364]: <debug> [1504288884.442795] [../../ModemManager-1.4.12/src/mm-port-serial-at.c:440] debug_log(): (ttyACM0): --> 'AT<CR>' ModemManager[1364]: <debug> [1504288884.446648] [../../ModemManager-1.4.12/src/mm-port-serial-at.c:440] debug_log(): (ttyACM5): --> 'AT<CR>' ModemManager[1364]: <debug> [1504288884.449379] [../../ModemManager-1.4.12/src/mm-port-serial-at.c:440] debug_log(): (ttyACM1): --> 'AT<CR>' ModemManager[1364]: <debug> [1504288884.453302] [../../ModemManager-1.4.12/src/mm-port-serial-at.c:440] debug_log(): (ttyACM2): --> 'AT<CR>' ModemManager[1364]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 512 ModemManager[1364]: Error converting string: Conversion from character set “utf-8” to “utf-16le” is not supported ModemManager[1364]: [/dev/cdc-wdm0] Sent message... <<<<<< RAW: <<<<<< length = 52 <<<<<< data = 03:00:00:00:34: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::00:00:00:1E:00:00:00 ModemManager[1364]: [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 52 <<<<<< 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) ModemManager[1364]: [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 48 >>>>>> data = >>>>>> 03:00:00:80:30: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:15:00:00:00::00:00:00 ModemManager[1364]: [/dev/cdc-wdm0] Received message (translated)... >>>>>> Header: >>>>>> length = 48 >>>>>> type = command-done (0x80000003) >>>>>> transaction = 1 >>>>>> Fragment header: >>>>>> total = 1 >>>>>> current = 0 >>>>>> Contents: >>>>>> status error = 'InvalidParameters' (0x00000015) >>>>>> service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b) >>>>>> cid = 'configuration' (0x00000001) ModemManager[1364]: [/dev/cdc-wdm0] Sent message... <<<<<< R <<<<<< length = 16 <<<<<< data = 01:00:00:00:10:00:00:00:02:00:00:00:00:02:00:00 ModemManager[1364]: [/dev/cdc-wdm0] Sent message (translated)... <<<<<< Header: <<<<<< length = 16 <<<<<< type = open (0x00000001) <<<<<< transaction = 2 <<<<<< Contents: <<<<<< max_control_transfer = 512 ModemManager[1364]: [/dev/cdc-wdm0] Received message... >>>>>> RAW: >>>>>> length = 16 >>>>>> data = 01:00:00:80:10:00:00:00:02:00:00:00:02:00:00:00 ModemManager[1364]: getting open done result failed: closed ModemManager[1364]: <debug> [1504288884.819262] [../../ModemManager-1.4.12/src/mm-port-probe.c:503] mbim_port_open_ready(): (usbmisc/cdc-wdm0) error ccking MBIM support: 'Failure' ModemManager[1364]: <debug> [1504288884.819356] [../../ModemManager-1.4.12/src/mm-port-probe.c:320] mm_port_probe_set_result_mbim(): (usbmisc/cdc-wdm0port is not MBIM-capable root@cb-88f3720-ddr3-espressobin:~# mbimcli -p -d /dev/cdc-wdm0 --query-device-caps [01 Sep 2017, 18:04:02] -Warning ** Error converting string: Conversion from character set “utf-8” to “utf-16le” is not supported error: couldn't open the MbimDevice: Failure root@cb-88f3720-ddr3-espressobin:~# ps 364 root 0:07 ModemManager --debug 1377 root 0:00 /usr/libexec/mbim-proxy root@cb-88f3720-ddr3-espressobin:~# mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id 'cf7246d47d123f7963b6cb97be01dd606b9ecf15') ------------------------- Hardware | manufacturer: 'Telit' | model: 'LE910-NA V2' | revision: '20.00.002' | supported: 'gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: '358148060073710' ------------------------- System | device: '/sys/devices/platform/soc/soc:internal-regs/d005e000.usb/usb1/1-1' | drivers: 'cdc_mbim, cdc_acm' | plugin: 'Generic' | primary port: 'ttyACM3' | ports: 'ttyACM3 (at), wwan0 (net), ttyACM0 (at)' ------------------------- Numbers | own : '+12028097011' ------------------------- Status | lock: 'none' | unlock retries: 'unknown' | state: 'connected' | power state: 'on' | access tech: 'lte' | signal quality: '42' (recent) ------------------------- Modes | supported: 'allowed: 4g; preferred: none' | current: 'allowed: 4g; preferred: none' ------------------------- Bands | supported: 'unknown' | current: 'unknown' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- 3GPP | imei: '358148060073710' | enabled locks: 'none' | operator id: '311480' | operator name: 'Verizon' | subscription: 'unknown' | registration: 'home' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/0' ------------------------- Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/1' ----------------------------------------- Thanks, Shijo
_______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
