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: USB transaction timeout question



The obvious question is what timeout value are you using? And, what happens if you increase it for your device?

Regards,

David Ferguson
USB Software Team
Apple Computer

At 5:42 PM -0800 2/8/05, Steve Ehrenfried wrote:
I'm debugging a userland USB device driver for OS X
that follows the Mass Storage protocol (it's a
vendor-specific device for downloading content to
flash cartridges). There are 6 bulk interfaces on the
device and one interrupt interface. I get
interrmitent/sporadic USB tranction timeout errors
(kIOUSBTransactionTimeout) when trying to read the
status byte of the transaction using ReadPipeTO.
What's interesting is that the command we send it
seems to actually work (set an LED flashing). What
would be some of the reasons why this problem might
happen once in a while? Some kind of timing issue? A
threading issue? Is there a way to debug this short of
breaking out a (very expensive) USB analyzer?

I know this might be hard to answer in a general
sense, but am just wondering if this rings a bell with
anyone, and what are some of the things one might try
in fixing his problem. There's very little
documentation on kIOUSBTransactionTimeout. FWIW, we're
not getting this error in the Windows driver. What's
interesting is that if I hit a breakpoint in the
debugger upon getting the first error of this type, I
don't get errors on any of the other bulk interfaces.

Thanks,

Steve




__________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com


_______________________________________________ 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

_______________________________________________ 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: 
 >USB transaction timeout question (From: Steve Ehrenfried <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.