Re: pxa270 - USB low speed devices - Maybe the USB cable is bad?

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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)

 * PESC (port enable status change) set ... but PES (port enable status)
   is NOT set, and that seems quite wrong.

Without looking at OHCI and hub specs all I can do is suggest you check
out those two issues.  An experiment you might try: wait until the root
hub is powered up before you connect the mouse, and compare the port
status bit changes then.  (It's not inconceivable that the hardware acts
differently in those two cases.)  Another experiment:  try both of those
two cases with OHCI running on a PC (i.e. non-Intel/VIA motherboard, or
at least using a non-VIA PCI or CardBus USB adapter).

- Dave


-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.