summaryrefslogtreecommitdiff
path: root/recipes-core/udev
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2016-08-31 12:41:03 +0300
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2016-08-31 12:41:03 +0300
commit8e0866632da9b6a12d44ccde718bed0dde3af9c5 (patch)
tree993eb3042c646d7365f225126d786efcfa86e84e /recipes-core/udev
parentca697c01ef93c2a08493684b02656d3f93ca1a9d (diff)
downloadmeta-mlinux-8e0866632da9b6a12d44ccde718bed0dde3af9c5.tar.gz
meta-mlinux-8e0866632da9b6a12d44ccde718bed0dde3af9c5.tar.bz2
meta-mlinux-8e0866632da9b6a12d44ccde718bed0dde3af9c5.zip
mtp: Add initial support for the new pico machine type.
Build: MACHINE=mtp bitbake mlinux-picocell-image
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"