summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-01-08 12:35:51 -0600
committerJohn Klug <john.klug@multitech.com>2019-01-08 12:35:51 -0600
commit9f4ed4ca90622ad8c615777b8687ab768dab580d (patch)
tree6a36c430ff7f58756ab8043baabfe6dae9413644 /recipes-core/udev/eudev
parent8442d3472ca69426eff6439fe41f95db24b84419 (diff)
downloadmeta-mlinux-9f4ed4ca90622ad8c615777b8687ab768dab580d.tar.gz
meta-mlinux-9f4ed4ca90622ad8c615777b8687ab768dab580d.tar.bz2
meta-mlinux-9f4ed4ca90622ad8c615777b8687ab768dab580d.zip
Kernel is inconsistent in applying NAME changes, so use SYMLINKS
Diffstat (limited to 'recipes-core/udev/eudev')
-rw-r--r--recipes-core/udev/eudev/mtcdt/mtcdt.rules12
-rw-r--r--recipes-core/udev/eudev/mtrv1/mtrv1.rules4
2 files changed, 8 insertions, 8 deletions
diff --git a/recipes-core/udev/eudev/mtcdt/mtcdt.rules b/recipes-core/udev/eudev/mtcdt/mtcdt.rules
index 0066f3b..d7ff3e1 100644
--- a/recipes-core/udev/eudev/mtcdt/mtcdt.rules
+++ b/recipes-core/udev/eudev/mtcdt/mtcdt.rules
@@ -7,11 +7,11 @@ ENV{ID_IFACE}=="", GOTO="mlinux_end"
# Accessory Ports
# ttyXRUSB is Vizzini driver name, for compatiblity.
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1", NAME="ttyXRUSB0"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1", NAME="ttyXRUSB0"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2", NAME="ttyXRUSB1"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2", NAME="ttyXRUSB1"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="04", NAME="ttyXRUSB2"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="06", NAME="ttyXRUSB3"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="ttyXRUSB0", SYMLINK+="ttyAP1"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="00", SYMLINK+="ttyXRUSB0", SYMLINK+="ttyAP1"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ttyXRUSB1", SYMLINK+="ttyAP2"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="02", SYMLINK+="ttyXRUSB1", SYMLINK+="ttyAP2"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="04", SYMLINK+="ttyXRUSB2"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="06", SYMLINK+="ttyXRUSB3"
LABEL="mlinux_end"
diff --git a/recipes-core/udev/eudev/mtrv1/mtrv1.rules b/recipes-core/udev/eudev/mtrv1/mtrv1.rules
index 0ca31f9..7dc5479 100644
--- a/recipes-core/udev/eudev/mtrv1/mtrv1.rules
+++ b/recipes-core/udev/eudev/mtrv1/mtrv1.rules
@@ -7,8 +7,8 @@ ENV{ID_IFACE}=="", GOTO="mlinux_end"
# mtr revA: bluetooth on exar chip (ACM0, iface 0)
# ttyXRUSB is Vizzini driver name, for compatiblity.
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", NAME="ttyXRUSB0", SYMLINK+="bt"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="ttyXRUSB0", SYMLINK+="bt"
# mtr revA: external serial on exar chip (ACM1, iface 2)
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", NAME="ttyXRUSB1", SYMLINK+="ext_serial"
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ttyXRUSB1", SYMLINK+="ext_serial"
LABEL="mlinux_end"