udev: remove default ID_MM_PLATFORM_DRIVER_PROBE whitelist
The whitelist made all platform TTYs managed by the 'atmel_usart' kernel driver probed by ModemManager, which isn't something we want, as most of these aren't broadband modems. We leave the logic supporting the ID_MM_PLATFORM_DRIVER_PROBE udev tag as there may be a case where the user does need ModemManager to probe a given platform TTY.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
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
|
||||
# are legacy devices that won't like probing. But often on embedded
|
||||
# systems serial ports are provided by platform devices.
|
||||
|
||||
# Allow atmel_usart
|
||||
DRIVERS=="atmel_usart", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
|
||||
|
||||
LABEL="mm_platform_device_whitelist_end"
|
||||
@@ -54,7 +54,6 @@ udevrulesdir = $(UDEV_BASE_DIR)/rules.d
|
||||
udevrules_DATA = \
|
||||
77-mm-usb-device-blacklist.rules \
|
||||
77-mm-pcmcia-device-blacklist.rules \
|
||||
77-mm-platform-serial-whitelist.rules \
|
||||
77-mm-usb-serial-adapters-greylist.rules \
|
||||
80-mm-candidate.rules \
|
||||
$(NULL)
|
||||
|
||||
Reference in New Issue
Block a user