8e080015d7
Newer Qualcomm SoCs (e.g. SDM845. MSM8953) seem to use a different method to talk to the modem. There are no longer separate rpmsg/SMD channels for QMI messags, instead the modem is also available through QRTR. On these newer SoCs, installing msm-modem-mainline is pointless, because the created /dev/modem device will not actually allow communicating with the modem. However, you still need the part from the base package (msm-modem), which installs+enables rmtfs. To avoid confusion, rename the msm-modem-mainline subpackage to msm-modem-rpmsg. Install only "msm-modem" on SDM845 because that likely does not allow communication with the modem through RPMSG anyway.
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
pkgname=soc-qcom-msm8916
|
|
pkgdesc="Common package for Qualcomm MSM8916 devices"
|
|
pkgver=7
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="BSD-3-Clause"
|
|
arch="aarch64 armv7"
|
|
options="!check !archcheck !tracedeps pmb:cross-native"
|
|
depends="alsa-ucm-conf mesa-dri-gallium"
|
|
subpackages="$pkgname-modem"
|
|
|
|
_ucm_commit="cd0962fe12ae6ed49dcfff252d007a49bde867bd"
|
|
source="$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8916-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
|
|
q6voiced.conf
|
|
"
|
|
|
|
package() {
|
|
cd "$srcdir/alsa-ucm-conf-$_ucm_commit"/ucm2
|
|
find bq-paella msm8916 samsung-a2015 samsung-gt510 codecs/msm8916-wcd platforms/msm8916 \
|
|
-type f -name "*.conf" \
|
|
-exec install -Dm644 {} "$pkgdir"/usr/share/alsa/ucm2/{} \;
|
|
}
|
|
|
|
modem() {
|
|
depends="msm-modem-rpmsg q6voiced"
|
|
install="$subpkgname.post-install"
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
|
}
|
|
|
|
sha512sums="ebcfb41ca009540c8b958d94872538e97e12f4360e5f5fe76093ad8db4cc0dc319ef3c86b8b263be2a3985290d5e9e3214fd07c0a5f942229c3a2ebe80a6381a soc-qcom-msm8916-cd0962fe12ae6ed49dcfff252d007a49bde867bd.tar.gz
|
|
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf"
|