diff options
author | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2021-03-23 19:21:43 +0200 |
---|---|---|
committer | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2021-03-23 19:21:43 +0200 |
commit | 905b75ecbb81ad5ca06cd70a07e7e800e17a11ab (patch) | |
tree | f6f4cf02afef46bdd95d44d7d0037baef2f82a01 /recipes-core | |
parent | 834f897b62b0bc87645629f23a8cafe064e3c72d (diff) | |
download | meta-mlinux-atmel-905b75ecbb81ad5ca06cd70a07e7e800e17a11ab.tar.gz meta-mlinux-atmel-905b75ecbb81ad5ca06cd70a07e7e800e17a11ab.tar.bz2 meta-mlinux-atmel-905b75ecbb81ad5ca06cd70a07e7e800e17a11ab.zip |
[MTX-3950] mPower R. Apr 2021: spidev names on Atmel with new kernel GP-1142
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/eudev/mtcdt/accessory_lora.rules | 3 | ||||
-rw-r--r-- | recipes-core/udev/eudev_%.bbappend | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes-core/udev/eudev/mtcdt/accessory_lora.rules b/recipes-core/udev/eudev/mtcdt/accessory_lora.rules new file mode 100644 index 0000000..7323578 --- /dev/null +++ b/recipes-core/udev/eudev/mtcdt/accessory_lora.rules @@ -0,0 +1,3 @@ +# SYMLINK spidev32766.2 and spidev32765.2 are added for compatibility purposes after migrating linux kernel from 4.X.X to 5.4.81 +ACTION=="add", KERNEL=="spidev0.2", SUBSYSTEM=="spidev", SYMLINK="spidev32766.2" +ACTION=="add", KERNEL=="spidev1.2", SUBSYSTEM=="spidev", SYMLINK="spidev32765.2" diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend index ac17fc2..56ecebf 100644 --- a/recipes-core/udev/eudev_%.bbappend +++ b/recipes-core/udev/eudev_%.bbappend @@ -1,11 +1,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR .= ".mlinux6" +PR .= ".mlinux7" SRC_URI_append_mtcdt = " \ file://accessory_ethernet.rules \ + file://accessory_lora.rules \ " do_install_append_mtcdt() { install -m 644 ${WORKDIR}/accessory_ethernet.rules ${D}${sysconfdir}/udev/rules.d/ + install -m 644 ${WORKDIR}/accessory_lora.rules ${D}${sysconfdir}/udev/rules.d/ } |