Bartosz Taudul wrote:

My problem is that when ehci_hcd module is loaded, 30-40% of processor time is spent in hard interrupt handlers ('hi' field in top). I've got no usb 2.0 compliant devices connected.

That's odd. How are you getting "IRQ # 193" though? Looks to me as if strange IRQ set up could be part of your problem.

Does this happen if you don't use ACPI to set up IRQs, or if
you disable use of the IO-APIC?  Have you told your BIOS to
disable all "legacy" support for USB devices?  (BIOS drivers
for USB controllers have been known to cause bugs.  You want
it to just set up the chip, not actually use it.)


[19:19 [EMAIL PROTECTED]:~]% cat /proc/interrupts CPU0 0: 3244132 XT-PIC timer
...
193: 119760594 IO-APIC-level ehci_hcd
...


System is running for one hour and ehci_hcd has been loaded for 10
minutes only. It's clear that amount of interrupts is way beyond normal.

It certainly is. What does /sys/class/usb_host/usb3/registers show?

(Actually, you should probably load EHCI _first_ so it becomes "usb1".
I don't think that'd affect this problem, but loading it later means
all full/low speed devices you may have attached will enumerate an
extra time.)


Furthermore, sometimes (but very rarely) my printer is not detected
until ehci_hcd is loaded. Normally it works fine with only ohci_hcd
module loaded.

That would be a symptom of having previously loaded EHCI, and not shutting it down correctly. I have no idea how that could happen; but if EHCI is configured ("CF" flag set, it gets first whack at all new devices. That might be explained by BIOS bugs; the Linux EHCI driver turns off that CF bit when it shuts down.

- Dave






-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to