e1efe18136
According to https://source.puri.sm/Librem5/linux/-/issues/303#note_160864 enabling the modem power management results in a unreliable modem, but more power savings. With power management on the modem can disconnect at any time, including during calls. This makes the Librem 5 a very bad phone. Instead let's ensure it works as a phone with a semi-reliable modem (there is still the sleep/resume issue https://source.puri.sm/Librem5/linux/-/issues/423) at the cost of battery life. As the Librem5's battery life is already poor, a little bit worse isn't much different. Either way you need an external battery pack. Signed-off-by: Alistair Francis <alistair@alistair23.me> [ci:skip-build] already built successfully in CI
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
From 1b280dda3734d42b02474a0628314afc58c2065f Mon Sep 17 00:00:00 2001
|
|
From: Clayton Craft <clayton@craftyguy.net>
|
|
Date: Thu, 17 Jun 2021 16:59:55 -0700
|
|
Subject: [PATCH] librem5-pm.udev: disable PM for broadmobi modem
|
|
|
|
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/303
|
|
---
|
|
debian/librem5-base-defaults.librem5-pm.udev | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/debian/librem5-base-defaults.librem5-pm.udev b/debian/librem5-base-defaults.librem5-pm.udev
|
|
index dc005bb..6abdb10 100644
|
|
--- a/debian/librem5-base-defaults.librem5-pm.udev
|
|
+++ b/debian/librem5-base-defaults.librem5-pm.udev
|
|
@@ -9,7 +9,7 @@ DEVPATH=="/devices/platform/soc@0/38100000.usb", TEST=="power/control", ATTR{pow
|
|
### Enable power management for internal USB devices:
|
|
|
|
# Broadmobi BM818
|
|
-SUBSYSTEM=="usb", ATTRS{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/control", ATTR{power/control}="auto"
|
|
+SUBSYSTEM=="usb", ATTRS{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/control", ATTR{power/control}="on"
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/autosuspend_delay_ms", ATTR{power/autosuspend_delay_ms}="2000"
|
|
|
|
# Cinterion PLS8
|
|
--
|
|
2.32.0
|
|
|