I'm trying to get USB working on my desktop now. It has an ALi
Aladdin V chipset; the host controller is OHCI.
Both with USB built into the kernel, and now as modules, I'm getting
an error about IRQ's. I have a suspicion the problem may be in the kernel
PCI code. The following is a snip from dmesg when I try to load usb-ohci:
PCI: No IRQ known for interrupt pin A of device 00:02.0. Please try using
pci=biosirq.
usb-ohci.c: USB OHCI at membase 0xc9844000, IRQ 0
usb-ohci.c: Acer Laboratories Inc. [ALi] M5237 USB
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: request interrupt 0 failed
usb.c: USB bus 1 deregistered
I tried passing LILO pci=biosirq; all that it did was make it stop
asking me to do that. What, IRQ 0? So I looked at /proc/pci:
[jhf@vulcan jhf]# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 4).
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
Bus 0, device 1, function 0:
PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 4).
Master Capable. Latency=32. Min Gnt=14.
Bus 0, device 2, function 0:
USB Controller: Acer Laboratories Inc. [ALi] M5237 USB (rev 3).
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe7001000 [0xe7001fff].
Bus 0, device 7, function 0:
ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge
[Aladdin IV] (rev 195).
Bus 0, device 14, function 0:
Ethernet controller: Lite-On Communications Inc LNE100TX (rev 32).
IRQ 10.
Master Capable. Latency=32.
I/O at 0xe000 [0xe0ff].
Non-prefetchable 32 bit memory at 0xe7000000 [0xe70000ff].
Bus 0, device 15, function 0:
IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev 193).
Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
I/O at 0xf000 [0xf00f].
Bus 0, device 18, function 0:
Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev
5).
IRQ 7.
Master Capable. Latency=32. Min Gnt=2.Max Lat=20.
I/O at 0xe400 [0xe41f].
Bus 0, device 18, function 1:
Input device controller: Creative Labs SB Live! (rev 5).
Master Capable. Latency=32.
I/O at 0xe800 [0xe807].
Bus 1, device 0, function 0:
VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 1).
IRQ 11.
Non-prefetchable 32 bit memory at 0xe0000000 [0xe1ffffff].
Prefetchable 32 bit memory at 0xe4000000 [0xe5ffffff].
I/O at 0xd000 [0xd0ff].
Compared with the /proc/pci on my laptop, not many of these devices
have interrupts listed. Admittedly, my desktop is starved for IRQs,
but there *are* enough if they are arranged correctly.
Is there a way to pass the IRQ to usb-ohci, be it module or built-in?
I've got a network card that works this way anyway, and, at least under
Windows, the USB controller is on IRQ 5.
Anybody see anything obviously wrong here?
BTW, how well does the linux-USB HID system deal with keyboards
and mice being plugged and unplugged? I'm thinking of going usb here
in lieu of a KVM switch.
"That's all I have to say about that." -- Forrest Gump
___________________________________________________________________
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]