After forced system reboot while in plane mode, qpe now cannot start again, and gets restarted in a loop, asserting every time:
ASSERT: "level == QPhoneRfFunctionality::Full || level == QPhoneRfFunctionality::DisableTransmitAndReceive" in file .../src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 348
Aborted
Adding a trace shows that "level" is indeed 0 (aka QPhoneRfFunctionality::Minimum).
If I comment the assert out, qpe boots a bit further, allowing to enter PIN code, but then fails on another assert:
ASSERT: "QPhoneRfFunctionality::DisableTransmitAndReceive == d->m_rfFunc->level()" in file /work/yann/freerunner/qtmoko/qtmoko-i18n/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 829
Looks like ::Minimum is really not supported. However, the only use of it is found in fsorffunctionality.cpp. But 0 also appears to be the default value for QPhoneRfFunctionality, since the ctor does not set an explicit value.
Questions arise:
any reason why there is no specific "unset == 0" in this enum ?
my problem surely comes from nobody calling setLevel() - so who is it calling this method in normal operation ?
I also attempted to locate a place where the airplane override state of the current profile would be stored in the filesystem, as noted on IRC the other day, but could not find anything. Hints welcome :)
Hm - after breaking my /opt/qtmoko with libs mismatches, and upgrading to v44, there is no more problem. In fact, maybe I had broken things myself beforehand with partial upgrades of locally-built binaries...
After forced system reboot while in plane mode, qpe now cannot start again, and gets restarted in a loop, asserting every time:
ASSERT: "level == QPhoneRfFunctionality::Full || level == QPhoneRfFunctionality::DisableTransmitAndReceive" in file .../src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 348 Aborted
Adding a trace shows that "level" is indeed 0 (aka QPhoneRfFunctionality::Minimum). If I comment the assert out, qpe boots a bit further, allowing to enter PIN code, but then fails on another assert:
ASSERT: "QPhoneRfFunctionality::DisableTransmitAndReceive == d->m_rfFunc->level()" in file /work/yann/freerunner/qtmoko/qtmoko-i18n/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 829
Looks like ::Minimum is really not supported. However, the only use of it is found in fsorffunctionality.cpp. But 0 also appears to be the default value for QPhoneRfFunctionality, since the ctor does not set an explicit value.
Questions arise:
I also attempted to locate a place where the airplane override state of the current profile would be stored in the filesystem, as noted on IRC the other day, but could not find anything. Hints welcome :)