MODEM - Usb problem & couldn't query SIM slots: QMI protocol
#1
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
  Reply
#2
(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
  Reply
#3
(03-07-2023, 04:33 PM)dcarvil Wrote:
(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

Actually they are looking for https://github.com/the-modem-distro/pinephone_modem_sdk. The link you mentioned explains how to update the stock firmware. The wiki needs to be updated.
  Reply
#4
(03-07-2023, 05:33 PM)fxc Wrote:
(03-07-2023, 04:33 PM)dcarvil Wrote:
(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

Actually they are looking for https://github.com/the-modem-distro/pinephone_modem_sdk. The link you mentioned explains how to update the stock firmware. The wiki needs to be updated.



I have used this pinephone_modem_sdk with this method.

This upgrade fix SIM problem ! Great.



1-Flash latest ADSP firmware version 30.006.30.006
******************************************


Code:
*check version en mode firmware stock -> AT+QGMR

sudo mmcli -m 10 --firmware-status

version: EG25GGBR07A08M2G_01.002.01.002

https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_30.006.30.006/update/NON-HLOS.ubi

*Flash
sudo -s
echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
exit
fastboot flash modem NON-HLOS.ubi && fastboot reboot



2-Flashed latest Modem firmware version 0.7.4
**************************************


Code:
sudo -s

apt install android-tools-fastboot
apt install fastboot

wget https://github.com/the-modem-distro/pinephone_modem_sdk/releases/download/0.7.4/package.tar.gz

tar xzvf package.tar.gz

./flashall
  Reply
#5
(03-08-2023, 03:17 AM)freelectro Wrote:
(03-07-2023, 05:33 PM)fxc Wrote:
(03-07-2023, 04:33 PM)dcarvil Wrote:
(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

Actually they are looking for https://github.com/the-modem-distro/pinephone_modem_sdk. The link you mentioned explains how to update the stock firmware. The wiki needs to be updated.



I have used this pinephone_modem_sdk with this method.

This upgrade fix SIM problem ! Great.



1-Flash latest ADSP firmware version 30.006.30.006
******************************************


Code:
*check version en mode firmware stock -> AT+QGMR

sudo mmcli -m 10 --firmware-status

version: EG25GGBR07A08M2G_01.002.01.002

https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_30.006.30.006/update/NON-HLOS.ubi

*Flash
sudo -s
echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
exit
fastboot flash modem NON-HLOS.ubi && fastboot reboot



2-Flashed latest Modem firmware version 0.7.4
**************************************


Code:
sudo -s

apt install android-tools-fastboot
apt install fastboot

wget https://github.com/the-modem-distro/pinephone_modem_sdk/releases/download/0.7.4/package.tar.gz

tar xzvf package.tar.gz

./flashall

thank you so much!
  Reply
#6
Nice !
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,245 08-31-2023, 12:38 PM
Last Post: vusra
  ModemManager debug mode? (Needed to flash modem) calinb 1 1,632 02-27-2023, 04:18 PM
Last Post: calinb
  Battery problem with a Pinephone keyboard and Mobian elode 2 2,740 12-22-2022, 07:10 PM
Last Post: acid andy
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,341 09-23-2022, 05:15 AM
Last Post: biketool
  Problem updating gilwood 5 4,087 06-09-2022, 08:27 AM
Last Post: gilwood
  Gnome Web CSS problem? jojuma 0 1,022 05-27-2022, 11:43 AM
Last Post: jojuma
  Problem with wifi kubussz 0 1,063 04-02-2022, 12:57 PM
Last Post: kubussz
  Phosh modem on/off effectiveness? Zebulon Walton 0 1,171 01-24-2022, 09:21 AM
Last Post: Zebulon Walton
  Mobian MMS/SMS text problem bcnaz 15 14,751 12-04-2021, 02:41 AM
Last Post: bcnaz
  Modem suddenly not enabled when booting from eMMC Zebulon Walton 3 3,232 10-23-2021, 01:55 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)