(fixed) LTE connectivity lost very often

I also see this issue - though I use mobian trixie. I will also try to turn off the usb sleep. Does it reduce battery life significantly? Can you still suspend the system?

1 Like

@Pirate_Praveen : It is not so significant, but I didn’t measure it properly.
I use system sleep (suspend to ram after 2 minutes, on battery).
I turned off the usb sleep 3 days ago with the command upper, and now everytime I wake up my phone, LTE is back online.
It is also really reliable when I use the phone as a usb network access for my laptop.
3 days without resetting the modem is a first :slight_smile:

3 Likes

I tried setting the delay to 2s and 5s without much change, so turned off auto suspend like you suggested.

1 Like

Turning off auto suspend did not solve the problem entirely and it created problems with suspend. After the phone resumes from suspend, it was not auto registering. So I switched back to auto mode and with 5000 ms auto suspend delay. It has reduced the frequency of physical resets required to a tolerable level.

1 Like

Maybe it depends on ISP ? I go on testing the on value for /sys/bus/usb/devices/1-1.2/power/control … One week later, no more problem.

Connectivity is up in two seconds after wakeup from suspend, and it never drops when using the librem5 as usb modem on my computer.
As soon as I got more time, I will do a power consumption test.

2 Likes

(After a few months)
I finally add a udev rule to set it definitly. the gain is greater than the (battery) pain.

Edit /etc/udev/rules.d/99-usb-modem-always-on.rules , add this line:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/control", ATTR{power/control}="on"

4 Likes

Update, my 34 year old computer now has a static IP and can be reached at empire.game-host.org, the old web page is back also.

3 Likes

That’s good news.

1 Like

You have the Broadmobi modem right?

1 Like

Yes, the BM818-E1, indeed. I never had time to measure the power consumption impact of this always on policy…

2 Likes

So rules should be the same for the US version of the card I assume

1 Like

It should be… Run lsusb to make sure that productID and vendorID are the same.

2 Likes

Understood

1 Like

How can I make it work under Mobian? I think that I have the same problem.

2 Likes

I never tried mobian, but it should be the same. udev is common between lots of linux.
Try sudo udevadm control --reload to force rules reload, flip the modem button off then on, wait a few seconds, and check with cat /sys/bus/usb/devices/1-1.2/power/control. It should now return “on”.

3 Likes

Thank you. I moved the file into /usr/lib/udev/rules.d, cat /sys/bus/usb/devices/1-1.2/power/control returns on.

P.S: It doesn’t solve my connectivity problem. cat /sys/bus/usb/devices/1-1.2/power/control still returns on, “4G” is displayed but I can’t use Internet, I can’t send SMS.

1 Like

What’s your provider? Are your APN settings set properly?

1 Like

My provider is Orange France and yes, my APN settings are correct as I can use Internet, send SMS and MMS for a few minutes after a reboot. I’m going to try other suggestions mentioned in this thread.

P.S: The workaround suggested by the original poster sudo mmcli -m any --reset works in my case… just for a few seconds :roll_eyes:

1 Like

Is that a direct provider or MVNO? Aalso, good luck with your hunt for a ssettings coombinaation that wootkks fooor you.

1 Like

It’s a direct provider. I’m surprised because the switching the power control from auto to on worked was enough to make things work on my Pinephones but not on the Librem 5.

2 Likes