On Sat, 9 Sep 2006, mrkiko wrote:

> Hi all! I wrote some days ago speaking about a problem with my new PCI USB 
> card: I sould thank Alan Stern which replied to me promptly and 
> intelligently. 
> I've made what he said: so I recompiled my kernel modules with debug turned 
> on, 
> obtaining the following from dmesg (I don't want to spam, so i report only 
> the 
> essential parts)
> ................................
> PCI: Enabling device 0000:02:0a.2 (0014 -> 0016)
> ACPI: PCI Interrupt 0000:02:0a.2[C] -> GSI 20 (level, low) -> IRQ 18
> ehci_hcd 0000:02:0a.2: EHCI Host Controller
> drivers/usb/core/inode.c: creating file '002'
> ehci_hcd 0000:02:0a.2: new USB bus registered, assigned bus number 2

> The problem is present on the following pci devices: 02:0a.0, 02:0a.2 and 
> 02:0a.1, which are handled by ehci.

Not so.  The log shows that 02:0a.2 is handled by ehci-hcd, but 02:0a.0
and 02:0a.1 aren't handled at all.  That's your problem.

> Now I will report the output of the kernel when i plug in the SanDisk USB 
> flash 
> device which is the only that works....

That's becuase the flash device runs at high speed, so it uses EHCI.
Your other devices run at full speed or low speed, so they don't use EHCI.

> Now I will connect a mouse... for example, but this happens with any 
> peripheral different than the USB flash I've connected.
> 
> I get the following mewssages:
> hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0004
> ehci_hcd 0000:02:0a.2: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT
> hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
> hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:02:0a.2: port 2 low speed --> companion
> ehci_hcd 0000:02:0a.2: GetStatus port 2 status 003002 POWER OWNER sig=se0 CSC
> 
> Ok: from now the USB bus will be unusable ... and I should restart the 
> computer to get these ports working again.

No, your bus is not unusable.  If you unplug the mouse and plug in the
flash drive again, doesn't it still work?

> What should I do? Is this an 
> hardware or a software problem?

It's hard to say.  Probably those devices need to use the ohci-hcd driver.  
I can't tell from the information you have posted why that driver isn't
getting loaded.  You could try loading it by hand.

> Is the problem that the hub is not able to handle 1.1 devices? E deduce it 
> from 
> the line:
> ehci_hcd 0000:02:0a.2: port 2 low speed --> companion

EHCI does not handle USB 1.1 devices.  It passes them to a companion
controller which does handle them.  In your case the companion controllers
are 02:0a.0 and 02:0a.1.  Since neither of them has a driver loaded, the
devices can't be used.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to