Re: Upgrade to version 1.32 broken 4G LTE connection

2021-11-25 Thread Denis Kenzior

Hi Jupiter,

On 11/25/21 12:15 AM, Jupiter wrote:

Hi,

Could anyone advise why the dbus worked fine in 1.30 but it is no
longer working in 1.32? Are there any changes in API?


1.30 is about 2 years old now.  But I don't recall any API changes.  Mostly bug 
fixes and driver improvements.




# dbus-send --system --print-reply --dest=org.ofono /
org.ofono.Manager.GetModems
method return time=1628092736.610971 sender=:1.269 ->
destination=:1.278 serial=7 reply_serial=2
array [
]



Hard to say without seeing ofono logs.  Looks like no modems are detected, which 
could be due to kernel changes, etc.


Regards,
-Denis
___
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org


Re: Upgrade to version 1.32 broken 4G LTE connection

2021-11-24 Thread Jupiter
Hi,

Could anyone advise why the dbus worked fine in 1.30 but it is no
longer working in 1.32? Are there any changes in API?

# dbus-send --system --print-reply --dest=org.ofono /
org.ofono.Manager.GetModems
method return time=1628092736.610971 sender=:1.269 ->
destination=:1.278 serial=7 reply_serial=2
   array [
   ]

It is wired. I can run AT command to find that the modem is connected
and assigned an IP address, but I think that dbus is broken, and ofono
won't be able to provide LTE connection to connman.
Thank you.

- JH


On 11/24/21, Jupiter  wrote:
> Hi,
>
> I built ofono version 1.30 in Zeus, it worked well for connecting to
> 4G LTE. I've just updated to Honister, the ofono version is now 1.32,
> it completely broken, no wwan0 interface:
>
> # ifconfig
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   UP LOOPBACK RUNNING  MTU:65536  Metric:1
>   RX packets:1540 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:1540 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:98308 (96.0 KiB)  TX bytes:98308 (96.0 KiB)
>
>
> I tried dbus command:
>
> # dbus-send --system --print-reply --dest=org.ofono /
> org.ofono.Manager.GetModems
> method return time=1628090432.089231 sender=:1.63 -> destination=:1.68
> serial=7 reply_serial=2
>array [
>   ]
>
> # journalctl -u ofono
> -- Journal begins at Wed 2021-08-04 15:10:56 UTC, ends at Wed
> 2021-08-04 15:27:35 UTC. --
> Aug 04 15:11:17 solar systemd[1]: Starting Telephony service...
> Aug 04 15:11:18 solar ofonod[179]: oFono version 1.32
> Aug 04 15:11:18 solar systemd[1]: Started Telephony service.
> Aug 04 15:12:39 solar ofonod[179]: Terminating
> Aug 04 15:12:39 solar ofonod[179]: Exit
> Aug 04 15:12:39 solar systemd[1]: Stopping Telephony service...
> Aug 04 15:12:39 solar systemd[1]: ofono.service: Deactivated successfully.
> Aug 04 15:12:39 solar systemd[1]: Stopped Telephony service.
> Aug 04 15:12:39 solar systemd[1]: Starting Telephony service...
> Aug 04 15:12:40 solar ofonod[1671]: oFono version 1.32
> Aug 04 15:12:40 solar systemd[1]: Started Telephony service.
> Aug 04 15:13:39 solar ofonod[1671]: Terminating
> Aug 04 15:13:39 solar ofonod[1671]: Exit
>
> But ofono seems running well:
>
> # systemctl status ofono -l
> * ofono.service - Telephony service
>  Loaded: loaded
> (8;;file://solar/lib/systemd/system/ofono.service/lib/systemd/system/ofono.service8;;;
> enabled; vendor preset: enabled)
>  Active: active (running) since Wed 2021-08-04 15:28:35 UTC; 33s ago
>Main PID: 9226 (ofonod)
>  CGroup: /system.slice/ofono.service
>  `-9226 /usr/sbin/ofonod -n
>
> Aug 04 15:28:34 solar systemd[1]: Starting Telephony service...
> Aug 04 15:28:35 solar ofonod[9226]: oFono version 1.32
> Aug 04 15:28:35 solar systemd[1]: Started Telephony service.
>
> I tried to run the AT command on the 4G LTE modem, I could see the
> modem was connected well with the IP address.
>
> Are you aware of any issues in ofono version 1.32? Or are there any
> changes or dbus APIs since ofono 1.30?
>
> Thank you.
>
> Kind regards,
>
> - JH
>


--
"A man can fail many times, but he isn't a failure until he begins to
blame somebody else."
-- John Burroughs
___
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org