diff options
author | Jeff Hatch <jhatch@multitech.com> | 2021-03-24 07:21:46 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2021-03-24 07:21:46 -0500 |
commit | e8658446ca0fdae5d53b5e920a7cb385db9062b7 (patch) | |
tree | aff604b825fa23dc1f41828decd7595a69573775 /recipes-core | |
parent | 99310768948365e48b24f6fb5d76a48fb73f33ba (diff) | |
parent | 905b75ecbb81ad5ca06cd70a07e7e800e17a11ab (diff) | |
download | meta-mlinux-atmel-e8658446ca0fdae5d53b5e920a7cb385db9062b7.tar.gz meta-mlinux-atmel-e8658446ca0fdae5d53b5e920a7cb385db9062b7.tar.bz2 meta-mlinux-atmel-e8658446ca0fdae5d53b5e920a7cb385db9062b7.zip |
Merge branch 'vv/fix-spidev' into 'dunfell'
[MTX-3950] mPower R. Apr 2021: spidev names on Atmel with new kernel GP-1142
See merge request !6
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/ } |