Dear All, I am working on PXA270 board. We have 2 usb ports enabled on that. By default port1 is connected to dedicated differential ports. For Host port 2 there are 2 options 1.Differntial Mode: Can be Connected to differential port. The pin USBC_P and the pin USBC_N output USBH_N<2> and USBH_P<2> signals can be set by UP2OCR[HXOE]=1 and UP2OCR[HXS]= 1. 2.Single Ended Mode: Connection via external USB tranceiver.
I used the first configuration mode to enable Host Port 2. For that I have enabled DPPDE,DMPDE,HXOE and HXS in UP2OCR register. But When I connected the Full speed device(3Com wifi) It reports that low speed device is connected and emmits read error messages as shown below. When low speed device is connected it reports Full speed device is connected and emmits read error messages. I only modified UP2OCR register, So is there any flags to be set in the Host Controll register. Please Clarify. Here is the description with Host register dumps (/sys/class/usb_host/usb_host1/registers) A.register details before inserting Wi-Fi: bus platform, device pxa27x-ohci PXA27x OHCI ohci_hcd version 2006 August 04 OHCI 1.0, NO legacy support registers control 0x4c3 RWE HCFS=suspend CBSR=3 cmdstatus 0x00000 SOC=0 intrstatus 0x00000004 SF intrenable 0x8000005a MIE RHSC UE RD WDH hcca frame 0x1e27 fmintvl 0xa7782edf FIT FSMPS=0xa778 FI=0x2edf fmremaining 0x80002de3 FRT FR=0x2de3 periodicstart 0x2a2f lsthresh 0x0628 hub poll timer off roothub.a 04001202 POTPGT=4 NOCP NPS NDP=2(2) roothub.b 00000000 PPCM=0000 DR=0000 roothub.status 00008000 DRWE roothub.portstatus [0] 0x00000100 PPS roothub.portstatus [1] 0x00000100 PPS B.register details immediately after inserting Wi-Fi: PXA27x OHCI ohci_hcd version 2006 August 04 OHCI 1.0, NO legacy support registers control 0x083 HCFS=operational CBSR=3 cmdstatus 0x00000 SOC=0 intrstatus 0x00000044 RHSC SF intrenable 0x8000001a MIE UE RD WDH ed_controlhead a75e1000 hcca frame 0x22e6 fmintvl 0x27782edf FSMPS=0x2778 FI=0x2edf fmremaining 0x00001099 FR=0x1099 periodicstart 0x2a2f lsthresh 0x0628 hub poll timer ON roothub.a 04001202 POTPGT=4 NOCP NPS NDP=2(2) roothub.b 00000000 PPCM=0000 DR=0000 roothub.status 00008000 DRWE roothub.portstatus [0] 0x00000100 PPS roothub.portstatus [1] 0x00100303 PRSC LSDA PPS PES CCS C.Here kernel emmits following messages : pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00010301 CSC LSDA PPS CCS hub 1-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: new low speed USB device using pxa27x-ohci and address 6 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: device descriptor read/64, error -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: device descriptor read/64, error -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: new low speed USB device using pxa27x-ohci and address 7 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: device descriptor read/64, error -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0in 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: device descriptor read/64, error -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: new low speed USB device using pxa27x-ohci and address 8 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0out 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0out 5ec20000 cc 5 --> status -62 usb 1-2: device not accepting address 8, error -62 pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS usb 1-2: new low speed USB device using pxa27x-ohci and address 9 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0out 5ec20000 cc 5 --> status -62 pxa27x-ohci pxa27x-ohci: urb c072a3c0 path 2 ep0out 5ec20000 cc 5 --> status -62 usb 1-2: device not accepting address 9, error -62 hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004 hub 1-0:1.0: hub_suspend pxa27x-ohci pxa27x-ohci: suspend root hub usb usb1: usb auto-suspend D.register details when usb is in suspended. bus platform, device pxa27x-ohci PXA27x OHCI ohci_hcd version 2006 August 04 OHCI 1.0, NO legacy support registers control 0x083 HCFS=operational CBSR=3 cmdstatus 0x00000 SOC=0 intrstatus 0x00000004 SF intrenable 0x8000005a MIE RHSC UE RD WDH ed_controlhead a75e1000 hcca frame 0x2ec6 fmintvl 0x27782edf FSMPS=0x2778 FI=0x2edf fmremaining 0x00002799 FR=0x2799 periodicstart 0x2a2f lsthresh 0x0628 hub poll timer ON roothub.a 04001202 POTPGT=4 NOCP NPS NDP=2(2) roothub.b 00000000 PPCM=0000 DR=0000 roothub.status 00008000 DRWE roothub.portstatus [0] 0x00000100 PPS roothub.portstatus [1] 0x00000301 LSDA PPS CCS Any immediate response would be appreciated. Thanks & regards Girish A J ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel