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,10 +1,9 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_pcmcia_device_blacklist_end"
|
||||
ACTION!="add|change|move", GOTO="mm_pcmcia_device_blacklist_end"
|
||||
SUBSYSTEM!="pcmcia", GOTO="mm_pcmcia_device_blacklist_end"
|
||||
|
||||
# Gemplus Serial Port smartcard adapter
|
||||
ATTRS{prod_id1}=="Gemplus", ATTRS{prod_id2}=="SerialPort", ATTRS{prod_id3}=="GemPC Card", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
LABEL="mm_pcmcia_device_blacklist_end"
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_platform_device_whitelist_end"
|
||||
ACTION!="add|change|move", GOTO="mm_platform_device_whitelist_end"
|
||||
SUBSYSTEM!="platform", GOTO="mm_platform_device_whitelist_end"
|
||||
|
||||
# Be careful here since many devices connected to platform drivers on PCs
|
||||
@@ -11,4 +11,3 @@ SUBSYSTEM!="platform", GOTO="mm_platform_device_whitelist_end"
|
||||
DRIVERS=="atmel_usart", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
|
||||
|
||||
LABEL="mm_platform_device_whitelist_end"
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
|
||||
ACTION!="add|change|move", GOTO="mm_usb_device_blacklist_end"
|
||||
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
|
||||
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_usb_serial_adapters_greylist_end"
|
||||
ACTION!="add|change|move", GOTO="mm_usb_serial_adapters_greylist_end"
|
||||
SUBSYSTEM!="usb", GOTO="mm_usb_serial_adapters_greylist_end"
|
||||
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_serial_adapters_greylist_end"
|
||||
|
||||
|
Reference in New Issue
Block a user