diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-28 00:14:01 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-06 10:41:52 +0200 |
commit | 55dbb9fdb99a3e59f8d4fbae05b97b246ce21f38 (patch) | |
tree | 90eba42b6685a4cbd52929e13a0c1f4aa3e49728 | |
parent | 2a171b49519e9ac948e7ed1e9a72a56e89982fb7 (diff) |
longcheer,udev: single 'usb' subsystems check
-rw-r--r-- | plugins/longcheer/77-mm-longcheer-port-types.rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/longcheer/77-mm-longcheer-port-types.rules b/plugins/longcheer/77-mm-longcheer-port-types.rules index 9ad14939..895096b9 100644 --- a/plugins/longcheer/77-mm-longcheer-port-types.rules +++ b/plugins/longcheer/77-mm-longcheer-port-types.rules @@ -14,10 +14,11 @@ ACTION!="add|change|move", GOTO="mm_longcheer_port_types_end" +SUBSYSTEMS!="usb", GOTO="mm_longcheer_port_types_end" SUBSYSTEM!="tty", GOTO="mm_longcheer_port_types_end" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c9e", GOTO="mm_longcheer_vendorcheck" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_tamobile_vendorcheck" +ATTRS{idVendor}=="1c9e", GOTO="mm_longcheer_vendorcheck" +ATTRS{idVendor}=="1bbb", GOTO="mm_tamobile_vendorcheck" GOTO="mm_longcheer_port_types_end" LABEL="mm_longcheer_vendorcheck" |