diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-08-12 12:08:52 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-08-14 13:13:53 +0200 |
commit | 4fdaa61767fbd326c762695cc11cb8e007730acd (patch) | |
tree | 20f4c5132d89f0f58d1a6957e7338225930de72d /recipes-core/udev/files/apalis-imx8 | |
parent | 88ce757e06c5662bcca0dc271a0b78489c5e365f (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>
(cherry picked from commit d9b673df1b21c14dfb9db76a037698a0065a8ee7)
Diffstat (limited to 'recipes-core/udev/files/apalis-imx8')
-rw-r--r-- | recipes-core/udev/files/apalis-imx8/99-toradex.rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-core/udev/files/apalis-imx8/99-toradex.rules b/recipes-core/udev/files/apalis-imx8/99-toradex.rules index ef9d40e..cb0629b 100644 --- a/recipes-core/udev/files/apalis-imx8/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx8/99-toradex.rules @@ -12,7 +12,7 @@ KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.mmc", SYMLINK+=" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.mmc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="5b010000.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=="5b030000.mmc", SYMLINK+="apalis-sd4bit" -ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", ENV{DEVTYPE}=="partition", KERNELS=="5b030000.mmc", SYMLINK+="apalis-sd4bit-part%n" -ACTION=="add|change", KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b020000.mmc", SYMLINK+="apalis-mmc8bit" -ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", ENV{DEVTYPE}=="partition", KERNELS=="5b020000.mmc", SYMLINK+="apalis-mmc8bit-part%n" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="5b030000.mmc", SYMLINK+="apalis-sd4bit" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="5b030000.mmc", SYMLINK+="apalis-sd4bit-part%n" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="5b020000.mmc", SYMLINK+="apalis-mmc8bit" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="5b020000.mmc", SYMLINK+="apalis-mmc8bit-part%n" |