summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-09-03 14:10:37 -0500
committerJohn Klug <john.klug@multitech.com>2021-09-07 10:09:00 -0500
commit894a5bb4c9885d1d8c7faeaeb582370a3099df3f (patch)
treea7063888c2771fa3c8feb932514e8081f8fd6171 /recipes-core
parent2469ebfd5ed1a75e36c8a40fa27633714300a46c (diff)
downloadmeta-mlinux-894a5bb4c9885d1d8c7faeaeb582370a3099df3f.tar.gz
meta-mlinux-894a5bb4c9885d1d8c7faeaeb582370a3099df3f.tar.bz2
meta-mlinux-894a5bb4c9885d1d8c7faeaeb582370a3099df3f.zip
Need commas between parameters in udev rules
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/udev/eudev/cellular_radios.rules37
1 files changed, 18 insertions, 19 deletions
diff --git a/recipes-core/udev/eudev/cellular_radios.rules b/recipes-core/udev/eudev/cellular_radios.rules
index 2a97a6d..78c5741 100644
--- a/recipes-core/udev/eudev/cellular_radios.rules
+++ b/recipes-core/udev/eudev/cellular_radios.rules
@@ -1,5 +1,4 @@
ACTION=="remove", GOTO="mlinux_end"
-# ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
SUBSYSTEM!="tty", GOTO="mlinux_end"
KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="mlinux_end"
@@ -14,19 +13,19 @@ ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="04", SYMLINK+
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="06", SYMLINK+="modem3"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="08", SYMLINK+="modem4"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="0a", SYMLINK+="modem5"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="0c", SYMLINK+="modem6" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="0c", SYMLINK+="modem6", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# LAT3, LVW3 and LEU3
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="00", SYMLINK+="modem0"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="02", SYMLINK+="modem1"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="04", SYMLINK+="modem2"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="06", SYMLINK+="modem3"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="08", SYMLINK+="modem4"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="0a", SYMLINK+="modem5" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="0a", SYMLINK+="modem5", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# EV3
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="00", SYMLINK+="modem0"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="01", SYMLINK+="modem1"
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="02", SYMLINK+="modem2"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="03", SYMLINK+="modem3" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="03", SYMLINK+="modem3", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# H4
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="00", SYMLINK+="modem0"
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="01", SYMLINK+="modem1"
@@ -34,55 +33,55 @@ ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="02", SYMLINK+
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="03", SYMLINK+="modem3"
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="04", SYMLINK+="modem4"
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="05", SYMLINK+="modem5"
-ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="06", SYMLINK+="modem6" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="06", SYMLINK+="modem6", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# EV2
-ATTRS{idVendor}=="1199", ATTRS{idProduct}=="0028", SYMLINK+="modem$env{ID_PORT}" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1199", ATTRS{idProduct}=="0028", SYMLINK+="modem$env{ID_PORT}", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# AT Command ports
# H5: ttyACM0, ttyACM3
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="00", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# LAT3, LVW3 and LEU3
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="00", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# EV3: ttyUSB2, ttyUSB3
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="02", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1010", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# H4: ttyUSB3, ttyUSB4, ttyUSB5
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="03", SYMLINK+="modem_at0"
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="04", SYMLINK+="modem_at1"
-ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="05", SYMLINK+="modem_at2" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1199", ATTRS{idProduct}=="683c", ENV{ID_IFACE}=="05", SYMLINK+="modem_at2", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# EV2: ttyUSB0
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="0028", ENV{ID_PORT}=="0", SYMLINK+="modem_at0"
# LAT1, LEU1, LVW2: ttyUSB2, ttyUSB3 (port 04 and port 05)
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1201", ENV{ID_IFACE}=="04", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1201", ENV{ID_IFACE}=="05", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1201", ENV{ID_IFACE}=="05", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# LJP1(LE910-JN1), LNA3(LE910-NA1): ttyACM0, ttyACM3 (port 00 and port 03)
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="00", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# LJP1(LE866) ttyACM0, ttyACM2
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="2300", ENV{ID_IFACE}=="02", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="2300", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="2300", ENV{ID_IFACE}=="06", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# G3: ttyACM0, ttyACM1
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0022", ENV{ID_IFACE}=="00", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0022", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0022", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# C2: ttyUSB0, ttyUSB1 (Telit Documentation: Modem Port = USB1, Aux Port = USB0)
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1011", ENV{ID_IFACE}=="01", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1011", ENV{ID_IFACE}=="00", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1011", ENV{ID_IFACE}=="00", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# CATM Telit ME910
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1100", ENV{ID_IFACE}=="01", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1100", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1100", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# CATM Telit ME910 dual USB
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1101", ENV{ID_IFACE}=="01", SYMLINK+="modem_at0"
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1101", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1101", ENV{ID_IFACE}=="02", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# Quectel EG-95
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" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
# 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" ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
+ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{ID_IFACE}=="03", SYMLINK+="modem_at1", ACTION=="add", RUN+="/etc/udev/scripts/cellular_radios.sh"
LABEL="mlinux_end"