diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-26 19:29:45 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-26 19:33:45 +0100 |
commit | 48585c250b68ab2ca192af36b8873c475f73165c (patch) | |
tree | 3691e27502b89d0d72eff66c483a255eaed9be17 /plugins | |
parent | b7adbf97a560d8c4ae59d151872ed154c7e49822 (diff) |
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'.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/huawei/77-mm-huawei-net-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/longcheer/77-mm-longcheer-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/mbm/77-mm-ericsson-mbm.rules | 2 | ||||
-rw-r--r-- | plugins/mtk/77-mm-mtk-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/nokia/77-mm-nokia-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/simtech/77-mm-simtech-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/telit/77-mm-telit-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/x22x/77-mm-x22x-port-types.rules | 2 | ||||
-rw-r--r-- | plugins/zte/77-mm-zte-port-types.rules | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/plugins/huawei/77-mm-huawei-net-port-types.rules b/plugins/huawei/77-mm-huawei-net-port-types.rules index db0edceb..051b5d00 100644 --- a/plugins/huawei/77-mm-huawei-net-port-types.rules +++ b/plugins/huawei/77-mm-huawei-net-port-types.rules @@ -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" diff --git a/plugins/longcheer/77-mm-longcheer-port-types.rules b/plugins/longcheer/77-mm-longcheer-port-types.rules index d465679a..e91ba95f 100644 --- a/plugins/longcheer/77-mm-longcheer-port-types.rules +++ b/plugins/longcheer/77-mm-longcheer-port-types.rules @@ -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" diff --git a/plugins/mbm/77-mm-ericsson-mbm.rules b/plugins/mbm/77-mm-ericsson-mbm.rules index a4c7dcbb..ded81b1a 100644 --- a/plugins/mbm/77-mm-ericsson-mbm.rules +++ b/plugins/mbm/77-mm-ericsson-mbm.rules @@ -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" diff --git a/plugins/mtk/77-mm-mtk-port-types.rules b/plugins/mtk/77-mm-mtk-port-types.rules index a2508dd2..26f01f2d 100644 --- a/plugins/mtk/77-mm-mtk-port-types.rules +++ b/plugins/mtk/77-mm-mtk-port-types.rules @@ -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" diff --git a/plugins/nokia/77-mm-nokia-port-types.rules b/plugins/nokia/77-mm-nokia-port-types.rules index 4a3e5dc5..f3c44795 100644 --- a/plugins/nokia/77-mm-nokia-port-types.rules +++ b/plugins/nokia/77-mm-nokia-port-types.rules @@ -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" diff --git a/plugins/simtech/77-mm-simtech-port-types.rules b/plugins/simtech/77-mm-simtech-port-types.rules index 96bf3483..2c70049e 100644 --- a/plugins/simtech/77-mm-simtech-port-types.rules +++ b/plugins/simtech/77-mm-simtech-port-types.rules @@ -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" diff --git a/plugins/telit/77-mm-telit-port-types.rules b/plugins/telit/77-mm-telit-port-types.rules index 762a6a38..f06822e1 100644 --- a/plugins/telit/77-mm-telit-port-types.rules +++ b/plugins/telit/77-mm-telit-port-types.rules @@ -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" diff --git a/plugins/x22x/77-mm-x22x-port-types.rules b/plugins/x22x/77-mm-x22x-port-types.rules index 91ae0928..cb4ca12f 100644 --- a/plugins/x22x/77-mm-x22x-port-types.rules +++ b/plugins/x22x/77-mm-x22x-port-types.rules @@ -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" diff --git a/plugins/zte/77-mm-zte-port-types.rules b/plugins/zte/77-mm-zte-port-types.rules index 5e2284b8..d703ca97 100644 --- a/plugins/zte/77-mm-zte-port-types.rules +++ b/plugins/zte/77-mm-zte-port-types.rules @@ -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" |