Howto - automatically recover your modem and mobile data after deep sleep
#2
I have been using script that does "echo 0 > /sys/class/modem-power/modem-power/device/powered" to stop modem and then echo 1 to start it, just manually in case data stops working.

But having it restored to working state automatically is better, i will test and see how well your script works.

Edit: I have been testing this script on both mobian and arch, it does work so that makes it better but i have seen modem actually completely disappear, in that case running my script manually restores it to working state.
  Reply


Messages In This Thread
RE: Howto - automatically recover your modem and mobile data after deep sleep - by Ph42oN - 11-23-2020, 05:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  troubleshooting sleep/wake button on trixie biketool 5 546 05-04-2025, 08:11 PM
Last Post: Kevin Kofler
  Logging modem dialout attempts biketool 2 321 04-11-2025, 02:47 AM
Last Post: vusra
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 7 2,259 02-20-2025, 02:47 PM
Last Post: puffchumpy
  Modem wakes for incoming call, but too slow to answer the call dchang0 8 1,494 12-01-2024, 07:54 PM
Last Post: dchang0
  Mobile internet via cellular network mostly not working Anna 18 16,366 01-19-2024, 02:59 AM
Last Post: anonymous
  MODEM - Usb problem & couldn't query SIM slots: QMI protocol freelectro 5 5,798 06-06-2023, 06:36 AM
Last Post: freelectro
  4G data on default startup / boot dcinoz 1 1,561 04-29-2023, 11:24 PM
Last Post: dcinoz
  ModemManager debug mode? (Needed to flash modem) calinb 1 2,208 02-27-2023, 04:18 PM
Last Post: calinb
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 2,864 01-07-2023, 09:36 AM
Last Post: dcarvil
Exclamation No modems were found: No mobile data, no 2G anonymous 2 2,518 12-26-2022, 06:46 PM
Last Post: anonymous

Forum Jump:


Users browsing this thread: 1 Guest(s)