[debian-knoppix] Patch for firewire detection
Hi all,
I was working with Knoppix and noticed that it didn't seem to detect
firewire on a box which certainly had a controller. I looked at the
knoppix-autoconfig file and realized that Knoppix was insmod'ing
ohci1394 without first insmod'ing ieee1394. Or at least, that's what it
*looked* like. By checking dmesg I saw that at some point ohci1394 *did*
get loaded. So I'm a little perplexed. I just want knoppix to autodetect
my firewire drives, which shouldn't be too hard. What is preventing
this from happening?
As a start, I made this patch to knoppix-autoconfig.sh, which may or may
not work. It looks like it wouldn't be appropriate to insmod sbp2 and
its friends over there, because that would be managed by hotplug. What's
the story there?
As always, thanks for providing a great distribution, and all help is
appreciated,
Adam
(patch attached)
--
+----------------------------------------------+
| magicbox@cloud9.net AOL/AIM: Jazzrock12 |
| UnderNet/IRC/Yahoo: Asacarny ICQ: 19617831 |
+----------------------------------------------+
--- /etc/init.d/knoppix-autoconfig 2003-06-06 16:48:00.000000000 +0200
+++ /knoppix-autoconfig 2003-07-10 12:20:10.000000000 +0200
@@ -521,6 +521,8 @@
if checkbootparam "nofirewire"; then
echo " ${BLUE}Skipping Firewire detection as requested on boot commandline.${NORMAL}"
else
+# This must be done before loading ohci1394 or it will fail
+insmod ieee1394 >/dev/null 2>&1
# We now try to load the firewire module
FOUNDFIREWIRE=""
insmod ohci1394 >/dev/null 2>&1 && FOUNDFIREWIRE="yes"
Reply to: