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.