diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-28 00:14:04 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-06 10:41:52 +0200 |
commit | a5f33f0070992ed836cdfdbc8e82f19c779b42d2 (patch) | |
tree | 04986c2b2790fdf5a32f8ac902ad87fd486d1655 | |
parent | 4d53e2eb98b394c49ad2800786fd624ff36ac26e (diff) | |
download | ModemManager-a5f33f0070992ed836cdfdbc8e82f19c779b42d2.tar.gz |
telit,udev: single 'usb' subsystems check and simplified single vendor check
-rw-r--r-- | plugins/telit/77-mm-telit-port-types.rules | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/telit/77-mm-telit-port-types.rules b/plugins/telit/77-mm-telit-port-types.rules index 398047c92..695246c23 100644 --- a/plugins/telit/77-mm-telit-port-types.rules +++ b/plugins/telit/77-mm-telit-port-types.rules @@ -1,12 +1,9 @@ # do not edit this file, it will be overwritten on update ACTION!="add|change|move", GOTO="mm_telit_port_types_end" +SUBSYSTEMS!="usb", GOTO="mm_telit_port_types_end" SUBSYSTEM!="tty", GOTO="mm_telit_port_types_end" - -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bc7", GOTO="mm_telit_vendorcheck" -GOTO="mm_telit_port_types_end" - -LABEL="mm_telit_vendorcheck" +ATTRS{idVendor}!="1bc7", GOTO="mm_telit_port_types_end" # UC864-E, UC864-E-AUTO, UC864-K, UC864-WD, UC864-WDU ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1003", ATTRS{bInterfaceNumber}=="00", ENV{ID_MM_TELIT_PORT_TYPE_MODEM}="1" @@ -49,5 +46,4 @@ ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_MM_TELIT_TAGGED}="1", # NOTE: Qualcomm Gobi-based devices like the LE920 should not be handled # by this plugin, but by the Gobi plugin. -GOTO="mm_telit_port_types_end" LABEL="mm_telit_port_types_end" |