hotplug (as found in /sbin/hotplug and /etc/hotplug/) is what's
responsible on Linux 2.6 for automatic loading of modules for permanent
(e.g. PCI) as well as removable (USB) hardware. The modern fashion is
_not_ to load kernel modules just the moment when its their device file
are used, but rather when the hardware is inserted. This is just like
the Windows 2000's model of PnP: it simplifies things (i.e. does a
stat() trigger the autoloading? And how about access()?) and the growth
in memory usage is not significant. For you, it means that you should
configure 'hotplug' to support your device and load its module as soon
as its inserted.
In /etc/hotplug/, you have "usermap" files which map hardware IDs to
modules. Most modules specify what hardware they support (you can see
what with 'modinfo') but your hardware is supported by a generic module
which's not tied to any specific hardware ID, so you have to tie it
yourself (and submit a patch upstream so next version 'hotplug' would
come preconfigured to load usbserial for your device).
Oded Arbel wrote:
Problem is, I can't get usbserial to auto load (by HAL?), so I have to
modprobe it by hand. Some instruction pages which I utilized to get to
where I am now (the card working properly) suggest adding
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]