[RFC] Hotplug inclusion

Ronald Hummelink maillist at hummelink.xs4all.nl
Sun May 9 11:46:47 PDT 2004


On Sat, 2004-05-08 at 04:39, Kevin P. Fleming wrote:
> 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.

1) It seems the kernel is rather moving away from modules then towards
it.
2) Using a module for something you >always< use is rather silly (in
many peoples view). 

Usbutils should go in the book.

Ronald

-- 
Linux is like a small snowball rolling downhill. Microsoft is just
waiting down the mountain...



!DSPAM:409e7deb60503783418564!





More information about the lfs-dev mailing list