aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-03-05 20:32:03 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-03-05 20:32:03 +0100
commit144cc7011ea62426af784607e431318ae113361e (patch)
tree290a8e8afb56dbc5f25f916c5c0f09cbd986a09c
parent3ebc8413b0d06346824942da400b04908b2c7ab7 (diff)
mbm: tag the ttys instead of the parent usb device
We can just tag the ttys instead of the parent usb device, so that the core logic which looks in the plugin-specified port tags works properly. There is no need to explicitly tag the net port, as the probing for this port ends when a plugin suggestion comes from another port probing on the same device.
-rw-r--r--plugins/mbm/77-mm-ericsson-mbm.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mbm/77-mm-ericsson-mbm.rules b/plugins/mbm/77-mm-ericsson-mbm.rules
index 6a5ec8f2..863204c8 100644
--- a/plugins/mbm/77-mm-ericsson-mbm.rules
+++ b/plugins/mbm/77-mm-ericsson-mbm.rules
@@ -1,8 +1,7 @@
# do not edit this file, it will be overwritten on update
ACTION!="add|change", GOTO="mm_mbm_end"
-SUBSYSTEM!="usb", GOTO="mm_mbm_end"
-ENV{DEVTYPE}!="usb_device", GOTO="mm_mbm_end"
+SUBSYSTEM!="tty", GOTO="mm_mbm_end"
# Ericsson F3507g
ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900", ENV{ID_MM_ERICSSON_MBM}="1"