Problem related with USB OHCI

Hi Friends, I am working on USB OHCI 1.1. driver on pxa27x. The kernel i am using is 2.6.10 that come up with ohci-pxa2x7x code.

I am using only port 1. The problem arise when driver code gives reset to port 1 (BY SETTING 1 TO UHCRHPS1[PRS]). This reset in turn should enable the port UHCRHPS1[PES](make it 1) , but its not doing that and it also showing UHCRHPS1[PRSC]=1 (port reset complete), UHCRHPS1[CSC]=1 (connect status change), UHCRHPS1[PESC]=1 (port enable status change).

The following is the error that i am facing.

"hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?"

I am using per port power mode. Its also not showing overcurrent condition for port 1. The following are the status of registers while this error occured.

UHCREV = 10 UHCHCON = 83 UHCCOMS = 0 UHCINTS = 44 UHCINTE = 8000001a UHCINTD = 8000001a UHCHCCA = a03e5000 UHCPCED = 0 UHCCHED = 0 UHCCCED = 0 UHCBHED = 0 UHCBCED = 0 UHCDHEAD = 0 UHCFMI = 27782edf UHCFMR = 2dc UHCFMN = 1656 UHCPERS = 2a2f UHCLST = 628 UHCRHDA = 4000902 UHCRHDB = e0000 UHCRHS = 8000 UHCRHPS1 = 130301 UHCRHPS2 = 8 UHCRHPS3 = 8 /*--non ohci registers*/ UHCSTAT = 0 UHCHR = 44 UHCHIE = 2080 UHCHIT = 0

If anybody might come across such problme or anybody has some idea about it, then please share your idea.

regards, ankit

Reply to
Ankit
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.