From 33a46b86db1ada4dd78e6617d29b9574f129a6ca Mon Sep 17 00:00:00 2001 From: lambdadroid Date: Sun, 8 Dec 2019 22:38:52 +0100 Subject: [PATCH] modem/modem-qcom-msm-mainline-common: recognize hexagon remoteproc (!799) At the moment, only "modem" is detected as rpmsg name. On MSM8916 the audio DSP and modem are both on the same remote processor ("hexagon"). Add it to the udev rule so the modem symlink is created on MSM8916. --- modem/modem-qcom-msm-mainline-common/APKBUILD | 4 ++-- modem/modem-qcom-msm-mainline-common/udev.rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modem/modem-qcom-msm-mainline-common/APKBUILD b/modem/modem-qcom-msm-mainline-common/APKBUILD index b834ad58c..7a7d610f3 100644 --- a/modem/modem-qcom-msm-mainline-common/APKBUILD +++ b/modem/modem-qcom-msm-mainline-common/APKBUILD @@ -1,6 +1,6 @@ pkgname=modem-qcom-msm-mainline-common pkgver=0.1 -pkgrel=2 +pkgrel=3 pkgdesc="Common support for Qualcomm MSM modems on the mainline kernel" url="https://postmarketos.org/" arch="armhf armv7 aarch64" @@ -15,4 +15,4 @@ package() { install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/55-$pkgname.rules" } -sha512sums="f1807844c2f685d99d71a02c0b793cea04b242db27f43259a7d9156b9bec27328e34f323a91afaee0a14a6df6232f678009e6499f3b0ede43cad3351ccadb77d udev.rules" +sha512sums="f842f617c441b8e6c1f8a7802792f5dfc22ab92216641f54e1a1fb8faec00a78b473baf02ef85b6ec295a88aa89a25325479380e1e65db62be879064782790ab udev.rules" diff --git a/modem/modem-qcom-msm-mainline-common/udev.rules b/modem/modem-qcom-msm-mainline-common/udev.rules index 023320e63..a2108f696 100644 --- a/modem/modem-qcom-msm-mainline-common/udev.rules +++ b/modem/modem-qcom-msm-mainline-common/udev.rules @@ -5,7 +5,7 @@ ATTR{name}=="DATA5_CNTL", SYMLINK+="modem" # open SMD channels when the remoteproc comes up KERNEL!="rpmsg_ctrl[0-9]*", GOTO="qcom_rpmsg_end" -ATTRS{rpmsg_name}!="modem", GOTO="qcom_rpmsg_end" +ATTRS{rpmsg_name}!="modem|hexagon", GOTO="qcom_rpmsg_end" ACTION=="add", RUN+="/usr/sbin/rpmsgexport /dev/$name DATA5_CNTL"