diff options
author | John Klug <john.klug@multitech.com> | 2018-12-20 13:49:47 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-03 17:08:20 -0500 |
commit | b1bd2ae301e9d2db50db4af37b3dbeb00e89c2e0 (patch) | |
tree | 232ebd4a38b4c542c72e54cec2368e85117df553 | |
parent | b3ea7bdb4c8ede36c56018fc1cb8320e2b4aef18 (diff) | |
download | meta-mlinux-b1bd2ae301e9d2db50db4af37b3dbeb00e89c2e0.tar.gz meta-mlinux-b1bd2ae301e9d2db50db4af37b3dbeb00e89c2e0.tar.bz2 meta-mlinux-b1bd2ae301e9d2db50db4af37b3dbeb00e89c2e0.zip |
Add a rulefile for mtrv1
-rw-r--r-- | recipes-core/udev/eudev/mtrv1/mtrv1.rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-core/udev/eudev/mtrv1/mtrv1.rules b/recipes-core/udev/eudev/mtrv1/mtrv1.rules new file mode 100644 index 0000000..5d528e6 --- /dev/null +++ b/recipes-core/udev/eudev/mtrv1/mtrv1.rules @@ -0,0 +1,14 @@ +ACTION=="remove", GOTO="mlinux_end" +SUBSYSTEM!="tty", GOTO="mlinux_end" +KERNEL!="ttyXRUSB[0-9]*", 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" + +LABEL="mlinux_end" |