summaryrefslogtreecommitdiffstats
path: root/meta/packages/udev
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/udev')
-rwxr-xr-xmeta/packages/udev/files/init8
-rw-r--r--meta/packages/udev/udev-092/udev.rules2
2 files changed, 7 insertions, 3 deletions
diff --git a/meta/packages/udev/files/init b/meta/packages/udev/files/init
index 1022b40c89..8cbab188f0 100755
--- a/meta/packages/udev/files/init
+++ b/meta/packages/udev/files/init
@@ -138,7 +138,7 @@ if [ ! -d /sys/class/ ]; then
138 exit 1 138 exit 1
139fi 139fi
140 140
141if [ ! -e /proc/sys/kernel/hotplug ]; then 141if [ ! -e /proc/sys/kernel/hotplug ] && [ ! -e /sys/kernel/uevent_helper ]; then
142 echo "udev requires hotplug support, not started." 142 echo "udev requires hotplug support, not started."
143 exit 1 143 exit 1
144fi 144fi
@@ -161,7 +161,11 @@ case "$1" in
161 warn_if_interactive 161 warn_if_interactive
162 162
163 #echo /sbin/udevsend > /proc/sys/kernel/hotplug 163 #echo /sbin/udevsend > /proc/sys/kernel/hotplug
164 echo "" > /proc/sys/kernel/hotplug 164 if [ -e /sys/kernel/uevent_helper ] ; then
165 echo "" > /sys/kernel/uevent_helper
166 else
167 echo "" > /proc/sys/kernel/hotplug
168 fi
165 udevsend 169 udevsend
166 if [ "$UDEV_DISABLED" = "yes" ]; then 170 if [ "$UDEV_DISABLED" = "yes" ]; then
167 echo "udev disabled on the kernel command line, not started." 171 echo "udev disabled on the kernel command line, not started."
diff --git a/meta/packages/udev/udev-092/udev.rules b/meta/packages/udev/udev-092/udev.rules
index c1834a9a1c..72be706e84 100644
--- a/meta/packages/udev/udev-092/udev.rules
+++ b/meta/packages/udev/udev-092/udev.rules
@@ -98,5 +98,5 @@ KERNEL=="rfcomm[0-9]*", NAME="%k", GROUP="users", MODE="0660"
98ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper" 98ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper"
99 99
100# Samsung UARTS 100# Samsung UARTS
101KERNEL=="s3c2410_serial[0-9]" NAME="ttySAC%n" 101KERNEL=="s3c2410_serial[0-9]", NAME="ttySAC%n"
102 102