summaryrefslogtreecommitdiff
path: root/recipes-core/udev
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-01-03 17:50:18 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 17:08:20 -0500
commitb49382cc5000dfd347cea8c02c92b7d88199061a (patch)
tree65d9396ff3b93b20600935e4651f4754d688682e /recipes-core/udev
parent421181d3873de02a2f7476cc192c447457dd5e47 (diff)
downloadmeta-mlinux-b49382cc5000dfd347cea8c02c92b7d88199061a.tar.gz
meta-mlinux-b49382cc5000dfd347cea8c02c92b7d88199061a.tar.bz2
meta-mlinux-b49382cc5000dfd347cea8c02c92b7d88199061a.zip
Fix mtrv1.rules for mtrv1 udev
Diffstat (limited to 'recipes-core/udev')
-rw-r--r--recipes-core/udev/eudev/mtrv1/mtrv1.rules11
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes-core/udev/eudev/mtrv1/mtrv1.rules b/recipes-core/udev/eudev/mtrv1/mtrv1.rules
index 5d528e6..239a846 100644
--- a/recipes-core/udev/eudev/mtrv1/mtrv1.rules
+++ b/recipes-core/udev/eudev/mtrv1/mtrv1.rules
@@ -1,14 +1,13 @@
ACTION=="remove", GOTO="mlinux_end"
SUBSYSTEM!="tty", GOTO="mlinux_end"
-KERNEL!="ttyXRUSB[0-9]*", GOTO="mlinux_end"
+KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*|ttyXRUSB[0-9]*|ttyS*", GOTO="mlinux_end"
SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}"
ENV{ID_IFACE}=="", GOTO="mlinux_end"
-# Accessory Ports
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="00", SYMLINK+="ttyAP1"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2"
-ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1414", ENV{ID_IFACE}=="02", SYMLINK+="ttyAP2"
+# mtr revA: bluetooth on exar chip (ACM0, iface 0)
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="00", SYMLINK+="bt"
+# mtr revA: external serial on exar chip (ACM1, iface 2)
+ATTRS{idVendor}=="04e2", ATTRS{idProduct}=="1412", ENV{ID_IFACE}=="02", SYMLINK+="ext_serial"
LABEL="mlinux_end"