Re: Pinephone Issue in 2.13
Denis Kenzior <[email protected]>
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
Hi Adam, On 11/28/24 11:41 AM, Adam Pigg wrote: > Hi Dennis > > Myself and some users have an issue since upgrading from 2.12 to 2.13. > 2.13 added multiple simultaneous data bearer support, but they should have been backwards compatible with those devices that don't support them. Guess I broke something :) Sorry about that. > The logs on my own PP and PPP, and from another users PPP show the following > code path, with the device being shut down: > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:discover_cb() > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:create_wda_cb() > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:set_data_format_cb() > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:set_data_format_cb() > Trying next data format > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:set_data_format_cb() > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:set_data_format_cb() > Trying next data format > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:set_data_format_cb() > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:shutdown_device() > 0x2088ba20 > Nov 28 17:35:59 PinePhone ofonod[2557]: plugins/gobi.c:shutdown_cb() What oFono tries to do is to cycle through three currently supported data formats: - RAW_IP + QMAPv5 -> this enables multiple simultaneous bearer support. There's also in theory RAW_IP + QMAPv4, but I don't have any devices that only support this format. - RAW_IP -> Single context, no 802.3 framing overhead - 802.3 -> Supported by really old Qualcomm devices. Looks like the firmware is rejecting every single format we try to set it into. Do you know what format PinePhone uses? Do you have libqmi / qmicli installed on the PinePhone to run some commands? Something like: qmicli --device=/dev/cdc-wdm0 --wda-get-data-format=ep-type=hsusb,ep-iface-number=<InterfaceNumber> where InterfaceNumber is what is being passed to gobi plugin from udevng inside the "InterfaceNumber" modem property. For oFono 2.12, what do the contents of /sys/class/net/<netif>/qmi/raw_ip and /sys/class/net/<netif>/qmi/pass_through look like? <netif> in this case is the QMI wwan network device, something like wwan0. Regards, -Denis