diff options
-rw-r--r-- | plugins/x22x/77-mm-x22x-port-types.rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/x22x/77-mm-x22x-port-types.rules b/plugins/x22x/77-mm-x22x-port-types.rules index 6b5938f5..12370283 100644 --- a/plugins/x22x/77-mm-x22x-port-types.rules +++ b/plugins/x22x/77-mm-x22x-port-types.rules @@ -9,10 +9,11 @@ ACTION!="add|change|move", GOTO="mm_x22x_port_types_end" +SUBSYSTEMS!="usb", GOTO="mm_x22x_port_types_end" SUBSYSTEM!="tty", GOTO="mm_x22x_port_types_end" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_generic_vendorcheck" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="0b3c", GOTO="mm_x22x_olivetti_vendorcheck" +ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_generic_vendorcheck" +ATTRS{idVendor}=="0b3c", GOTO="mm_x22x_olivetti_vendorcheck" GOTO="mm_x22x_port_types_end" # Generic JRD devices --------------------------- |