[Ublox]: UBlox L-210 will not work using ACM interface
Engel, Mike
Mike.Engel at digi.com
Mon Mar 20 15:46:13 UTC 2017
Hi Aleksander,
I have used the MM 1.7.0 that includes the UBlox plugin and the error that I saw with the previous version persist. It seems that the SIM is not detected.
When I change the USB profile from (3 ("NETWORK, 1 CDC-ACM"),("RNDIS"),()) default. When I change that to (2 ("NETWORK, 3 CDC-ACM"),("ECM"),()) with the command
At+uusbconf=2
The modem will be detected as ETHX and I can use it correctly using the same SIM card.
Could it be that the profile 3 only has one AT port ttyACM0 and the ModemManager might require more than one serial port?
ModemManager[832]: <debug> [1490023896.705295] [../../git/src/mm-port-serial.c:1349] _close_internal(): (ttyACM0) device
open count is 2 (close)
ModemManager[832]: <debug> [1490023896.705621] [../../git/src/mm-port-serial-at.c:459] debug_log(): (ttyACM0): --> 'AT+CP
IN?<CR>'
ModemManager[832]: <debug> [1490023896.726605] [../../git/src/mm-port-serial-at.c:459] debug_log(): (ttyACM0): <-- '<CR><
LF>+CME ERROR: 10<CR><LF>'
ModemManager[832]: <debug> [1490023896.727072] [../../git/src/mm-serial-parsers.c:364] mm_serial_parser_v1_parse(): Got f
ailure code 10: SIM not inserted
ModemManager[832]: <debug> [1490023896.727359] [../../git/src/mm-iface-modem.c:268] load_unlock_required_ready(): Couldn'
t check if unlock required: 'SIM not inserted'
ModemManager[832]: <debug> [1490023896.727701] [../../git/src/mm-port-serial.c:1349] _close_internal(): (ttyACM0) device
open count is 1 (close)
ModemManager[832]: <warn> [1490023896.728648] [../../git/src/mm-broadband-modem.c:9834] iface_modem_initialize_ready():
Modem couldn't be initialized: Couldn't check unlock status: SIM not inserted
ModemManager[832]: <info> [1490023896.728974] [../../git/src/mm-iface-modem.c:1433] __iface_modem_update_state_internal(
): Modem: state changed (unknown -> failed)
ModemManager[832]: <debug> [1490023896.730496] [../../git/src/mm-broadband-modem.c:9928] iface_modem_firmware_initialize_
ready(): Couldn't initialize interface: 'Firmware interface not available'
ModemManager[832]: <debug> [1490023896.730968] [../../git/src/mm-broadband-modem.c:10142] initialize_step(): SIM is missi
ng and Modem does not support SIM Hot Swap
ModemManager[832]: <debug> [1490023896.731942] [../../git/src/mm-port-serial.c:1349] _close_internal(): (ttyACM0) device
open count is 0 (close)
ModemManager[832]: <debug> [1490023896.732190] [../../git/src/mm-port-serial.c:1365] _close_internal(): (ttyACM0) closing
serial port...
ModemManager[832]: <debug> [1490023896.735805] [../../git/src/mm-port-serial.c:1413] _close_internal(): (ttyACM0) serial
port closed
ModemManager[832]: <debug> [1490023896.736119] [../../git/src/mm-base-modem.c:867] initialize_ready(): Couldn't finish in
itialization in the current state: 'Modem is unusable, cannot fully initialize'
ModemManager[832]: <debug> [1490023896.740291] [../../git/src/mm-device.c:283] export_modem(): [device /sys/devices/soc0/
soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3] exported modem at path '/org/freedesktop/ModemManager1/Modem
/0'
ModemManager[832]: <debug> [1490023896.740630] [../../git/src/mm-device.c:284] export_modem(): [device /sys/devices/soc0/
soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3] plugin: u-blox
ModemManager[832]: <debug> [1490023896.740895] [../../git/src/mm-device.c:288] export_modem(): [device /sys/devices/soc0/
soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3] vid:pid: 0x1546:0x1146
root at ccimx6sbc:~# mmcli -L
Found 1 modems:
/org/freedesktop/ModemManager1/Modem/0 [u-blox] TOBY-L210
root at ccimx6sbc:~# mmcli -i 0
error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0'
root at ccimx6sbc:~# mmcli -m 0
/org/freedesktop/ModemManager1/Modem/0 (device id '64dfa1879a3eb95b67a016cf01db3b029e708356')
-------------------------
Hardware | manufacturer: 'u-blox'
| model: 'TOBY-L210'
| revision: '09.71'
| supported: 'gsm-umts, lte'
| current: 'gsm-umts, lte'
| equipment id: '352255060049271'
-------------------------
System | device: '/sys/devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3'
| drivers: 'cdc_acm'
| plugin: 'u-blox'
| primary port: 'ttyACM0'
| ports: 'ttyACM0 (at)'
-------------------------
Numbers | own : 'unknown'
-------------------------
Status | lock: 'unknown'
| unlock retries: 'unknown'
| state: 'failed'
| failed reason: 'sim-missing'
| power state: 'on'
| access tech: 'unknown'
| signal quality: '0' (cached)
-------------------------
Modes | supported: 'allowed: 2g; preferred: none
| allowed: 2g, 3g; preferred: none
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 3g; preferred: 3g
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g, 4g; preferred: none
| allowed: 2g, 3g, 4g; preferred: 2g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: none
| allowed: 2g, 4g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g'
| current: 'allowed: any; preferred: none'
-------------------------
Bands | supported: 'egsm, dcs, pcs, g850, u2100, u1800, u17iv, u800, u850, u900, u1900, u2600, eutran-i, eutran
-ii, eutran-iii, eutran-iv, eutran-v, eutran-vii, eutran-viii, eutran-xi, eutran-xiii, eutran-xvii, eutran-xx'
| current: 'unknown'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
SIM | path: 'none'
-------------------------
Bearers | paths: 'none'
Thanks for your help.
Best regards,
--
Mike Engel
-----Original Message-----
From: Aleksander Morgado [mailto:aleksander at aleksander.es]
Sent: Thursday, March 16, 2017 18:19
To: Engel, Mike
Cc: modemmanager-devel at lists.freedesktop.org
Subject: Re: [Ublox]: UBlox L-210 will not work using ACM interface
On Thu, Mar 16, 2017 at 1:24 PM, Engel, Mike <Mike.Engel at digi.com> wrote:
> Changing the modem USB profile makes the modem work with the modemmanager version we are using.
If you end up using the u-blox plugin, MM should be able to handle the connection regardless of the mode.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list