pmaports/device/main/device-purism-librem5/0001-librem5-pm.udev-disable-PM-for-broadmobi-modem.patch
Clayton Craft a5978b8561
device/purism-librem5: upgrade librem5-base to v56 (MR 3913)
Includes changes that might improve modem stability (with resetting,
that is...), and some ucm tweaks.

Changelog from upstream:
1b154d9316/debian/changelog

[ci:skip-build] already built successfully in CI
2023-03-02 09:12:12 -08:00

26 lines
1.2 KiB
Diff

From aea6d2c89ab1903fb05e8b7d5e9113a0a7999af7 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 17ff53f..35c6e50 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", ATTR{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", ATTR{idVendor}=="2020", ATTR{idProduct}=="2060", TEST=="power/autosuspend_delay_ms", ATTR{power/autosuspend_delay_ms}="1500"
# Cinterion PLS8
--
2.39.2