summaryrefslogtreecommitdiff
path: root/multitech/recipes/udev/udev_165.bbappend
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-08-28 14:46:48 -0500
committerJesse Gilles <jgilles@multitech.com>2012-08-28 14:46:48 -0500
commit8efda18df6ac54debdf651c7b9359ff04acd47af (patch)
treee8fcd32adb29d5b5c50f127ad800ea80d0a1237d /multitech/recipes/udev/udev_165.bbappend
parentd79bc33723b2ceb98a34ef0c9b12827b867cf03f (diff)
udev-165: add corecdp.rules for naming cellular modem ports
The rules add the following device names: /dev/modemX Where X is the number of the interface port on the modem, starting at 0 /dev/modem_atX Where X is the number of a valid AT command port, starting at 0
Diffstat (limited to 'multitech/recipes/udev/udev_165.bbappend')
-rw-r--r--multitech/recipes/udev/udev_165.bbappend10
1 files changed, 9 insertions, 1 deletions
diff --git a/multitech/recipes/udev/udev_165.bbappend b/multitech/recipes/udev/udev_165.bbappend
index 3a98f61..e87ff82 100644
--- a/multitech/recipes/udev/udev_165.bbappend
+++ b/multitech/recipes/udev/udev_165.bbappend
@@ -1,4 +1,12 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-PR .= ".corecdp1"
+PR .= ".corecdp2"
+
+# add custom rules for persistent modem device names
+SRC_URI += "file://corecdp.rules"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/udev/rules.d
+ install -m 644 ${WORKDIR}/corecdp.rules ${D}${sysconfdir}/udev/rules.d/
+}