I use an Edimax EW-7811UTC Wi-Fi USB Adapter. I have installed in my Linux distribution the necessary rtl8812au driver.
This step builds the kernel module 88XXau.ko and installs it in the directory:
/lib/modules/$(uname -r)/kernel/drivers/net/wireless/.
At boot, if the Wifi-USB adapter is not plugged in, the module 88XXau.ko in not loaded. When I plug in the Wifi-USB adapter the kernel and udev automatically load the module, but I don't find the specific udev rule which executes this loading.
Someone can help me to better know this automatism?
Thanks