Follow-Up to my problem:

> You said there was no device connected -- so the root hub
> had no business trying to assign any addresses.  It must
> have lied to the hub driver about port status.  If there's
> no device there, of course any attempt to talk to it will
> time out ...

I solved my problem, it was a bunch of errors:

- I thought that an USB address to the Virtual Root Hub was assigned (but
not accepted). I was wrong.

- Because of some error in our CPLD the USB chip sl811 did not get power.

- the reg_test-code did not detect this. The SL811 chip has two
memory-mapped registers, one the index and one the data register. To access
one of it's internal 256 bytes (16 of them control, 240 data) you have to
read the index first, then the data. The index read made some bus buffer
remember the index, and the subsequent read was reading from the buffer.

- because of "I cannot read the chip" the driver was thinking that new USB
devices where there which the driver tried to configure and which did not
work out as expected.



As part of the solution, I also switched from hc_sl811* to sl811.* on my
embedded platform with good success. I sent a patch to Henry Nestler, the
current maintainer of sl811.c, for the reg_test fix.

-- 
Try Linux 2.6 from BitKeeper for PXA2x0 CPUs at
http://www.mn-logistik.de/unsupported/linux-2.6/



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to