device-purism-librem5: add fw to nonfree subpackage, re-enable modem PM (MR 3066)

This commit is contained in:
Clayton Craft 2022-04-08 15:04:37 -07:00 committed by Alexey Minnekhanov
parent e8a268df68
commit f5c79dd7b3
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF
2 changed files with 2 additions and 30 deletions

View file

@ -1,26 +0,0 @@
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

View file

@ -3,7 +3,7 @@
# Co-Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=device-purism-librem5
pkgdesc="Purism Librem 5 Phone"
pkgver=1.31
pkgver=1.32
pkgrel=0
_confver=49
_purismrel=1
@ -41,7 +41,6 @@ source="
uboot-script.cmd
xorg.conf
70-librem5-xwayland-accel.sh
0001-librem5-pm.udev-disable-PM-for-broadmobi-modem.patch
0002-udev-cameras-use-correct-path-for-modprobe-on-Alpine.patch
"
subpackages="
@ -139,7 +138,7 @@ package() {
nonfree_firmware() {
pkgdesc="Wifi and Bluetooth firmware"
depends="firmware-siliconlabs-rs9116"
depends="firmware-siliconlabs-rs9116 firmware-brcm43752"
mkdir "$subpkgdir"
}
@ -158,6 +157,5 @@ a0740e405781ec6ef765fdc9f5700c95adbb241c45c97b9384ba68cdece662cb216ca5918640042f
6971669a7ae4206f6d38f5050747ebc9ffb591a92921a00623e20bb9369ed25d6168dba719de0abec900f1dc5f2f02089a05b5f4e871d6a7cee5afcf38c581fc uboot-script.cmd
1cbc65cf2cb8fad4b0332d012a0256a266205b9b64371f5c0dae09dbb7f1e45b254e8c43993b896097e9d7035a72d547d9bce1ab2133addc56a5abdb80b44616 xorg.conf
fad386071fc45f9880a94cc8004fabd5d98b3e6a12606c98d8e72e0208f22ab54f03b921f5967a959782507e2bff67d2fa92e46d8cd242011a3afcdbda529279 70-librem5-xwayland-accel.sh
f535b43b8defe75e72049e4eee181bfe821f6304a096413bccf6d08c8bb11b947fa1fee305af85616abd778745fadd52ebd610c2d135a4f907915b99ab2c526a 0001-librem5-pm.udev-disable-PM-for-broadmobi-modem.patch
b45749fcddfd65a302b502bcabfa5828d1b63e45d844fd50e44009a756b919db20fe9526102947c0f0dfcdffe4a037e5050fe1b24fb915933ce0837f49759378 0002-udev-cameras-use-correct-path-for-modprobe-on-Alpine.patch
"