03-07-2023, 04:33 PM
(03-07-2023, 02:46 AM)freelectro Wrote: Hi all,
When my pinephone wake up after sleeping period, i have noticed this problems.
-network manager in app parameters disappear.
-network icon not present on left top side
After Few seconds of wake up, all reappear and my SIM is locked.
This logs can be the cause, particulary "06:30:48" line "couldn't query SIM slots: QMI protocol error (94): 'NotSupported'".
Code:06:30:44 eg25-manager[578]: Successfully reset modem's USB connection
06:30:46 ModemManager[616]: <info> [device /sys/devices/platform/soc/1c1b000.usb/usb1/1-1] creating modem with plugin 'quectel' and '6' ports
06:30:46 ModemManager[616]: <info> [base-manager] modem for device '/sys/devices/platform/soc/1c1b000.usb/usb1/1-1' successfully created
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load carrier config: Operation timed out
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load hardware revision: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load equipment identifier: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load device identifier: Modem interface skeleton unavailable
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load supported bands: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load power state: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load current allowed/preferred modes: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't load current bands: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] (quectel) failed to initialize SIM hot swap ports context: Couldn't get primary port
06:30:48 ModemManager[616]: <warn> [modem8] couldn't query SIM slots: Couldn't peek QMI port
06:30:48 ModemManager[616]: <warn> [modem8] modem couldn't be initialized: Couldn't check unlock status: Couldn't get interface skeleton
06:30:48 ModemManager[616]: <warn> [modem8] error initializing: Operation was cancelled
06:30:48 ModemManager[616]: <warn> [modem9] couldn't query SIM slots: QMI protocol error (94): 'NotSupported'
06:30:49 ModemManager[616]: <info> [modem9] state changed (unknown -> locked)
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load IMSI: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load operator identifier: Couldn't get home network: QMI protocol error (37): 'UimUninitialized'
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load operator name: Couldn't get home network: QMI protocol error (37): 'UimUninitialized'
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load list of preferred networks: Couldn't get preferred networks: QMI protocol error (37): 'UimUninitialized'
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load GID1: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
06:30:49 ModemManager[616]: <warn> [modem9/sim7] couldn't load GID2: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
06:30:49 ModemManager[616]: <warn> [modem9] couldn't load list of own numbers: Couldn't get MSISDN: QMI protocol error (37): 'UimUninitialized'
06:30:49 ModemManager[616]: <warn> [modem9] error initializing: Modem is currently locked, cannot fully initialize
06:30:49 eg25-manager[578]: ModemManager object `/org/freedesktop/ModemManager1/Modem/9' added
How fix this problem ?
Second thing, today we have talking about me on IRC channel about usb issue problem with modem.
Seems to be the same problem which can be resolved with flash the FOSS firmware modem ! This can be the solution ?
But i don't know the URL of this FOSS firmware modem.
Code:06:30:40 kernel: sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz
06:30:40 kernel: musb-sunxi 1c19000.usb: sunxi-musb does not have ULPI bus control register
06:30:40 kernel: usb 1-1: PM: dpm_run_callback(): usb_dev_resume+0x0/0x20 returns -5
06:30:40 kernel: usb 1-1: PM: failed to resume async: error -5
06:30:40 kernel: OOM killer enabled.
06:30:40 kernel: Restarting tasks ...
06:30:40 kernel: usb 1-1: USB disconnect, device number 5
06:30:40 kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
06:30:40 kernel: option 1-1:1.0: device disconnected
06:30:40 kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
06:30:40 kernel: option 1-1:1.1: device disconnected
06:30:40 systemd-journald[399]: Retention time reached, rotating.
06:30:40 kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
06:30:40 kernel: option 1-1:1.2: device disconnected
06:30:40 kernel: option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
06:30:40 kernel: option 1-1:1.3: device disconnected
06:30:40 kernel: qmi_wwan 1-1:1.4 wwan0: unregister 'qmi_wwan' usb-1c1b000.usb-1, WWAN/QMI device
06:30:40 kernel: done.
06:30:40 kernel: PM: suspend exit
06:30:40 kernel: usb 1-1: new high-speed USB device number 6 using ehci-platform
06:30:40 kernel: usb 1-1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
06:30:40 kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
06:30:40 kernel: usb 1-1: Product: EG25-G
06:30:40 kernel: usb 1-1: Manufacturer: Quectel
06:30:40 kernel: option 1-1:1.0: GSM modem (1-port) converter detected
06:30:40 kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
06:30:40 kernel: option 1-1:1.1: GSM modem (1-port) converter detected
06:30:40 kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
06:30:40 kernel: option 1-1:1.2: GSM modem (1-port) converter detected
06:30:40 kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
06:30:40 kernel: option 1-1:1.3: GSM modem (1-port) converter detected
06:30:40 kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
06:30:40 kernel: qmi_wwan 1-1:1.4: cdc-wdm0: USB WDM device
06:30:40 kernel: qmi_wwan 1-1:1.4 wwan0: register 'qmi_wwan' at usb-1c1b000.usb-1, WWAN/QMI device, XX:XX:XX:XX:XX:XX
Thanks a lot for advices
Is this the modem firmware you are looking for? https://wiki.pine64.org/wiki/PinePhone#Firmware_update