~martijnbraam/almoports

a1b9f90871053b48e988d86317b877b51d1b42de — Oliver Smith 8 months ago bd1ee83
modem/msm-modem: increase timeout to 4 (MR 4153)

For a lot of people having the 1 second timeout results in not finding
the sim at all. Let's rather wait up to 4 seconds for the sim to appear,
it was reported that 3 is enough in a report where 1 wasn't.

Related: issue 2072
[ci:skip-build]: already built successfully in CI
2 files changed, 4 insertions(+), 4 deletions(-)

M modem/msm-modem/APKBUILD
M modem/msm-modem/msm-modem-uim-selection.confd
M modem/msm-modem/APKBUILD => modem/msm-modem/APKBUILD +2 -2
@@ 1,6 1,6 @@
pkgname=msm-modem
pkgver=7
pkgrel=1
pkgrel=2
pkgdesc="Common support for Qualcomm MSM modems"
url="https://postmarketos.org/"
arch="armhf armv7 aarch64"


@@ 40,7 40,7 @@ downstream() {

sha512sums="
3172f8c409f552f13d1da29f14ab6c79072cd6da4acab151a1a0ea1858a416974456852609f14fe29cf97a6a45e60b99d0a57ddcde751da243ee5ac6fa8b672c  msm-modem-downstream.initd
efbe0d23f2716e10f5ef0006c6eb21672a14e368ecceb74d296039bc539be2b35964af48efa0db69d0f410e7bee19ba0d69ab1ede43b9cfd443acde6997c8017  msm-modem-uim-selection.confd
abc985c76170601a22a1d5ab0c68bdf63fa2be2796593048ea3ba0d7e5cd26b2fcee2043703e46c2910c53b01e9e8092b7a8e715d57baf243a5f4612dd595443  msm-modem-uim-selection.confd
9c91febb48409e574695bb04c989b361db9f7678321c6935772c19efae7dd16956bd4b91143b475adf898344225d4095448b95ccb824ced305966ea96b9ae32f  msm-modem-uim-selection.initd
2a511c2e249d0ec5a52f04ffe1ef3d29cf3c4813143b103e54879ff89176ea45b1a5ffe21cb7dc2f1cdd84c3102ba45ef9926ed37e00b1ae12a36d01de35ea5a  udev-downstream.rules
"

M modem/msm-modem/msm-modem-uim-selection.confd => modem/msm-modem/msm-modem-uim-selection.confd +2 -2
@@ 1,6 1,6 @@
# Maximum time to wait for SIM card to appear after starting the modem.
# Some SIM cards or modem firmwares might take longer to initialize. :(
# To avoid blocking boot without a SIM card for too long this is fairly short
# by default (1 second), but you can increase it to e.g. 30 seconds if necessary.
# by default (4 seconds), but you can increase it to e.g. 30 seconds if necessary.
# Set to 0 to disable waiting entirely.
sim_wait_time=1
sim_wait_time=4