On Mon, 26 Mar 2007, David Brownell wrote: > On Monday 26 March 2007 2:11 am, Girish wrote: > > > pxa27x-ohci: created debug files > > pxa27x-ohci pxa27x-ohci: resetting from state 'reset', control = 0x0 > > pxa27x-ohci pxa27x-ohci: OHCI controller state > > pxa27x-ohci pxa27x-ohci: OHCI 1.0, NO legacy support registers > > pxa27x-ohci pxa27x-ohci: control 0x083 HCFS=operational CBSR=3 > > pxa27x-ohci pxa27x-ohci: cmdstatus 0x00000 SOC=0 > > pxa27x-ohci pxa27x-ohci: intrstatus 0x00000004 SF > > pxa27x-ohci pxa27x-ohci: intrenable 0x8000005a MIE RHSC UE RD WDH > > pxa27x-ohci pxa27x-ohci: hcca frame #0009 > > pxa27x-ohci pxa27x-ohci: roothub.a 04001202 POTPGT=4 NOCP NPS NDP=2(2) > > pxa27x-ohci pxa27x-ohci: roothub.b 00000000 PPCM=0000 DR=0000 > > pxa27x-ohci pxa27x-ohci: roothub.status 00008000 DRWE > > pxa27x-ohci pxa27x-ohci: roothub.portstatus [0] 0x00010301 CSC LSDA PPS CCS > > Notice those bits ... > > > pxa27x-ohci pxa27x-ohci: roothub.portstatus [1] 0x00000100 PPS > > usb usb1: default language 0x0409 > > usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 > > usb usb1: Product: PXA27x OHCI > > usb usb1: Manufacturer: Linux 2.6.20 ohci_hcd > > usb usb1: SerialNumber: pxa27x > > ... > > pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00010301 CSC > > LSDA PPS CCS > > hub 1-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s > > bound device 'pxa27x-ohci' to driver 'pxa27x-ohci' > > platform: Bound Device pxa27x-ohci to Driver pxa27x-ohci > > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301 > > pxa27x-ohci pxa27x-ohci: GetStatus roothub.portstatus [0] = 0x00120301 PRSC > > PESC LSDA PPS CCS > > ... versus those bits. > > * CSC (connect status change, the 0x0001) cleared, khubd does this > > * PRSC (port reset status change) set ... but PRS (port reset status) > was never set, that looks a trifle odd (but I'd have to check specs)
khubd also sets PRS, after debouncing. > > * PESC (port enable status change) set ... but PES (port enable status) > is NOT set, and that seems quite wrong. Agreed, this one is what causes the problem. After the reset finishes the port isn't enabled. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel