telit,udev: single 'usb' subsystems check and simplified single vendor check
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user