summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/verdin-imx8mp
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2021-08-12 12:08:52 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2021-08-12 12:08:52 +0200
commitd9b673df1b21c14dfb9db76a037698a0065a8ee7 (patch)
tree6cdeca3e87ec1cb5f434da6582d81c67a5a09c73 /recipes-core/udev/files/verdin-imx8mp
parent0aec0986a859ea7f0cb8f9aeb56aae9ce8786568 (diff)
udev: 99-toradex.rules: improve sd-card rules
ENV{DEVTYPE} has been found to not be present on apalis-imx6 sometimes. Since we see also some troubles on our lava setup this property is being removed from this rule as anyway disk and partition is already catched with the "p" in the KERNEL rule Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/verdin-imx8mp')
-rw-r--r--recipes-core/udev/files/verdin-imx8mp/99-toradex.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules b/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules
index 98054a6..e1ee4dd 100644
--- a/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules
+++ b/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules
@@ -12,5 +12,5 @@ KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.mmc", SYMLINK+="
KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.mmc", SYMLINK+="emmc-boot%n"
KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b60000.mmc", SYMLINK+="emmc-part%n"
SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh"
-ACTION=="add|change", KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd"
-ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", ENV{DEVTYPE}=="partition", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd-part%n"
+ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd"
+ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd-part%n"