Gentoo Archives: gentoo-mips

From: "J. Scott Kasten" <jscottkasten@×××××.com>
To: gentoo-mips@l.g.o
Subject: [gentoo-mips] Firewire & USB 2.0 on O2 [Was LiveCD RC6]
Date: Fri, 09 Feb 2007 13:40:12
Message-Id: Pine.LNX.4.64.0702090715180.24163@bluefang.tetracon-eng.net
In Reply to: Re: [gentoo-mips] Question - Kumba LiveCD RC6 by Kumba
1 Well, I can report some successes here with the ADS Technologies combo
2 firewire and USB 2.0 PCI card in an SGI O2.
3
4 For the record, this card is on the shelf at most Circuit City stores for
5 about $69 + tax. You can also web order as I did at "thenerds.net" for
6 about $38 + 9.99 shipping + tax. They have 3 left. The vendor part
7 number is DLX-180. Search on that or on ADS Technologies. Although there
8 are other combo cards out there, I picked this one because I could see the
9 ALI logo on the main chip through the plastic bubble case at the store.
10
11 The card actually comes in two formats that I have seen so far for the
12 same manufacturer part number. The Circuit City in my locale has one with
13 3 external USB 2.0, 2 external Firewire, and one internal Firewire port.
14 The one that I received from "thenerds.net" has 2 external USB 2.0 and 2
15 external Firewire. Internally it has one Firewire and one USB 2.0.
16 All formats have 3 ports of each - they just differ on how many are
17 exposed externally verses internally.
18
19 I finally received the dual feature card and stuffed it in the O2 over the
20 weekend. When booted up, the kernel automagically modprobed the firewire
21 and USB stuff on it's own.
22
23 In regards to USB, I seem to have a thumb drive working perfectly at this
24 point. Here's the details:
25
26 * The kernel loaded the USB core, and loaded 3 instances of the USB OHCI
27 driver, and 1 instance of the EHCI driver. This didn't seem quite right
28 to me, but what the heck. Let's smoke test something anyway.
29
30 * I stuck my flash stick and voila - sdb and sdb1 magically instantiated.
31 I mounted, read some files under VFAT, and unmounted.
32
33 * I pulled the stick out, and ......ew... black screen, dead box.
34 Perhaps time to examine why there's so many USB drivers loaded?
35
36 * If I recall correctly, the EHCI driver is the right one for a USB 2.0
37 chipset. I tried turning off the USB OHCI driver in the various
38 /etc/*mod* files but the kernel was still loading multiple USB OHCI and
39 one EHCI. So, being quite determined, I moved usb_ohci.ko to where the
40 kernel loader couldn't find it and reran depmod. I rebooted, and
41 now I have USB core and USB EHCI only.
42
43 * SUCCESS! I was now able to plug, mount, read/write, unmount, and unplug
44 the thumb drive several times without any problems.
45
46 In regards to the firewire, as I had indicated, the firewire OHCI
47 modprobed fine and identified the host controller. I plugged a firewire
48 DVD-burnitall and received an attatchment event and some device table
49 info, but the process stopped there - no sr1 or other driver popped into
50 existance.
51
52 * I plugged and unplugged several times and received event notifications
53 and no crashes or other faults. I consider this promissing.
54
55 * It's been quite a while since I tried firewire on a linux box, but I
56 beleive there is more to the process to get this working that what I
57 have done thus far. I just need to go through some docs and make sure I
58 have all the required kernel pieces and userland pieces in place. The
59 suspicion is that it will "just work" when everything is set up.
60
61 TODO's. I would like to exercize the USB and firewire more thorougly.
62
63 * The DVD-burnitall drive I have has both firewire and USB 2.0 jacks. It
64 would be a really good test to plug in the USB side and show that we can
65 read and burn CD/DVD. Honestly though, I'm just tickled to death that
66 my thumb drives seem to function so that I can move files back and forth
67 between work and home easily.
68
69 * After disk burning, I would like to try USB bluetooth. I have all the
70 kernel side modules built. It would be another good exercise to show
71 that a bluetooth adaptor works. From there we got phone and pda sync,
72 BT networking, etc. It would be educational to see just how far one can
73 get with all that.
74
75 * Firewire testing. If I can get firewire support installed correctly, it
76 would be neat to see just how far we can push that with DVD burning,
77 external disks, or DV downloads.
78
79 I'll try and get my kernel config posted over at Stuart's hardware page
80 today.
81
82 Happy hacking guys,
83
84 -S-
85
86 On Fri, 9 Feb 2007, Kumba wrote:
87
88 >> [3] Has anyone tried Firewire in the O2 PCI slot? I have an ADS
89 >> Technologies combo Firewire/USB 2.0 PCI card comming soon. This uses an
90 >> ALI chipset. I pulled the USB config from the RC6 CD kernel. I suspect
91 >> it won't be much to make the USB portion work. It will be interesting to
92 >> see about the firewire. Fortunately Firewire chipsets are more
93 >> standardized than USB. I'll report back when I know something here.
94 >
95 > I haven't, but given that USB2 sometimes works better than the onboard scsi
96 > (w/ flash drives), it might work. Give it a shot with some common firewire
97 > device that hopefully isn't too complicated, and let us know what happens.
98 >
99 > --Kumba
100 --
101 gentoo-mips@g.o mailing list