summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authormykola.salomatin <mykola.salomatin@globallogic.com>2020-06-11 17:07:29 +0300
committermykola.salomatin <mykola.salomatin@globallogic.com>2020-06-11 17:07:29 +0300
commit55cddb5f6f47680b93100ed55c37e23544978558 (patch)
tree696e0dd9ba2818c62cebc2135bf33e316c19a35f /recipes-core
parent2fc1c8f4367fa674940f64927252fd6349a2d63b (diff)
downloadmeta-mlinux-atmel-55cddb5f6f47680b93100ed55c37e23544978558.tar.gz
meta-mlinux-atmel-55cddb5f6f47680b93100ed55c37e23544978558.tar.bz2
meta-mlinux-atmel-55cddb5f6f47680b93100ed55c37e23544978558.zip
[MTX-3444] mPower Oct20: L4G1 udev rules for modem_at0/1 support
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/udev/eudev/cellular_radios.rules4
-rw-r--r--recipes-core/udev/eudev_%.bbappend2
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-core/udev/eudev/cellular_radios.rules b/recipes-core/udev/eudev/cellular_radios.rules
index 078f710..d7c0521 100644
--- a/recipes-core/udev/eudev/cellular_radios.rules
+++ b/recipes-core/udev/eudev/cellular_radios.rules
@@ -79,4 +79,8 @@ ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1101", ENV{ID_IFACE}=="02", SYMLINK+
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{ID_IFACE}=="02", SYMLINK+="modem_at0"
ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1"
+# Quectel EG-25
+ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{ID_IFACE}=="02", SYMLINK+="modem_at0"
+ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1"
+
LABEL="mlinux_end"
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index cde2f10..db8a12d 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -1,6 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
-PR .= ".mlinux4"
+PR .= ".mlinux5"
# add custom rules for persistent modem device names
SRC_URI += " file://cellular_radios.rules \