Skip to content

Change the udev rule trigger condition to "add"

In my testing, I missed one case. The ACTION=="bind" statement does not trigger when Early KMS is enabled, because modules are assigned before the rule is triggered. Luckily, udev somehow duplicates the bind event with add along with all the necessary attributes, so just change the condition to add and everything works. I've already checked:

  1. VFIO
  2. With early kms
  3. Without early kms

So far, so good.

Merge request reports