> From: "Subhash Reddy Peddamallu" <[EMAIL PROTECTED]>
> Date: Fri, 19 Aug 2005 13:48:12 -0400 (EDT)
> 
> I recently implemented a platform bus glue for on-chip EHCI host
> controller (ARCs EHCI) which has roothub with built in TT. This uses most
> of the existing EHCI driver code. When I built kernel with this driver
> included, it loads without any major problems (please see the /proc/kmsg
> below).
> 
> ...
> <7>ehci_hcd <NULL>: ehci_start hcs_params 0x10011 dbg=0 ind cc=0 pcc=0
> ordered ports=1
> <7>ehci_hcd <NULL>: ehci_start hcc_params 0006 thresh 0 uframes
> 256/512/1024 park
> <7>ehci_hcd <NULL>: reset command 080b02 park=3 ithresh=8 period=1024
> Reset HALT
> ...

Well there's the major problem that you've not set up the
driver model infrastructure.  See that NULL?  You should be
able to find the controller in /sys/... before the HCD is
loaded, for example.


> <7>hub.c: port 1, portstatus 103, change 10, 12 Mb/s
> <6>hub.c: new USB device hsx-1, assigned address 2
> <6>eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> <4>usb_control/bulk_msg: timeout

And hey, it looks like you're using a 2.4 kernel with 2.6
host controller code.  That's surely part of the issue.

Rule of thumb:  Whoever is supplying your 2.4 kernel is
the one to support your USB questions.  If you want any
level of community support, use a 2.6 kernel.  This is
no less true of USB than with ARM.

> 
> My question is: When I connected a USB flash disc, cat
> /proc/bus/usb/devices is not showing it.

That would be that device at "address 2"?  The one
that doesn't look like it enumerated at all?  You'd
need to debug the enumeration code ...


> I'm using 2.4.25 kernel on ARM machine.
> 
> I am wondering what might be the problem?
> Can anyone please explain where to look to solve this problem?
> I'm not experienced USB driver programmer, so pointers to source code or
> any resources is greatly appreciated!

First problem, using a 2.4 kernel (on ARM).

Other than that, you'll just have to dive into that
particular version of the EHCI code.  You'd find
that the 2.6 version is a lot more robust...

- Dave



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to