pmaports/modem/msm-modem/udev-mainline.rules
Minecrell 942861a3cb
modem/modem-qcom-msm-{mainline,downstream}: combine to msm-modem (!1032)
Combine modem-qcom-msm-{mainline,downstream}-common to a single APKBUILD
with mainline and downstream subpackages.

Enable rmtfs service here instead of directly in the package.

[ci:skip-vercheck]: for qrtr version fix
2020-03-18 14:09:29 +01:00

12 lines
380 B
Text

SUBSYSTEM!="rpmsg", GOTO="qcom_rpmsg_end"
# symlink rpmsg endpoints under useful names
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|hexagon", GOTO="qcom_rpmsg_end"
ACTION=="add", RUN+="/usr/sbin/rpmsgexport /dev/$name DATA5_CNTL"
LABEL="qcom_rpmsg_end"