Re: [PATCH] qmi: Allow qmi_qmux_device_discover be called from callback

Denis Kenzior <[email protected]>
Newsgroups dev.linux.lists.ofono
Message-ID <[email protected]>
Hi Adam,

> 
> This certainly seems to improve the situation.  what happens now on boot is
> that the driver loads Ok, the UI shows the signal strength for a few seconds,
> but then appears to go to an unregistered state, which is supported by the
> logs below.  When I restart ofono, it seems to work fine, this log is also
> below.

 From the first part of the log:
Jul 30 10:44:40 PinePhone ofonod[2543]: src/gprs.c:registration_status_cb() /
quectelqmi_0 error 0 status 1
Jul 30 10:44:40 PinePhone ofonod[2543]: src/gprs.c:ofono_gprs_status_notify()
/quectelqmi_0 status registered (1)
...
Jul 30 10:44:40 PinePhone ofonod[2543]: src/
network.c:ofono_netreg_status_notify() /quectelqmi_0 status 1 tech 7 lac 11016
ci -1

Looks like we're registered at this point.  Then:
Jul 30 10:44:41 PinePhone ofonod[2543]: src/gprs.c:ofono_gprs_status_notify()
/quectelqmi_0 status unregistered (0)
...
Jul 30 10:44:57 PinePhone ofonod[2543]: src/gprs.c:ofono_gprs_status_notify()
/quectelqmi_0 status unregistered (0)
Jul 30 10:44:57 PinePhone ofonod[2543]: src/gprs.c:netreg_status_changed() 0
(unregistered)

Then you restart oFono.  I'm not really sure why the firmware says it isn't 
registered?  You haven't observed this before on boot?

Regards,
-Denis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.