diff options
author | John Klug <john.klug@multitech.com> | 2020-11-11 14:22:06 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-11-11 14:22:06 -0600 |
commit | d75cc859d0009649aa5c97731933b50ba48231ba (patch) | |
tree | fbd1fac00b1f4a4b5688352f402335918f7c4807 /recipes-core/udev/eudev/mtrv1/mtrv1.rules | |
download | meta-mlinux-atmel-d75cc859d0009649aa5c97731933b50ba48231ba.tar.gz meta-mlinux-atmel-d75cc859d0009649aa5c97731933b50ba48231ba.tar.bz2 meta-mlinux-atmel-d75cc859d0009649aa5c97731933b50ba48231ba.zip |
MultiTech mLinux Atmel distribution OpenEmbedded layer5.3.0a
Diffstat (limited to 'recipes-core/udev/eudev/mtrv1/mtrv1.rules')
-rw-r--r-- | recipes-core/udev/eudev/mtrv1/mtrv1.rules | 13 |
1 files changed, 13 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..239a846 --- /dev/null +++ b/recipes-core/udev/eudev/mtrv1/mtrv1.rules @@ -0,0 +1,13 @@ +ACTION=="remove", GOTO="mlinux_end" +SUBSYSTEM!="tty", 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" + +# 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" |