blob: c0cf13a00e5e45821c5b28ebca93fb524d59c321 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# 'ID_MM_DEVICE_IS_MODEM' is set by 52-mm-modem-permissions.rules from the
# modemmanager-next package. If 'ID_MM_DEVICE_IS_MODEM' is set to 1, the tty
# device is associated with a modem and should not be accessible by the
# 'serial' group.
KERNEL=="tty[A-Z]*[0-9]", ENV{ID_MM_DEVICE_IS_MODEM}!="1", GROUP="serial"