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: Recovering from -6910 error



At 2:17 PM +0530 3/26/02, Prashanth Shenoy wrote:
Hi all,
       Can anybody please tell me, how do I recover from -6910 error in my
class driver ?

TIA
Prashanth


How you recover depends upon the pipe that produced the error. If this occurs on the default pipe (endpoint 0), then the pipe will never stall, and the USB software will re-enable it automatically on an error. You won't need to do anything, just issue your next request.


If this "PID Error" (that is what -6910 indicates) occurs on another pipe, you will usually need to use USBClearPipeStallByReference. Since this call resets the host's data toggle for this endpoint, you will usually need to send a CLEAR_FEATURE (ENDPOINT_STALL) device request to the endpoint as well. Be on the lookout -- some poorly written firmware in device will fail to reset it's data toggle if the endpoint isn't actually stalled in the device.

BTW, error -6910 should be fairly rare, if it is occurring frequently, then you likely have a hardware signal quality issue -- HW folks should be consulted.

David Ferguson
USB Software Team
Apple Computer, Inc.


-- _______________________________________________ usb mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb Do not post admin requests to the list. They will be ignored.

References: 
 >Recovering from -6910 error (From: Prashanth Shenoy <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.