Originally Posted by MS3FGX
UDEV can be used to load kernel modules upon device insertion, or anything else you want, for that matter. Each UDEV rule has a "RUN" parameter that lets you enter in a command for the system to run. It could load a module, play a noise, put a notification on the screen, etc.
There are many guides online for writing UDEV rules, but I liked the one published by HackADay awhile ago, as that gives a pretty clear explanation and practical example:
HackADay.com - How to write udev rules
Does it work as the following steps?
1. ath721N usb wifi adapter is inserted
2. udev gets usb device information
3. udev searches rule to find ath721N driver and install it
I have looked into /etc/udev/rules.d/* and /etc/modprobe.d/*, but didn't find any special entries for USB devices.
Is there any other places for the rules?
Will it search /lib/modules/2.6.xx/modules.usbmap?