Ensure that ModemManager ignores keyboard

7bd2e9fbb7/udev/99-hdmi2usb-mm-blacklist.rules (L4)
says:

  It should be enough to set ID_MM_DEVICE_IGNORE:="1" but it seems many
  versions of modem manager have a bug which makes them ignore that value.

  Setting ID_MM_CANDIDATE:="0" has the same effect but is an "internal
  implementation detail" of modem manager.

so set both to be safe.  Also use := rather than =, in order to prevent
any later rules from overriding the settings.
pull/304/head
Adam Spiers 7 years ago
parent b6fe847997
commit 7bcae5f2d2

@ -1,4 +1,2 @@
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2300", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2301", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2300", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}:="1", ENV{ID_MM_CANDIDATE}:="0"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2301", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}:="1", ENV{ID_MM_CANDIDATE}:="0"

Loading…
Cancel
Save