diff options
-rw-r--r-- | plugins/simtech/77-mm-simtech-port-types.rules | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/simtech/77-mm-simtech-port-types.rules b/plugins/simtech/77-mm-simtech-port-types.rules index 9956b801..a13d2c18 100644 --- a/plugins/simtech/77-mm-simtech-port-types.rules +++ b/plugins/simtech/77-mm-simtech-port-types.rules @@ -11,12 +11,9 @@ ACTION!="add|change|move", GOTO="mm_simtech_port_types_end" +SUBSYSTEMS!="usb", GOTO="mm_simtech_port_types_end" SUBSYSTEM!="tty", GOTO="mm_simtech_port_types_end" - -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1e0e", GOTO="mm_alink_vendorcheck" -GOTO="mm_simtech_port_types_end" - -LABEL="mm_alink_vendorcheck" +ATTRS{idVendor}!="1e0e", GOTO="mm_simtech_port_types_end" # A-LINK 3GU ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="cefe", ATTRS{bInterfaceNumber}=="02", ENV{ID_MM_SIMTECH_PORT_TYPE_MODEM}="1" @@ -34,6 +31,4 @@ ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="9200", ATTRS{bInterfaceNumber}=="03" ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="9200", ATTRS{bInterfaceNumber}=="01", ENV{ID_MM_SIMTECH_PORT_TYPE_AUX}="1" ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="9200", ENV{ID_MM_SIMTECH_TAGGED}="1" -GOTO="mm_simtech_port_types_end" - LABEL="mm_simtech_port_types_end" |