From 250639e3da531dd91a99950614f95b7227bc84c0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 7 Aug 2019 14:35:31 +0200 Subject: udev: repurpose ID_MM_DEVICE_IGNORE and new MM_FILTER_RULE_EXPLICIT_BLACKLIST Until now the ID_MM_DEVICE_IGNORE udev tag was being used in the internal blacklist of devices shipped by ModemManager when running in either DEFAULT or PARANOID filter modes. The name of the tag is extremely misleading because it doesn't really make the full device be ignored, the tag only applied to TTY ports. This commit repurposes the tag so that it applies to ANY kind of port (e.g. TTY, NET, cdc-wdm...) and also to any kind of filter type (i.e. also applicable in STRICT mode). The internal blacklist shipped by ModemManager, which should NOT be used in STRICT mode, uses a new tag name, ID_MM_TTY_BLACKLIST. The new ID_MM_DEVICE_IGNORE tag is therefore much more usable and its name is really meaningful. If there are users or third-party projects adding their own udev rules with the ID_MM_DEVICE_IGNORE tag name, they should have no problem as the new rule is more restrictive than the old one. --- docs/reference/api/ModemManager-sections.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/reference/api/ModemManager-sections.txt') diff --git a/docs/reference/api/ModemManager-sections.txt b/docs/reference/api/ModemManager-sections.txt index 577da27e..cdefe11d 100644 --- a/docs/reference/api/ModemManager-sections.txt +++ b/docs/reference/api/ModemManager-sections.txt @@ -151,9 +151,10 @@ MM_DEPRECATED Common udev tags ID_MM_CANDIDATE ID_MM_PHYSDEV_UID -ID_MM_PORT_IGNORE ID_MM_DEVICE_PROCESS ID_MM_DEVICE_IGNORE +ID_MM_PORT_IGNORE +ID_MM_TTY_BLACKLIST ID_MM_DEVICE_MANUAL_SCAN_ONLY ID_MM_PLATFORM_DRIVER_PROBE ID_MM_PORT_TYPE_AT_PPP -- cgit v1.2.3-70-g09d2