Understanding Modem Manager
Marc Murphy
marcmltd at marcm.co.uk
Mon Dec 16 14:15:12 PST 2013
It is the last stable release;
ModemManager (version 0.7.990)
The thing I don’t understand is there is no response to the AT^CURC=0
ModemManager[901]: <debug> [946699059.677717] [mm-port-probe.c:253] mm_port_probe_set_result_qmi(): (usbmisc/cdc-wdm0) port is QMI-capable
ModemManager[901]: <debug> [946699059.681287] [mm-plugin-manager.c:323] plugin_supports_port_ready(): (Plugin Manager) (Huawei) [cdc-wdm0] found best plugin for port
ModemManager[901]: <debug> [946699059.681714] [mm-plugin-manager.c:186] port_probe_context_finished(): (Plugin Manager) (Huawei) [cdc-wdm0]: found best plugin for device (/sys/devices/platform/usbhs_omap/ehci-omap.0/usb1/1-1/1-1.1)
ModemManager[901]: <debug> [946699059.682264] [mm-plugin-manager.c:257] suggest_port_probe_result(): (Plugin Manager) (Huawei) [wwan0] deferred task completed, got suggested plugin
ModemManager[901]: <debug> [946699059.682630] [mm-plugin-manager.c:283] suggest_port_probe_result(): (Plugin Manager) (Huawei) [ttyUSB2] suggested plugin for port
ModemManager[901]: <debug> [946699060.018781] [mm-plugin-manager.c:283] suggest_port_probe_result(): (Plugin Manager) (Huawei) [ttyUSB1] suggested plugin for port
ModemManager[901]: <debug> [946699060.019086] [mm-plugin-manager.c:283] suggest_port_probe_result(): (Plugin Manager) (Huawei) [ttyUSB0] suggested plugin for port
ModemManager[901]: <debug> [946699060.019788] [mm-at-serial-port.c:392] debug_log(): (ttyUSB0): --> 'AT^CURC=0<CR>'
ModemManager[901]: <debug> [946699060.020551] [mm-plugin.c:665] mm_plugin_supports_port(): (Huawei) [wwan0] probing deferred until result suggested
ModemManager[901]: <debug> [946699060.021039] [mm-plugin-manager.c:390] plugin_supports_port_ready(): (Plugin Manager) (Huawei) [wwan0] task completed, got suggested plugin
It is then decided that the modem is not AT compatible....
Although if I test with a little app I wrote I can query the same port ttyUSB0 with the same command and get a response.:
# simple_com /dev/ttyUSB0 AT^CURC=0
AT^CURC=0
OK
So the modem is alive and should be responding.
-----Original Message-----
From: Aleksander Morgado [mailto:aleksander at lanedo.com]
Sent: 16 December 2013 22:13
To: Marc Murphy; 'Dan Williams'
Cc: modemmanager-devel at lists.freedesktop.org
Subject: Re: Understanding Modem Manager
On 16/12/13 20:59, Marc Murphy wrote:
> Here's the rest of the log after leaving it for a long time it still doesn’t enable the modem.
>
> The modem is a mini-pci card so is permanently plugged in, so its available as soon as I start ModemManager.
Is this with ModemManager git master? Seems the Huawei probing is never finishing; and IIRC I recently fixed an issue about that.
--
Aleksander
More information about the ModemManager-devel
mailing list