mdev

Vladimir Dronnikov dronnikov at gmail.com
Thu Apr 16 06:26:01 UTC 2009


Hello, Natanael!

>
> find /sys -name modalias | xargs sort -u | xargs modprobe -a
>

I use the same:
find /sys/devices -name modalias | xargs modprobe -q

> will load all the drivers.

> This is only for "coldplugging" though.
>

That is the point. When later I plug my CDMA modem in, I get no
option.ko module loaded. mdev is one step from being a quite good
_hotplug_ helper. Just make it respect $MODALIAS come from the event
and run modprobe on it. That is simple.

Regards,
--
Vladimir


More information about the busybox mailing list