udev: apply udev rules upon 'move' events as well
Otherwise, we may end up losing the tags we expect if the device gets a 'move' event just after the initial 'add'.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
ACTION!="add|change", GOTO="mm_huawei_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_huawei_port_types_end"
|
||||
|
||||
ENV{ID_VENDOR_ID}!="12d1", GOTO="mm_huawei_port_types_end"
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
# cannot be used for PPP.
|
||||
|
||||
|
||||
ACTION!="add|change", GOTO="mm_longcheer_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_longcheer_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_longcheer_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c9e", GOTO="mm_longcheer_vendorcheck"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_mbm_end"
|
||||
ACTION!="add|change|move", GOTO="mm_mbm_end"
|
||||
SUBSYSTEMS=="usb", GOTO="mm_mbm_check"
|
||||
GOTO="mm_mbm_end"
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_mtk_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_mtk_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e8d", GOTO="mm_mtk_port_types_vendorcheck"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2001", GOTO="mm_dlink_port_types_vendorcheck"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_nokia_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_nokia_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_nokia_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0421", GOTO="mm_nokia_port_types_vendorcheck"
|
||||
|
@@ -10,7 +10,7 @@
|
||||
# *ser.inf lists the aux ports that may be used for PPP.
|
||||
|
||||
|
||||
ACTION!="add|change", GOTO="mm_simtech_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_simtech_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_simtech_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1e0e", GOTO="mm_alink_vendorcheck"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_telit_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_telit_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_telit_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bc7", GOTO="mm_telit_vendorcheck"
|
||||
|
@@ -8,7 +8,7 @@
|
||||
# aux ports that may be either AT-capable or not but cannot be used for PPP.
|
||||
|
||||
|
||||
ACTION!="add|change", GOTO="mm_x22x_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_x22x_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_x22x_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_generic_vendorcheck"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_zte_port_types_end"
|
||||
ACTION!="add|change|move", GOTO="mm_zte_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_zte_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", GOTO="mm_zte_port_types_vendorcheck"
|
||||
|
Reference in New Issue
Block a user