diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-05-15 12:31:17 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2021-05-17 20:49:20 +0200 |
commit | f5af6cd7e39e0eee75cca7f89ac81b5601267794 (patch) | |
tree | 1dd1710832d3e4351b7ce79128576b1902e7694e /recipes-core/udev/files/colibri-imx7-emmc | |
parent | 943f7da5a1cbbf695c3385b59e33aaea0c87904c (diff) |
recipes-core: udev: add hardware stable symlinks for sd-card
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/colibri-imx7-emmc')
-rw-r--r-- | recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules index 707920e..2d1d675 100644 --- a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules @@ -9,3 +9,5 @@ KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+ KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-part%n" SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd-p$attr{partition}" |