You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the PinePhone's Quectel modem stores some configuration information (QCFG) persistently inside the modem. Moreover, some settings - in particular the "usbnet" mode - cannot simply be changed at runtime but require the reboot of the modem to become effective.
Upon the start of Genode's modem driver, the driver cannot assume that the modem's current settings are consistent with the expectations of the driver. For example, for mobile-data connectivity, we need to ensure that the modem's "usbnet" setting is set to "1" (ECM mode).
Consequently, we need the ability to dynamically validate and - if needed - adjust persistent modem settings, and to schedule the reboot of the modem after such modifications.
The text was updated successfully, but these errors were encountered:
QCFG settings - such as the usbnet mode of operation - happen to be
stored persistently on the modem. When starting the modem driver, it
cannot assume the current settings to be compatible with the driver's
assumptions (e.g., that the modem appears as USB ECM device).
Unfortunately, the intuitive approach of unconditionally setting the
driver's desired values at start time is not practical become certain
settings ("usbnet") require a modem reboot in order to become effective.
This patch extends the AT protocol implementation with the support for
the validation and - if needed - adjustment of QCFG settings. At start,
the driver queries the current settings and compares them to the desired
values. Mismatching values are re-assigned to the desired values. Once
this QCFG value synchronization is complete, a modem reboot is scheduled
if any value was changed.
Fixes#7
Unfortunately, the PinePhone's Quectel modem stores some configuration information (QCFG) persistently inside the modem. Moreover, some settings - in particular the "usbnet" mode - cannot simply be changed at runtime but require the reboot of the modem to become effective.
Upon the start of Genode's modem driver, the driver cannot assume that the modem's current settings are consistent with the expectations of the driver. For example, for mobile-data connectivity, we need to ensure that the modem's "usbnet" setting is set to "1" (ECM mode).
Consequently, we need the ability to dynamically validate and - if needed - adjust persistent modem settings, and to schedule the reboot of the modem after such modifications.
The text was updated successfully, but these errors were encountered: