pmaports/modem/modem-qcom-msm-mainline-common/udev.rules
Joey Hewitt 0272a7de51 ofono QMI: mainline kernel support (#1381)
Add modem-qcom-msm-downstream-common package that pulls in the
dependencies.

qcom_rmtfs now has udev rules to find the storage partitions. My hope
is they can be written flexibly enough to cover all devices and kernel
flavors.
2018-05-10 21:28:51 +00:00

12 lines
378 B
Text

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