[Bug 173459] Review Request: initng

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 25 15:20:31 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: initng


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173459





------- Additional Comments From dennis at conversis.de  2005-11-25 10:20 EST -------
(In reply to comment #38)
> (In reply to comment #37)
> > Concerning USB, changing the modprobe call to load usb-controller1 in
> > system/usb.i worked for me. I guess we can patch it to modprobe usb-controller
> > and usb-controller1, since the output is redirected to dev/null anyway
> 
> Yep, sounds good. I'll see to it that this change gets in the next initng 
> release, which I'm guessing is around the corner.

I'm not sure if it's a good idea to rely on hardcoded names like
"usb-controller". What if there is an entry for "usb-controller2"? My guess is
that something along these lines would be better:

for i in `cat /etc/sysconfig/hwconf |grep "driver: .*-hcd"|cut -d" " -f2`;do
  /sbin/modprobe $i >/dev/null
done

This should load all necessary host controller modules no matter how they are named.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list