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.
This commit is contained in:
parent
1d1f4fb2c4
commit
33a46b86db
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue