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:
- VFIO
- With early kms
- Without early kms
So far, so good.