David Brownell wrote:

On Saturday 28 August 2004 12:49 am, you wrote:



/sys/class/usb1/async is empty.

/sys/class/usb1/periodic contains:
size = 32

/sys/class/usb1/registers before the "cat" command contains:
bus pci, device 0000:00:07.4
ohci_hcd version 2004 Feb 02
OHCI 1.0, with legacy support registers
control 0x6c3 RWE RWC HCFS=suspend CBSR=3



This shouldn't be suspended here, since the individual ports aren't suspended :



cmdstatus 0x00000 SOC=0
...
roothub.portstatus [0] 0x00000103 PPS PES CCS
roothub.portstatus [1] 0x00000103 PPS PES CCS
roothub.portstatus [2] 0x00000100 PPS
roothub.portstatus [3] 0x00000100 PPS



This suggests a chip bug to me; there were others in AMD-756 OHCI. Does it work if you disable CONFIG_PM?

- Dave




Disabling CONFIG_PM improved things slightly, I can now do 4 or 5 "cats" before a hang occurs. Here is the contents of /sys/class/usb_host/usb1/registers after the hang occurs without CONFIG_PM.

homer # cat /sys/class/usb_host/usb1/registers
bus pci, device 0000:00:07.4
ohci_hcd version 2004 Feb 02
OHCI 1.0, with legacy support registers
control 0x683 RWE RWC HCFS=operational CBSR=3
cmdstatus 0x00000 SOC=0
intrstatus 0x00000020 FNO
intrenable 0x8000000e MIE RD SF WDH
ed_controlhead 1730d000
ed_controlcurrent 1730d000
ed_bulkhead 1730d0c0
donehead 1730e180
hcca frame 0xabdd
fmintvl 0xbff82edf  FITFSMPS=0xaff8 FI=0x2edf
fmremaining 0x80000305  FRTFR=0x0305
periodicstart 0x2a2f
lsthresh 0x0628
roothub.a 00000204 POTPGT=0 NPS NDP=4
roothub.b 00000000 PPCM=0000 DR=0000
roothub.status 00008000 DRWE
roothub.portstatus [0] 0x00000103 PPS PES CCS
roothub.portstatus [1] 0x00000103 PPS PES CCS
roothub.portstatus [2] 0x00000100 PPS
roothub.portstatus [3] 0x00000100 PPS

Darren


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to