summaryrefslogtreecommitdiff
path: root/recipes-core/udev/udev-182/mtcap
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/udev-182/mtcap')
-rw-r--r--recipes-core/udev/udev-182/mtcap/mtcap.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-182/mtcap/mtcap.rules b/recipes-core/udev/udev-182/mtcap/mtcap.rules
new file mode 100644
index 0000000..a0dc9fb
--- /dev/null
+++ b/recipes-core/udev/udev-182/mtcap/mtcap.rules
@@ -0,0 +1,8 @@
+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"
+
+LABEL="mlinux_end"