Hi, One little remark: The use of hotplug is now deprecated from kernel version 2.6.15 on. See for example , http://lwn.net/Articles/166954
or udev README in http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=README So if you have a kernel higher than 2.6.15 you should use the udev.rules located in /etc/udev/rules.d. I tried it a USB disk on key and it worked for me. The NAME parameter is the name that will be used for the device node see also : http://www.reactivated.net/writing_udev_rules.html and take in account that it is not updated to the last version of udev. (make sure that the hotplug is disbaled by looking at: /proc/sys/kernel/hotplug ) Regards, Rami Rosen. On 8/1/06, Ilya Konstantinov <[EMAIL PROTECTED]> wrote:
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]
================================================================= 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]
