From 144cc7011ea62426af784607e431318ae113361e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 5 Mar 2013 20:32:03 +0100 Subject: [PATCH] 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. --- plugins/mbm/77-mm-ericsson-mbm.rules | 3 +-- 1 file changed, 1 insertion(+), 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"