diff options
author | Jesse Gilles <jgilles@multitech.com> | 2016-05-02 17:02:02 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2016-05-02 17:02:02 -0500 |
commit | 115d37d48837609b474742519ea5acfd639fa8d1 (patch) | |
tree | 4e00f9fea043cdb3d46d97b6c6ce778b9216e66d /recipes-core/udev | |
parent | a17e1b99cb1433190bf8bd69154a0c7e40998070 (diff) | |
download | meta-mlinux-115d37d48837609b474742519ea5acfd639fa8d1.tar.gz meta-mlinux-115d37d48837609b474742519ea5acfd639fa8d1.tar.bz2 meta-mlinux-115d37d48837609b474742519ea5acfd639fa8d1.zip |
udev: disable dev cache, update cellular_radio.rules comments
Booting MTCDT with and without DEVCACHE did not seem to make much difference in boot time
and disabling the cache eliminates any issues with USB device caching.
Diffstat (limited to 'recipes-core/udev')
-rw-r--r-- | recipes-core/udev/udev-182/cellular_radios.rules | 2 | ||||
-rw-r--r-- | recipes-core/udev/udev-182/udev-cache.default | 5 | ||||
-rw-r--r-- | recipes-core/udev/udev_182.bbappend | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/recipes-core/udev/udev-182/cellular_radios.rules b/recipes-core/udev/udev-182/cellular_radios.rules index e6953ed..28f3131 100644 --- a/recipes-core/udev/udev-182/cellular_radios.rules +++ b/recipes-core/udev/udev-182/cellular_radios.rules @@ -43,7 +43,7 @@ ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="04", SYMLINK+ ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="05", SYMLINK+="modem_at2" # EV2: ttyUSB0 ATTRS{idVendor}=="1199", ATTRS{idProduct}=="0028", ENV{ID_PORT}=="0", SYMLINK+="modem_at0" -# LAT1, LEU1, LVW2: ttyUSB3, ttyUSB4 (port 04 and port 05) +# LAT1, LEU1, LVW2: ttyUSB2, ttyUSB3 (port 04 and port 05) ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1201", ENV{ID_IFACE}=="04", SYMLINK+="modem_at0" ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1201", ENV{ID_IFACE}=="05", SYMLINK+="modem_at1" diff --git a/recipes-core/udev/udev-182/udev-cache.default b/recipes-core/udev/udev-182/udev-cache.default new file mode 100644 index 0000000..b1aa63f --- /dev/null +++ b/recipes-core/udev/udev-182/udev-cache.default @@ -0,0 +1,5 @@ +# Default for /etc/init.d/udev + +# Comment this out to disable device cache +#DEVCACHE="/etc/dev.tar" +PROBE_PLATFORM_BUS="yes" diff --git a/recipes-core/udev/udev_182.bbappend b/recipes-core/udev/udev_182.bbappend index 60665f9..39a5ae1 100644 --- a/recipes-core/udev/udev_182.bbappend +++ b/recipes-core/udev/udev_182.bbappend @@ -1,5 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +PR .= ".mlinux1" + # add custom rules for persistent modem device names SRC_URI += " file://cellular_radios.rules \ file://${MACHINE}.rules \ |