LE910 (used with qmi generic) not working anymore with 1.6-rc2

Aleksander Morgado aleksander at aleksander.es
Fri Apr 8 11:11:20 UTC 2016


On Thu, Apr 7, 2016 at 12:57 PM, Daniele Palmas <dnlplm at gmail.com> wrote:
> The error seems to be triggered by this:
>
> ModemManagere[30896]: <debug> [1460023605.770238]
> [mm-port-probe-at.c:43] mm_port_probe_response_processor_is_at():
> Parsing AT got: 'Sending command failed: 'Resource temporarily
> unavailable''
>
> The following patch seems to solve the issue, but I'm not sure it is
> the right approach.
>
> ---
>  src/mm-port-probe-at.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/mm-port-probe-at.c b/src/mm-port-probe-at.c
> index 10cce9e..b9696f1 100644
> --- a/src/mm-port-probe-at.c
> +++ b/src/mm-port-probe-at.c
> @@ -46,7 +46,10 @@ mm_port_probe_response_processor_is_at (const gchar *command,
>           * they will just go on to the next command. */
>          if (g_error_matches (error,
>                               MM_SERIAL_ERROR,
> -                             MM_SERIAL_ERROR_RESPONSE_TIMEOUT)) {
> +                             MM_SERIAL_ERROR_RESPONSE_TIMEOUT) ||
> +            g_error_matches (error,
> +                             MM_SERIAL_ERROR,
> +                             MM_SERIAL_ERROR_SEND_FAILED)) {
>              return FALSE;
>          }

Any chance you can get the MM logs before commit
1939c5ace50240127276efacec5c7f166483bb79? That commit changed when the
serial completion was done (idle or not in idle); I believe your patch
is nowhere related to that issue, so that's why I ask. It is an
important thing to fix, we should get it right.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list