Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ReadPipeAsync revisited.




Hi David,

The return value captured is 0xe00002e8. I think Fernando was correct in that the bus is stalled (since I now think activity has stopped). I still do not know the reason, but it only seems to happen when the device is plugged into an external usb hub, and even then, the device behaves normally most of the time, but then suddenly stops. I have not given it much thought for the last few weeks, and had believed (in part because of the way our code is designed) that the device was still sending data. However, I now think this is not the case as I mentioned above. I would have to do a few more tests to verify this, and this might take a week or so (my wife and I just had our first child 5 days ago ... things are a little hectic! :-) )

This is probably not an issue of Apple's (since everything works when plugged into the controller), but any insight from you guys would defintely be helpful. For now, I am telling people not to use a hub! :-D

As usual, thanks for all the help!

Robert.

Some other information:

1) Latest OS, G5.

2)	1152 bytes requested.

3) Interface #0 - Vendor-specific
Alternate Setting 0
Number of Endpoints 1
Interface Class: 255 (Vendor-specific)
Interface Subclass; 0 (Vendor-specific)
Interface Protocol: 0
Endpoint 0x81 - Bulk Input
Address: 0x81 (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 32
Polling Interval: 1 ms



4) Here is a selection of the logs where I believe the error is seen:

1770.504 [6] AppleUSBHub[0x4258800] (0x4b100000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1770.643 [6] AppleUSBOHCI[0x413b800] Time to check for root hub inactivity on bus 43
1771.057 [6] AppleUSBHub[0x4258600]::GetPortStatus for port 1, status: 0x 303, change: 0x 0 - returning kIOReturnSuccess
1771.057 [6] AppleUSBHub[0x4258600] (0x4b110000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1772.643 [6] AppleUSBEHCI[0x4040000] Time to check for root hub inactivity on bus 75
1772.643 [6] AppleUSBEHCI [0x4040000]::RootHubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1772.643 [6] AppleUSBEHCI [0x4040000]::RootHubAreAllPortsDisconnectedOrSuspended - port 1 CONNECTED, NOT ENABLED and not suspended - we used to allow this but no more
1772.643 [6] AppleUSBEHCI::RHAPDOS: USBCMD(0x80b31) USBSTS(0xe000) USBIntr(0x1f) PortSC(0x301005 0x301000 0x301005 0x303400 0x301000)
1773.532 [6] AppleUSBHub[0x48e1e00]::GetPortStatus for port 1, status: 0x 103, change: 0x 0 - returning kIOReturnSuccess
1773.532 [6] AppleUSBHub[0x48e1e00] (0x4b300000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1776.505 [6] AppleUSBHub[0x4258800]::GetPortStatus for port 1, status: 0x 103, change: 0x 0 - returning kIOReturnSuccess
1776.505 [6] AppleUSBHub[0x4258800] (0x4b100000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1777.058 [6] AppleUSBHub[0x4258600]::GetPortStatus for port 1, status: 0x 303, change: 0x 0 - returning kIOReturnSuccess
1777.058 [6] AppleUSBHub[0x4258600] (0x4b110000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1777.644 [6] AppleUSBEHCI[0x4040000] Time to check for root hub inactivity on bus 75
1777.644 [6] AppleUSBEHCI [0x4040000]::RootHubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1777.644 [6] AppleUSBEHCI [0x4040000]::RootHubAreAllPortsDisconnectedOrSuspended - port 1 CONNECTED, NOT ENABLED and not suspended - we used to allow this but no more
1777.644 [6] AppleUSBEHCI::RHAPDOS: USBCMD(0x80b31) USBSTS(0xe000) USBIntr(0x1f) PortSC(0x301005 0x301000 0x301005 0x303400 0x301000)
1777.750 [4] AppleUSBEHCI[0x4040000]::EHCIUIMDoDoneQueueProcessing - TD (0x40c928c) - got transferStatus 0x8 with flags (0x82a08d52)
1777.750 [4] AppleUSBEHCI[0x4040000]::EHCIUIMDoDoneQueueProcessing - got errror 0xe00002e8
1778.644 [5] AppleUSBEHCI[0x4040000]::CheckEDListForTimeouts - pED (0x4256b00) - mismatched logical and physical - TD (L:0x4c9a214 - P: 0x2c84280) will be scavenged later
1778.644 [5] IOUSBControllerListElement[0x4256b00]::print - _sharedPhysical[0x118180]
1778.644 [5] IOUSBControllerListElement::print - _sharedLogical [0x522e5180]
1778.644 [5] IOUSBControllerListElement::print - _logicalNext[0x4252580]
1778.644 [5] AppleEHCIQueueHead::print - shared.nextQH[0x1180c2]
1778.644 [5] AppleEHCIQueueHead::print - shared.flags[0x200109]
1778.644 [5] AppleEHCIQueueHead::print - shared.splitFlags[0x40830000]
1778.644 [5] AppleEHCIQueueHead::print - shared.CurrqTDPtr[0x908340]
1778.644 [5] AppleEHCIQueueHead::print - shared.NextqTDPtr[0x2c84280]
1778.644 [5] AppleEHCIQueueHead::print - shared.AltqTDPtr[0x2c84280]
1778.644 [5] AppleEHCIQueueHead::print - shared.qTDFlags[0x82a08d52]
1778.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[0][0x4c80438]
1778.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[1][0x208d000]
1778.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[2][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[3][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[4][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.extBuffPtr[0][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.extBuffPtr[1][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.extBuffPtr[2][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.extBuffPtr[3][0]
1778.644 [5] AppleEHCIQueueHead::print - shared.extBuffPtr[4][0]
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: ------pTD at 0x4c9a214
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.nextTD: 0x908480
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.altTD: 0x908480
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.flags: 0x4808d80
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.BuffPtr0: 0x2378724
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pEndpt: 0x4256b00
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pPhysical: 0x2c84280
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pLogicalNext: 0x40c9354
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: logicalBuffer: 0x4d16780
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: lastTDofTransaction: TRUE
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: ------pTD at 0x40c9354
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.nextTD: 0x34a4400
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.altTD: 0x34a4400
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.flags: 0x4808d80
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: shared.BuffPtr0: 0x356cbf0
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pEndpt: 0x4256b00
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pPhysical: 0x908480
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: pLogicalNext: 0x4cf4304
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: logicalBuffer: 0x4bb3480
1778.644 [5] AppleUSBEHCI[0x4040000]::printTD: lastTDofTransaction: TRUE
1779.533 [6] AppleUSBHub[0x48e1e00]::GetPortStatus for port 1, status: 0x 103, change: 0x 0 - returning kIOReturnSuccess
1779.533 [6] AppleUSBHub[0x48e1e00] (0x4b300000)::HubAreAllPortsDisconnectedOrSuspended - port 1 enabled and not suspended
1779.644 [5] AppleUSBEHCI[0x4040000]::CheckEDListForTimeouts - pED (0x4256b00) - mismatched logical and physical - TD (L:0x4c9a214 - P: 0x2c84280) will be scavenged later
1779.644 [5] IOUSBControllerListElement[0x4256b00]::print - _sharedPhysical[0x118180]
1779.644 [5] IOUSBControllerListElement::print - _sharedLogical [0x522e5180]
1779.644 [5] IOUSBControllerListElement::print - _logicalNext[0x4252580]
1779.644 [5] AppleEHCIQueueHead::print - shared.nextQH[0x1180c2]
1779.644 [5] AppleEHCIQueueHead::print - shared.flags[0x200109]
1779.644 [5] AppleEHCIQueueHead::print - shared.splitFlags[0x40830000]
1779.644 [5] AppleEHCIQueueHead::print - shared.CurrqTDPtr[0x908340]
1779.644 [5] AppleEHCIQueueHead::print - shared.NextqTDPtr[0x2c84280]
1779.644 [5] AppleEHCIQueueHead::print - shared.AltqTDPtr[0x2c84280]
1779.644 [5] AppleEHCIQueueHead::print - shared.qTDFlags[0x82a08d52]
1779.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[0][0x4c80438]
1779.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[1][0x208d000]
1779.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[2][0]
1779.644 [5] AppleEHCIQueueHead::print - shared.BuffPtr[3][0]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >ReadPipeAsync revisited. (From: Robert Bell <email@hidden>)
 >Re: ReadPipeAsync revisited. (From: Fernando Urbina <email@hidden>)
 >Re: ReadPipeAsync revisited. (From: Robert Bell <email@hidden>)
 >Re: ReadPipeAsync revisited. (From: David Ferguson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.