samsung-serranove: add udev rule for modem (MR 2800)
Due to a regression in ModemManager 1.18.2, a special case to reduce facility lock query was implemented in ModemManager. Versions up to 1.18.6 need to be patched (separate merge request, possibly in Alpine Linux). For more details, see pmaports issue #1274. This udev rule makes use of this special case for device samsung-serranove.
This commit is contained in:
parent
ed89af7f94
commit
9abe7e28b2
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
# Tag wwan ports of device samsung-serranove to reduce the facility
|
||||||
|
# lock query by ModemManager, avoiding a QMI protocol error.
|
||||||
|
SUBSYSTEM=="wwan", ENV{ID_MM_QMI_FACILITY_LOCK_QUERY_REDUCED}="1"
|
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Minecrell <minecrell@minecrell.net>
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
||||||
pkgname=device-samsung-serranove
|
pkgname=device-samsung-serranove
|
||||||
pkgdesc="Samsung Galaxy S4 Mini Value Edition"
|
pkgdesc="Samsung Galaxy S4 Mini Value Edition"
|
||||||
pkgver=8
|
pkgver=9
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -13,6 +13,7 @@ depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="
|
source="
|
||||||
20-tm2-touchkey-input.rules
|
20-tm2-touchkey-input.rules
|
||||||
|
77-modem-samsung-serranove.rules
|
||||||
deviceinfo
|
deviceinfo
|
||||||
rootston.ini
|
rootston.ini
|
||||||
"
|
"
|
||||||
|
@ -36,6 +37,8 @@ package() {
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
|
install -Dm644 "$srcdir"/20-tm2-touchkey-input.rules \
|
||||||
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
|
"$pkgdir"/lib/udev/rules.d/20-tm2-touchkey-input.rules
|
||||||
|
install -Dm644 "$srcdir"/77-modem-samsung-serranove.rules \
|
||||||
|
"$pkgdir"/lib/udev/rules.d/77-modem-samsung-serranove.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
|
@ -56,6 +59,7 @@ phosh() {
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
|
5a91ca375652bc9d2af90db4f446176a4fd43b5c924362219f6bf35e76de818cb4ecce105ee56b4511c3c0882bd055615f409516fade6dfcd30642cc147c1c5a 20-tm2-touchkey-input.rules
|
||||||
|
4b747284acf73a401255093dfd7b6406fa8e3428307f031d39b1631d1a3ae6404789fc2dfff0cf2da6b2f0757071363cc70b4ef7d445c7b3c047b6feb88b9125 77-modem-samsung-serranove.rules
|
||||||
d666cf805d292d13d9e15a350b203580f016f455dad16cbc4a94471edb145fd464c5ad92a50077995234a9db1322e605e0294a6c5d7342fa6675b1bfec4eb69e deviceinfo
|
d666cf805d292d13d9e15a350b203580f016f455dad16cbc4a94471edb145fd464c5ad92a50077995234a9db1322e605e0294a6c5d7342fa6675b1bfec4eb69e deviceinfo
|
||||||
94c866b6583faadc4a96a4d737983ba7838ede52afa5e29e261ef0ad0f2afe29fd3b793c9208ae74c7d48db6b991ad21800b9e457fbba4c69ce9dec2cda268ea rootston.ini
|
94c866b6583faadc4a96a4d737983ba7838ede52afa5e29e261ef0ad0f2afe29fd3b793c9208ae74c7d48db6b991ad21800b9e457fbba4c69ce9dec2cda268ea rootston.ini
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue