On Mon, 2010-10-18 at 20:14 +0300, Andrew wrote: > Hi all. > > Today I found free time to make script for "hardware autodetection". > It's placed into config package, and added as separate menu item into > lrpkg.
Thanks Andrew. This sounds very cool - an excellent enhancement to accompany the automatic kernel module loading in 2.6 kernels. I will investigate and test when I get chance. dMb > It works simple - it extracts all modules into created directory > /lib/modules/KVERSION (modalias is temporary removed), runs depmod, then > - script does modprobe for all hardware aliases in cycle untill after > last iteration count of modaliases (and, of course, corresponding > devices) will remain same as before iteration (all probed modules > doesn't provide access to sub-devices or no new modules are loaded). > Then - list of modules is parsed by script, and all loaded modules are > copied into /lib/modules. Then - /lib/modules/KVERSION that contains > extracted modules.tgz is removed, symlink is restored and generated new > modules.dep.bb by depmod. > > This solution currently require approx 22MB free on ramdisk (more than > 20MB for modules + approx 1 MB for modules.dep.bb), which is limited to > 1/2 of available RAM; minimal rootfs size is 5.5MB - so for correct > script work it require 64M or more RAM on box. > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > > _______________________________________________ > leaf-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
