[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Get FC2 to load 1394 drivers automatically
- From: Rick Stevens <rstevens vitalstream com>
- To: Mark Knecht <markknecht gmail com>, Getting started with Red Hat Linux <redhat-install-list redhat com>
- Cc:
- Subject: Re: Get FC2 to load 1394 drivers automatically
- Date: Tue, 07 Dec 2004 14:08:01 -0800
Mark Knecht wrote:
Hi,
I haven't figured out how to make FC2 load these drivers everytime
I boot. My simplistic attempt was this 2 line addition to
/etc/modprobe.conf, but it doesn't work.
alias eth0 e100
alias snd-card-0 snd-hdsp
install snd-hdsp /sbin/modprobe --ignore-install snd-hdsp &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-hdsp { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-hdsp
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias usb-controller2 uhci-hcd
# Added to force FC2 to modprobe 1394 stuff
alias 1394 ohci1394
alias firewire1 sbp2
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias snd-card-0 snd-hdsp
alias sound-slot-0 snd-hdsp
# --- END: Generated by ALSACONF, do not edit. ---
What's the right way to do this? I need to load ieee1394, ohci1394 and
sbp2 to get hard drive support. Loading ohci1394 will always load
ieee1394. Loading spb2 will not load either of the other two.
Try adding this line (all as one line, it's wrapped for readability):
install sbp2 /sbin/modprobe ohci1394 && /sbin/modprobe
--ignore-install sbp2.
Then a "modprobe sbp2" or "modprobe firewire1" should do it. The first
thing it'll do is load ohci1394. That should load ieee1394 since
ohci1394 depends on it. Finally, sbp2 should load and you should be
happy.
Ah, the power of the "install" modprobe.conf option and the
"--ignore-install" option of modprobe.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- It is better to have loved and lost. Cheaper, too! -
----------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]