purism-librem5: disable PM for the broadmobi modem (MR 2259)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/303. It seems worth sacrificing some power savings for a modem that won't disappear, at least until the above issue is fixed. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
8479d2376f
commit
0582513c46
2 changed files with 29 additions and 1 deletions
|
@ -0,0 +1,26 @@
|
|||
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
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Co-Maintainer: Bhushan Shah <bshah@kde.org>
|
||||
pkgname=device-purism-librem5
|
||||
pkgdesc="Purism Librem 5 Phone"
|
||||
pkgver=1.20
|
||||
pkgver=1.21
|
||||
pkgrel=0
|
||||
_confver=36
|
||||
_purismrel=1
|
||||
|
@ -40,6 +40,7 @@ source="
|
|||
pcscd-librem5.initd
|
||||
uboot-script.cmd
|
||||
xorg.conf
|
||||
0001-librem5-pm.udev-disable-PM-for-broadmobi-modem.patch
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-phosh
|
||||
|
@ -141,4 +142,5 @@ a0740e405781ec6ef765fdc9f5700c95adbb241c45c97b9384ba68cdece662cb216ca5918640042f
|
|||
2618b40eebd3602066ee75ab85cbdbb4cfee498def9879c95a304f05a6eeedf1ab28c5dd9fa5efc8f88c790f49c96458c61d5dfe8a3ca0f96bcc0e244313ab01 pcscd-librem5.initd
|
||||
aa06920d47ca3781d76473a8a4efebd243ebb1c1d81e1714ef5ade3fed91e0a7a7113e5fa00c7c77163556745962e57102469517f9ea3ad868bc4033387bf428 uboot-script.cmd
|
||||
1cbc65cf2cb8fad4b0332d012a0256a266205b9b64371f5c0dae09dbb7f1e45b254e8c43993b896097e9d7035a72d547d9bce1ab2133addc56a5abdb80b44616 xorg.conf
|
||||
f535b43b8defe75e72049e4eee181bfe821f6304a096413bccf6d08c8bb11b947fa1fee305af85616abd778745fadd52ebd610c2d135a4f907915b99ab2c526a 0001-librem5-pm.udev-disable-PM-for-broadmobi-modem.patch
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue