[RFC] Hotplug inclusion

Kevin P. Fleming kpfleming at linuxfromscratch.org
Fri May 7 19:39:55 PDT 2004

Alexander E. Patrakov wrote:

> in the block starting with line 25 of pci.rc in hotplug-2004_04_01, only 
>  bash, coreutils, and files in /sys are used. The "pcimodules" utility 
> is used in this file only in the 2.4 path (starting at line 45).

Good work Alexander, this makes sense.

> The need for usbutils arises when one compiles his hcd driver not as a 
> module. The scenario:
> The kernel detects the USB controller, enumerates the devices on it, and 
> generates the hotplug events. But, since the root filesystem is not 
> mounted yet, they are lost. Later the usb.rc script runs and detects the 
> modules with the help of the usbmodules program.
> If your hcd driver is a module, you can safely delete the usb.rc file.

OK, then if hotplug goes into the book, we either need to include 
usbutils or strongly suggest building the USB host controller drivers as 
modules; personally I won't do that, so I'll need usbutils.

More information about the lfs-dev mailing list