I forgot to mention that I tried playing around with
the timeout value. It was 2 seconds, and I changed it
to 5 seconds, but it didn't seem to matter. Even tried
60 seconds from what I can recall. I turned on level 7
logging in USB Prober, and when the error occurs, this
is a sample of what I get:
1201.575 [2] (0x10d4bbd0)Found a transaction past the
completion deadline, timing out! (88f680 - 88e2f5)
1201.575 [1]
+AppleUSBOHCI[0x1d69800]::ReturnOneTransaction(0x10d4bbd0,
0x10b70ea0, e0004051)
1201.576 [7] BulkPacketHandler: transaction complete
status=0xe0004051 bufferSizeRemaining = 13
1201.576 [7]
IOUSBInterfaceUserClient[0x23e8f00]::ReqComplete, req
= 0000000d, remaining = 0000000d
1201.576 [2]
AppleUSBOHCI(0x1d69800)::ReturnOneTransaction - found
the end of the transaction(0x10d4bbd0)!
1201.576 [2]
-AppleUSBOHCI[0x1d69800]::ReturnOneTransaction - done,
new queue head (L0x10d4b420, P0x2084250b) V0xb258420
1201.576 [2] (0x10d4b180)Found a transaction past the
completion deadline, timing out! (88f680 - 88e2f5)
1201.576 [1]
+AppleUSBOHCI[0x1d69800]::ReturnOneTransaction(0x10d4b180,
0x10b70e60, e0004051)
1201.577 [7] BulkPacketHandler: transaction complete
status=0xe0004051 bufferSizeRemaining = 13
1201.577 [7]
IOUSBInterfaceUserClient[0x23e8e00]::ReqComplete, req
= 0000000d, remaining = 0000000d
1201.578 [2]
AppleUSBOHCI(0x1d69800)::ReturnOneTransaction - found
the end of the transaction(0x10d4b180)!
1201.578 [2]
-AppleUSBOHCI[0x1d69800]::ReturnOneTransaction - done,
new queue head (L0x10d4b660, P0x6086250b) V0xb258660
===
Any ideas?
Thanks,
Steve
--- David Ferguson <email@hidden> wrote:
> 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
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_______________________________________________
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