PinePhone modem keeps "disappearing"
#2
if the modem goes every 5 minutes then i start to suspect some failure, maybe in modem chip, or modem's software (firmware), or possible connection in mainboard.

modem has its own firmware, which might have become corrupted.

i think you should install firmware again, either stock or half-free sdk. however, i don't rule out that modem chip is faulty.

https://github.com/Biktorgj/quectel_eg25_recovery

https://github.com/the-modem-distro/pinephone_modem_sdk

however, i recommend setting modem's powersaving "on" in both stock rom and half-free sdk. following recommends it only for sdk.

https://github.com/the-modem-distro/pinephone_modem_sdk/blob/kirkstone/docs/SETTINGS.md

i have this following copy-paste to prevent some issues.

Code:
# example file location: /lib/udev/rules.d/98-prevent-bugs.rules

# prevent powersaving flipping frames bug
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"

# prevent frequency change flipping frames bug
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"

# prevent modem disappearings
ACTION!="add", GOTO="eg25_end-edit"
SUBSYSTEM!="usb", GOTO="eg25_end-edit"
DRIVER!="usb", GOTO="eg25_end-edit"
ENV{DEVTYPE}!="usb_device", GOTO="eg25_end-edit"

# NOT Default attributes values
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/control}="on"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/autosuspend_delay_ms}="3000"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/wakeup}="enabled"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/persist}="0"

LABEL="eg25_end-edit"
# end of modem disappearings

i have started to think there is some bad quality in cpu-gpu soc. mostly related to powersaving. some hardware related functions work randomly and unreliably. powersaving is issue for both gpu and modem, is that a coincidence.
  Reply


Messages In This Thread
RE: PinePhone modem keeps "disappearing" - by zetabeta - 01-18-2023, 02:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  my pinephone melted norayr 6 816 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,076 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  Supported Carrier and Modem Bands NachoMomma 4 1,573 03-23-2024, 02:00 PM
Last Post: Kevin Kofler
  various tricks to open the pinephone shengchieh 2 697 03-23-2024, 09:27 AM
Last Post: Ferriah
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 332 03-21-2024, 08:52 AM
Last Post: unrznbl
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 535 02-17-2024, 04:15 PM
Last Post: vortex
  pinephone keyboard + dock question tuxcall 7 2,778 02-05-2024, 03:17 PM
Last Post: wigan
  Unsatisfactory GPS reception on PinePhone? LinAdmin2 53 55,637 12-17-2023, 11:42 AM
Last Post: robin.com.au
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 1,380 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 970 10-23-2023, 02:49 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 1 Guest(s)