2018-05-10 21:28:51 +00:00
|
|
|
SUBSYSTEM!="rpmsg", GOTO="qcom_rpmsg_end"
|
|
|
|
|
|
|
|
# symlink rpmsg endpoints under useful names
|
2018-05-13 07:06:35 +00:00
|
|
|
ATTR{name}=="DATA5_CNTL", SYMLINK+="modem"
|
2018-05-10 21:28:51 +00:00
|
|
|
|
|
|
|
# open SMD channels when the remoteproc comes up
|
|
|
|
KERNEL!="rpmsg_ctrl[0-9]*", GOTO="qcom_rpmsg_end"
|
2019-12-08 21:38:52 +00:00
|
|
|
ATTRS{rpmsg_name}!="modem|hexagon", GOTO="qcom_rpmsg_end"
|
2018-05-10 21:28:51 +00:00
|
|
|
|
|
|
|
ACTION=="add", RUN+="/usr/sbin/rpmsgexport /dev/$name DATA5_CNTL"
|
|
|
|
|
|
|
|
LABEL="qcom_rpmsg_end"
|