LE910 (used with qmi generic) not working anymore with 1.6-rc2
Daniele Palmas
dnlplm at gmail.com
Fri Apr 8 12:20:28 UTC 2016
Hi Aleksander,
2016-04-08 13:11 GMT+02:00 Aleksander Morgado <aleksander at aleksander.es>:
> 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.
>
the error seems to appear also with no modem attached.
I have the following logs:
commit: 1939c5ace50240127276efacec5c7f166483bb79
no modem attached
http://pastebin.com/LysiMzLz
commit: 1939c5ace50240127276efacec5c7f166483bb79
le910 attached
mm_1939c5ace50240127276efacec5c7f166483bb79_le910
http://pastebin.com/qsLfw1st
commit: d9596587e294ffde715fb2a7ef877da9f903558a (port-serial: allow
completions not in idle)
le910 attached
mm_d9596587e294ffde715fb2a7ef877da9f903558a_le910
http://pastebin.com/GQKBHZqe
Thanks,
Daniele
> --
> Aleksander
> https://aleksander.es
More information about the ModemManager-devel
mailing list