80-mm-candidate.rules 972 B

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