• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# do not edit this file, it will be overwritten on update
2
3# Tag any devices that MM might be interested in; if ModemManager is started
4# up right after udev, when MM explicitly requests devices on startup it may
5# get devices that haven't had all rules run yet.  Thus, we tag devices we're
6# interested in and when handling devices during MM startup we ignore any
7# that don't have this tag.  MM will still get the udev 'add' event for the
8# device a short while later and then process it as normal.
9
10ACTION!="add|change|move|bind", GOTO="mm_candidate_end"
11
12# Opening bound but disconnected Bluetooth RFCOMM ttys would initiate the
13# connection. Don't do that.
14KERNEL=="rfcomm*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
15
16SUBSYSTEM=="tty", ENV{ID_MM_CANDIDATE}="1"
17SUBSYSTEM=="net", ENV{ID_MM_CANDIDATE}="1"
18KERNEL=="cdc-wdm*", SUBSYSTEM=="usb", ENV{ID_MM_CANDIDATE}="1"
19KERNEL=="cdc-wdm*", SUBSYSTEM=="usbmisc", ENV{ID_MM_CANDIDATE}="1"
20
21LABEL="mm_candidate_end"
22