summaryrefslogtreecommitdiff
path: root/recipes-core/udev
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-09-01 16:24:58 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-09-01 16:24:58 -0500
commit7c7f115424d07c226ec238980d2f33e02ba6414c (patch)
tree993eb3042c646d7365f225126d786efcfa86e84e /recipes-core/udev
parentca697c01ef93c2a08493684b02656d3f93ca1a9d (diff)
parent8e0866632da9b6a12d44ccde718bed0dde3af9c5 (diff)
downloadmeta-mlinux-7c7f115424d07c226ec238980d2f33e02ba6414c.tar.gz
meta-mlinux-7c7f115424d07c226ec238980d2f33e02ba6414c.tar.bz2
meta-mlinux-7c7f115424d07c226ec238980d2f33e02ba6414c.zip
Merge branch 'dev-mtp' into 'internal-dev'
mtp: Add initial support for the new pico machine type. Build: MACHINE=mtp bitbake mlinux-picocell-image See merge request !1
Diffstat (limited to 'recipes-core/udev')
-rw-r--r--recipes-core/udev/udev-182/mtp/mtp.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-182/mtp/mtp.rules b/recipes-core/udev/udev-182/mtp/mtp.rules
new file mode 100644
index 0000000..a0dc9fb
--- /dev/null
+++ b/recipes-core/udev/udev-182/mtp/mtp.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"